TeamCity flaw lets attackers impersonate build agents (CVE-2026-136858)
Original title: Critical TeamCity flaw lets unauthenticated attackers pose as build agents, grab secrets (CVE-2026-136858)
JetBrains reports no known exploitation and says TeamCity Cloud was patched with no evidence of abuse.
JetBrains fixed a critical authentication-bypass flaw, CVE-2026-136858, in TeamCity On-Premises. Unauthenticated attackers who can reach the server over HTTP(S) can impersonate a legitimate build agent, intercept builds, obtain secrets passed to it, and falsify results or artifacts. Researcher Jiawei Guo reported it privately on November 24, 2026. JetBrains says it knows of no active exploitation, has fixed TeamCity Cloud, and advises on-premises updates or a patch plugin.
Unconfirmed: JetBrains says it is not aware of active exploitation and found no evidence of TeamCity Cloud abuse.
- Fixed on-premises releases are 2026.1.7, 2026.2.3 and 2026.3.
- A security patch plugin supports TeamCity 2021.2 and later and fixes only this flaw.
- JetBrains suggests limiting /app/agents and its subpaths to expected agent addresses.
- A non-empty mismatched authorization token in teamcity-server.log may indicate a takeover attempt.
Impact: Impersonate build agents, steal secrets and tamper with artifacts
| Product | Affected | Fixed in |
|---|---|---|
| JetBrains TeamCity On-Premises | — | 2026.1.7, 2026.2.3, or 2026.3 |
| JetBrains TeamCity Cloud | — | Corrective measures applied |
- 1.Update TeamCity On-Premises to 2026.1.7, 2026.2.3, or 2026.3.
- 2.If an immediate restart is impossible, install the security patch plugin.
- 3.Restrict /app/agents and subpaths to expected build-agent addresses.
- CVEs
- CVE-2026-136858
- Vendors
- JetBrains
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
3 min read at helpnetsecurity.com
JetBrains has fixed a critical authentication bypass vulnerability (CVE-2026-136858) in TeamCity On-Premises that allows unauthenticated attackers to impersonate legitimate build agents. Successful exploitation could allow them to intercept builds, access the secrets passed to them, and tamper with build results and artifacts, the company warned on Wednesday.
By Zeljka Zorz · helpnetsecurity.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.