JetBrains Discloses Critical TeamCity Flaw Allowing Unauthenticated Build Agent Hijacking
JetBrains on Wednesday disclosed a critical security flaw impacting on-premises versions of TeamCity that could be exploited to bypass authentication and take over authorized build agents. The vulnerability, tracked as CVE-2026-136858, carries a CVSS score of 9.1 out of a maximum of 10.0. JetBrains stated that if exploited, an unauthenticated attacker who can reach a TeamCity server over HTTP(S) may impersonate an existing authorized build agent.
The company warned that an attacker could intercept builds, access build secrets, and tamper with build results and artifacts. A successful exploitation could displace a legitimate build agent and intercept builds assigned to it, exposing credentials and other secrets passed to the agent. Attackers could also falsify build results or publish tampered artifacts, potentially causing downstream builds to execute attacker-supplied code. No authentication or TeamCity user account is required.
All TeamCity On-Premises versions are vulnerable, with patches available in versions 2026.1.7, 2026.2.3, and 2026.3. JetBrains also provided a security patch plugin for TeamCity 2021.2 or later for those unable to restart the server. No action is required for TeamCity Cloud users. The company noted there is no evidence of active exploitation and credited security researcher Jiawei Guo for responsibly disclosing the issue on November 24, 2026.
Source credits
The Hacker News. Edited by SetuGeo.