Trusence Every claim has a source
Last updated 5 December 2026 Search Türkçe
Security Developing

Critical TeamCity flaw lets unauthenticated attackers impersonate build agents

Exploitation attempts began about a day after disclosure, so on-premises operators should patch or restrict agent access now.

Updated with 1 new report since it was first published · latest 4 December at 23:06

JetBrains has disclosed CVE-2026-136858, a critical flaw with a CVSS score of 9.1 in on-premises TeamCity that lets an unauthenticated attacker reaching the server over HTTP(S) impersonate an authorized build agent. Such an attacker could siphon builds, read the secrets passed to them, and alter build results and artifacts that downstream jobs consume. Every on-premises version is affected until it is updated to 2026.1.7, 2026.2.3 or 2026.3, and a patch plugin exists for 2021.2 and later installs that cannot restart. TeamCity Cloud customers need do nothing. Researchers at watchTowr reported exploitation attempts against their honeypots roughly a day after disclosure, with attackers guessing agent IDs, which are usually predictable. Operators should patch promptly, restrict the agent endpoint to known agent addresses, and review logs for suspicious tokens.

Why it matters

The flaw lets an outsider with network access to the TeamCity server pose as a trusted build agent, which means the builds and secrets that agent handles can be taken or altered before they reach downstream jobs. Because the agent IDs being guessed are often predictable, the barrier to exploitation is low, and the shift in risk falls on on-premises operators whose build outputs feed other systems. Cloud customers are not affected by the same steps, so the exposure is concentrated in self-hosted installations.

Sources · 3