SOCRadarAmeer Owda
TeamCity flaw lets attackers hijack build agents and steal secrets
Part of the CVE-2026-136858 story · since 3 Dec
- Thu 3 Dec, 03:31 UTC. SecurityOnline, first report. JetBrains fixes 12 flaws, including TeamCity login bypass.
- Thu 3 Dec, 08:00 UTC. The Hacker News, its first report on the story. JetBrains fixes critical TeamCity flaw allowing build agent hijacks.
- Fri 4 Dec, 11:00 UTC. SecurityWeek, its first report on the story. WatchTowr Reports Exploitation of JetBrains TeamCity Flaw.
- Fri 4 Dec, 11:30 UTC. SOCRadar, its first report on the story. TeamCity flaw lets attackers hijack build agents and steal secrets. This article, 4th of 4.
JetBrains has patched CVE-2026-136858, a critical authentication bypass in TeamCity On-Premises that allows unauthenticated attackers to impersonate build agents and steal the secrets their builds carry. The flaw is a user-controlled-key authorization bypass (CWE-639) that requires only HTTP(S) access to the server to pose as a registered agent, with no TeamCity account needed.
The vulnerability enables an attacker to hijack an active agent slot, divert jobs away from the legitimate agent, and access deployment keys, cloud tokens, registry passwords and similar credentials. Security researcher Jiawei Guo reported the issue privately on 24 November 2026, and JetBrains disclosed it on 2 December 2026. The direct result is agent impersonation rather than code execution on the server.
Affected are TeamCity On-Premises deployments up to certain fixed versions. Specifically vulnerable are 2026.1.x before 2026.1.7 and 2026.2.x before 2026.2.3; older releases are vulnerable and should be upgraded to 2026.3 or apply the security patch plugin (for 2021.2 and later). For TeamCity Cloud, JetBrains states the service is fixed. As an interim measure for environments unable to upgrade immediately, a security patch plugin exists that fixes only CVE-2026-136858 but is not a replacement for a full upgrade.
WatchTowr reported “already observing attempted exploitation,” though JetBrains had said there was no evidence of active exploitation at disclosure; as of 4 December 2026 no confirmed attacks or victims had been publicly reported.]]
How the story developed
4 articles from 4 outlets since 3 Dec. Still developing; the latest report was 20 hours ago. This was the 4th report, 1 day after the first.
- Thu 3 Dec, 03:31 UTC. SecurityOnline, first report. JetBrains fixes 12 flaws, including TeamCity login bypass.
- Thu 3 Dec, 08:00 UTC. The Hacker News, its first report on the story. JetBrains fixes critical TeamCity flaw allowing build agent hijacks.
- Fri 4 Dec, 11:00 UTC. SecurityWeek, its first report on the story. WatchTowr Reports Exploitation of JetBrains TeamCity Flaw.
- Fri 4 Dec, 11:30 UTC. SOCRadar, its first report on the story. TeamCity flaw lets attackers hijack build agents and steal secrets. This article, 4th of 4.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 4 articles as a listHide the list
- Thu 3 DecDay 02
- JetBrains fixes 12 flaws, including TeamCity login bypass03:31 · SecurityOnline · First report
- JetBrains fixes critical TeamCity flaw allowing build agent hijacks08:00 · The Hacker News
- Fri 4 DecDay 12
- WatchTowr Reports Exploitation of JetBrains TeamCity Flaw11:00 · SecurityWeek
- TeamCity flaw lets attackers hijack build agents and steal secrets11:30 · SOCRadar · This article, 4th of 4