SecurityWeek reports that JetBrains disclosed the TeamCity On-Premises authentication bypass CVE-2026-136858 (CVSS 9.1) on 2 December, which lets an unauthenticated attacker impersonate an existing build agent, intercept builds assigned to it and obtain the credentials and secrets they carry, affecting all on-premises versions [1]. Security firm WatchTowr says the flaw was reverse engineered and reproduced about a day after disclosure and exploited against its Attacker Eye honeypot network, with attackers trying to guess the ID numbers of existing build agents [1]. What to do now: TeamCity On-Premises administrators should update to 2026.1.7, 2026.2.3 or 2026.3 as soon as possible (or install the JetBrains security patch plugin if they cannot update), prioritise internet-facing servers, and restrict requests to /app/agents and its subpaths to trusted IP addresses [1].
TeamCity On-Premises build agent authentication bypass CVE-2026-136858 exploited one day after disclosure
2 min readLast updated
30-second summary
What happened
Who is affected
Organisations running JetBrains TeamCity On-Premises; TeamCity Cloud instances have been updated automatically [1].
What to do nowOur advice
- Update TeamCity On-Premises to 2026.1.7, 2026.2.3 or 2026.3; if version 2021.2 or later cannot be updated, install the JetBrains security patch plugin .
- Disclosed
- Dec 2, 2026
- Published
- Dec 4, 2026
- Last updated
- Dec 4, 2026
- CVSS basis
- Our assessment
- 1.4%, higher than 73% of CVEs
- Attack vector
- Impact
- Actor type
- Motivation
On this page
Timeline
Technical details
What happened
JetBrains disclosed the TeamCity On-Premises authentication bypass CVE-2026-136858 ( 9.1) on 2 December, saying at the time it was not aware of exploitation but sharing indicators of compromise [1]. One day later WatchTowr warned the flaw was being exploited in the wild, with its head of threat intelligence Jake Knott saying it was reverse engineered, reproduced and exploited against the WatchTowr Attacker Eye honeypot network about a day after disclosure [1].
Impact
An attacker can impersonate an existing build agent over HTTP(S), intercept builds and obtain credentials and other secrets passed to the agent, and modify build results and artifacts, achieving code execution on downstream builds that consume them [1]. In the observed attacks the threat actors tried to guess the ID numbers of established build agents, a prerequisite for exploitation, which is rather easy if agents are commonly numbered [1]. Knott said the same attacker previously exploited PHP2Shell against a Palo Alto PAN-OS device in WatchTowr's honeypot network [1].
Response
JetBrains released fixed versions 2026.1.7, 2026.2.3 and 2026.3 and a security plugin for version 2021.2 and later that does not require a restart, and TeamCity Cloud instances were updated automatically [1].
References
Media1
- [1]SecurityWeek2026-12-04Accessed 2026-12-04Snapshot 2026-12-04 sha256 2cd7bcf22555
“Threat actors started exploiting a new vulnerability in JetBrains TeamCity On-Premises, a widely used CI/CD server, one day after disclosure, preemptive security firm WatchTowr warns.”
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.