On 2 December 2026 JetBrains disclosed CVE-2026-136858, a critical flaw in every version of TeamCity On-Premises. In JetBrains' words, an unauthenticated attacker who can reach a TeamCity server over HTTP(S) can "impersonate an existing authorized build agent", then "intercept builds and access their secrets, and tamper with build results and artifacts." No TeamCity account is needed.
A build agent is the machine that does the work: it receives the job, the source, and the credentials the job needs to sign, publish or deploy. Whoever can pass as one gets all three, and can hand back whatever output it likes. JetBrains spells out the consequence: downstream builds that consume a tampered artifact "could execute attacker-supplied code."
//Why This One Matters More Than Its Wording
"Not aware of any active exploitation" is the right thing to say on the day of a fix, and it should not slow anyone down. TeamCity servers have been a repeated target. CISA's KEV catalog lists four TeamCity flaws, most recently CVE-2026-63077, added on 5 August 2026 with a three-day deadline and marked as known to be used in ransomware campaigns. That one was also unauthenticated and also reached through the way agents talk to the server: CISA describes it as remote code execution "via the agent polling protocol." Two critical, unauthenticated flaws in the agent channel in four months is a pattern, and anyone with an exposed TeamCity server already saw what followed the last one.
The interest is easy to see. A CI server holds signing keys, cloud credentials and deployment secrets, and it is trusted to produce the software other systems install. Taking it over is a supply chain attack against everything it builds.
//What to Do
Update to 2026.1.7, 2026.2.3 or 2026.3, or install the security patch plugin, which fixes only this flaw. Servers on 2026.2.2 or later can be set to install security patches automatically under Administration, Updates. Then limit who can reach the server: JetBrains recommends trusted networks or a VPN, and, as an extra measure, a reverse proxy rule that allows /app/agents and its subpaths only from the addresses real agents connect from, including cloud agents and their NAT gateways.
To check for past attempts, JetBrains says to search teamcity-server.log for of the existing agent, but different authorization token. An empty token ("") is expected and can be ignored. A non-empty one "may indicate an attempt to take over an existing build agent." For each such hit, compare the source address and hostname with the real agent, look at the builds it ran around that time, and check their logs, results and published artifacts.
If a takeover looks likely, JetBrains' advice is to keep the logs and build results, patch, rotate every credential passed to the affected builds, and treat their artifacts as untrusted until verified, tracing where they were used or deployed. That last step is the long one.
Fixed: 2026.1.7, 2026.2.3, 2026.3 · Patch plugin: 2021.2 and later, no restart · Cloud: fixed by JetBrains
Log search: teamcity-server.log, "of the existing agent, but different authorization token" with a non-empty token
Network control: allow /app/agents only from expected agent addresses
Prior: CVE-2026-63077 (agent polling protocol, unauthenticated RCE), KEV 5 August 2026, known ransomware use
//Sourcing and Uncertainty
The flaw, affected and fixed versions, the plugin, Cloud status, the reporter and date, the exploitation statement, the log search and the response steps are from JetBrains' advisory of 2 December, read on 4 December. CVE-2026-63077's KEV date, description, deadline and ransomware flag are from CISA's KEV feed of 3 December. Help Net Security's report was used to cross-check the earlier CVE. One aggregator claims a research firm saw exploitation attempts; this article found no primary source for that and does not rely on it.
What is unknown. How the impersonation works in detail (JetBrains has not published it), how many TeamCity servers are reachable from the internet, and whether anyone used the flaw before the fix.