Attackers exploit JetBrains TeamCity flaw CVE-2026-136858 to hijack build agents
Original title: Hackers Actively Exploit Critical JetBrains TeamCity Flaw to Hijack Build Agents
watchTowr saw decoy attempts on December 3; fixed On-Premises builds are 2026.1.7, 2026.2.3, and 2026.3.
JetBrains disclosed CVE-2026-136858 on December 2 after Jiawei Guo reported it privately on November 24. An attacker without an account who can reach an unpatched TeamCity On-Premises server can impersonate a trusted build agent, take its jobs, expose tokens, and alter artifacts. TeamCity Cloud was already corrected, with no evidence of exploitation there. A security patch plugin covers version 2021.2 or later when an immediate upgrade is not possible.
Unconfirmed: Decoy attempts do not show that any production environment was compromised, and JetBrains had seen no exploitation at disclosure.
- All On-Premises versions released before the fixes are affected.
- Cloud customers need no action; JetBrains found no cloud exploitation.
- On 2026.2.2 or later, verify that the patch plugin is installed.
- Search teamcity-server.log for an existing agent with a different token.
- A non-empty mismatched token suggests an attempt but does not prove success.
Impact: Impersonate trusted agents, steal job credentials, and alter artifacts
| Product | Affected | Fixed in |
|---|---|---|
| JetBrains TeamCity On-Premises | all versions released before the fixes | 2026.1.7, 2026.2.3, or 2026.3 |
| JetBrains TeamCity Cloud | — | — |
- 1.Upgrade to TeamCity 2026.1.7, 2026.2.3, or 2026.3.
- 2.If you cannot upgrade, install the JetBrains security patch plugin on version 2021.2 or later.
- 3.Review agent logs for token mismatches and rotate credentials for jobs that may have been affected.
- 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
3 min read at cybersecuritynews.com
Attackers began targeting a critical vulnerability in JetBrains TeamCity On-Premises just one day after its public disclosure. The issue, tracked as CVE-2026-136858, allows an attacker without a TeamCity account to impersonate an authorized build agent. Security firm watchTowr detected exploitation attempts on December 3, 2026, through its Attacker Eye network of decoy systems.
By Guru Baran · cybersecuritynews.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.