JetBrains TeamCity On-Premises CVE-2026-136858: unauthenticated build-agent takeover rated Critical, all versions affected
TeamCity On-Premises CVE-2026-136858: unauthenticated build-agent takeover; update or install the patch plugin
Defender actions
- Update every TeamCity On-Premises server to 2026.1.7, 2026.2.3 or 2026.3, or install the CVE-2026-136858 security patch plugin (2021.2 and later, no restart).
Analysis
JetBrains says that, if exploited, CVE-2026-136858 may allow an unauthenticated attacker who can reach a TeamCity On-Premises server over HTTP(S) to impersonate an existing authorized build agent, and the attacker does not need a TeamCity user account (JetBrains, 2026-12-02). A successful exploitation could displace the legitimate agent and intercept the builds assigned to it, which can expose credentials and other secrets passed to the agent (JetBrains, 2026-12-02). The attacker could also falsify build results or publish tampered artifacts, and downstream builds that consume those artifacts could execute attacker-supplied code (JetBrains, 2026-12-02). All TeamCity On-Premises versions are affected; the fix is in 2026.1.7, 2026.2.3 and 2026.3, and a security patch plugin for 2021.2 and later installs without restarting the server (JetBrains, 2026-12-02). ENISA's vulnerability database, with JetBrains as assigner, records CVSS 3.1 base score 9.1 for the flaw with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (ENISA EUVD, 2026-12-02). JetBrains fixed TeamCity Cloud itself and found no evidence that any Cloud environment was exploited through the flaw, and it was not aware of any active exploitation at publication (JetBrains, 2026-12-02).
Triage: entries with an empty token are expected and can be disregarded for this check, while a non-empty token may indicate an attempt to take over an existing build agent (JetBrains, 2026-12-02).
Cited evidence
If exploited, this vulnerability may allow an unauthenticated attacker who can reach a TeamCity server over HTTP(S) to impersonate an existing authorized build agent.
At the time of publishing this advisory, we are not aware of any active exploitation of this vulnerability.
Sources2
AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.