JetBrains said on Wednesday that every self-hosted TeamCity server has a critical flaw, CVE-2026-136858. The Hacker News reported a severity score of 9.1 out of 10. Anyone who can reach the server over the web, with no account, could take the place of a registered build agent, the machine that runs build jobs. Jiawei Guo reported it privately on November 24, 2026. Updating to 2026.1.7, 2026.2.3 or 2026.3 closes the hole.
A build server gives jobs to agents it has registered and relies on them to prove who they are. The log line JetBrains cites, "existing agent, but different authorization token", hints that the server checks a token against the agent's name. That is our reading; JetBrains has not published exploit details. A fake agent would get the jobs meant for the real one, plus their secrets. It could also falsify results or publish altered files. JetBrains knows of no active attacks.
Builds that use an agent's output could run attacker code, so its identity matters. Ask: is our server reachable from the internet? Does teamcity-server.log hold that line with a non-empty token? Which credentials pass through builds? Which later builds use their artifacts? If you suspect a hit, rotate those credentials, treat the artifacts as untrusted, and trace where they went.