Back Mlq.Ai TeamCity build-server flaw attacked a day after JetBrains disclosed it
CVE-2026-136858 is an authentication bypass in TeamCity On-Premises, rated CVSS 9.1 and affecting all on-premises versions [2] [3] .
An unauthenticated attacker who guesses a valid build-agent ID can impersonate that agent, read its secrets and publish tampered artifacts [2] [3] .
JetBrains published the CVE on December 2; watchTowr says it saw exploitation attempts against its honeypot network on December 3 [2] [3] .
Fixed in 2026.1.7, 2026.2.3 and 2026.3; TeamCity Cloud was updated automatically, and a patch plugin covers servers on 2021.2 and later [2] [3] .
A critical flaw in JetBrains TeamCity, the build server used to compile and ship software, was being attacked within a day of being disclosed. JetBrains published CVE-2026-136858 on December 2, 2026, saying at the time that it was not aware of exploitation in the wild. Security firm watchTowr says it recorded exploitation attempts against its Attacker Eye honeypot network on December 3 [2] [3] .
The bug is an authentication bypass rated 9.1 on the CVSS v3.1 scale. It affects all TeamCity On-Premises versions, and is fixed in 2026.1.7, 2026.2.3 and 2026.3. TeamCity Cloud instances were patched automatically [2] [3] .
What an attacker gets
An unauthenticated attacker with network access to the server can impersonate an existing build agent over HTTP or HTTPS. That means intercepting builds assigned to that agent, reading the credentials and other secrets passed into them, and falsifying build results or publishing tampered files. Because downstream builds consume those artifacts, the tampering can turn into code execution further along the pipeline [2] [3] .
The one prerequisite is guessing a valid agent ID number. watchTowr says attackers in its honeypots were doing exactly that. Jake Knott, the firm's head of threat intelligence, said exploitation is fairly easy where agents use common numbering, and agent IDs often start at 1 [2] [3] .
The issue was reported privately to JetBrains by researcher Jiawei Guo on November 24, 2026, and JetBrains published the CVE record as the assigning authority eight days later [3] .
JetBrains released a security patch plugin for customers running TeamCity 2021.2 or later who cannot upgrade immediately; it does not require a server restart. As an interim mitigation the company recommends restricting requests to the /app/agents path and its subpaths to trusted IP addresses, and it has published indicators of compromise so teams can check whether an agent impersonation already happened [2] [3] .
Build servers are a recurring target for this reason: they hold deployment credentials and sign the code that customers install. Earlier TeamCity bugs were used in ransomware campaigns after public exploit details appeared within days of disclosure [2] .
This article was produced by MLQ.ai's AI newsroom and checked against primary sources such as company filings, official releases and court documents. Reports from a single outlet are attributed. Editor: Peter Foy . How we work · Spotted an error? Tell us .
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
