Critical TeamCity flaw can hijack build agents without login (CVE-2026-136858)
Original title: Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication
All on-premises versions are affected; fixes are 2026.1.7, 2026.2.3 and 2026.3, with no active exploitation reported.
An unauthenticated attacker who can reach a TeamCity server over HTTP(S) can impersonate an authorized build agent, intercept builds, read secrets and publish tampered artifacts. Downstream jobs that consume those artifacts could run attacker-supplied code. TeamCity Cloud needs no action. A security patch plugin is available for TeamCity 2021.2 or later when a server restart is not possible.
- The flaw has a CVSS score of 9.1 and needs no TeamCity user account.
- Researcher Jiawei Guo reported the issue on November 24, 2026.
- Reverse proxies should allow /app/agents only from expected agent addresses.
- JetBrains says it has no evidence of active exploitation.
Impact: Impersonate build agents, steal secrets and tamper artifacts
| Product | Affected | Fixed in |
|---|---|---|
| JetBrains TeamCity On-Premises | All TeamCity On-Premises versions | 2026.1.7, 2026.2.3, and 2026.3 |
- 1.Update on-premises servers to 2026.1.7, 2026.2.3, or 2026.3.
- 2.If a restart is impossible, install the security patch plugin on TeamCity 2021.2 or later.
- 3.Allow /app/agents only from expected build-agent and cloud-agent addresses.
- CVEs
- CVE-2026-136858
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-136858 | Authentication bypass in JetBrains TeamCity agent registration | 9.1 | — |
From the original article
2 min read at thehackernews.com
JetBrains on Wednesday disclosed a critical security flaw impacting on-premises versions of TeamCity that could be exploited to bypass authentication and take over authorized build agents. The vulnerability, tracked as CVE-2026-136858, carries a CVSS score of 9. 1 out of a maximum of 10.
thehackernews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.