Key facts
- JetBrains disclosed a critical flaw in on-premises TeamCity versions on Wednesday, December 2, 2026, letting unauthenticated attackers bypass authentication and hijack authorized build agents.
- The flaw is tracked as CVE-2026-136858 with a CVSS score of 9.1 out of 10.0.
- An unauthenticated attacker who reaches a TeamCity server over HTTP(S) can impersonate an authorized build agent without a user account.
- Tampered artifacts could make downstream builds execute attacker-supplied code, enabling a software supply chain attack.
JetBrains disclosed a critical flaw in on-premises TeamCity on Wednesday, December 2, 2026, letting unauthenticated attackers bypass authentication and hijack authorized build agents. Security researcher Jiawei Guo privately reported the flaw to JetBrains on November 24, 2026.
The vulnerability is tracked as CVE-2026-136858 and carries a CVSS score of 9.1 out of 10.0. The Tech News reports JetBrains disclosed the flaw and released patches on December 3, 2026. The Tech News states threat actors began scanning and exploiting the flaw roughly 24 hours after disclosure, citing CyberDaily and The Hacker News. The Tech News advises applying patches immediately, auditing build-agent registrations, and rotating certificates or tokens exposed to build runners in the last 48 hours.
An attacker who reaches a TeamCity server over HTTP(S) can impersonate an authorized build agent without a user account. Exploitation lets attackers intercept builds, access build secrets and credentials, and tamper with build results and artifacts. Tampered artifacts could cause downstream builds to execute attacker-supplied code, enabling a software supply chain attack.
All TeamCity On-Premises releases are vulnerable. JetBrains shipped fixes in versions 2026.1.7, 2026.2.3 and 2026.3. TeamCity Cloud is not vulnerable and requires no action. For customers unable to restart the server, JetBrains released a security patch plugin for TeamCity 2021.2 or later, and automatic security patch installation already covers TeamCity 2026.2.2 and later.
JetBrains said at disclosure it was not aware of active exploitation and found no evidence any TeamCity Cloud environment was exploited. watchTowr reported attempted in-the-wild exploitation. “Exploitation requires the successful guess of an active build agent ID, but it’s not a material barrier, as agents start at ‘1.’”
TeamCity is JetBrains’ CI/CD server, offered as TeamCity Cloud and self-hosted TeamCity On-Premises. A TeamCity installation has a central server coordinating work and build agents that run builds; administrators authorize agents before they receive work.
With each build, build agents receive credentials such as cloud tokens, package registry passwords and deployment keys. JetBrains says more than 30,000 DevOps teams use TeamCity, including Citibank, Amazon Games, Tesla and Samsung. A single compromised CI/CD instance can trigger a broad software supply chain incident because CI/CD servers sit directly upstream of production deployments. JetBrains recommends restricting server access to trusted networks, using VPNs for outside access, and running servers and agents on separate hosts.
Earlier authentication bypass issues CVE-2023-42793 and CVE-2024-27198 were used by state-sponsored and financially motivated actors to target on-premises servers. CISA added CVE-2024-27198 to its Known Exploited Vulnerabilities catalog after confirming exploitation. U.S. and U.K. agencies warned in October 2024 that APT29 hackers tied to Russia’s Foreign Intelligence Service targeted TeamCity and Zimbra servers at mass scale.
JetBrains patched CVE-2026-63077 in versions 2025.11.7 and 2026.1.3 in late July 2026. BleepingComputer dates the patch to July 25, 2026, while TechRepublic dates disclosure to July 27, 2026. CVE-2026-63077 carries CVSS 9.8 and lets unauthenticated attackers execute operating system commands with the TeamCity server process privileges. “Attackers could exploit the TeamCity agent polling protocol without authenticating.”
CISA added CVE-2026-63077 to its actively exploited vulnerabilities catalog on August 5, 2026, and ordered federal agencies to secure networks within three days. JetBrains confirmed it was exploited in the wild on August 7, 2026. CISA has tagged four TeamCity issues as exploited in the wild since October 2023, all also abused in ransomware attacks. BleepingComputer reports ransomware gangs now exploit CVE-2026-63077, and Shadowserver tracks just over 160 unpatched TeamCity servers against it, down from 700.
JetBrains advises allowing /app/agents and subpaths only from IPs where legitimate build agents originate, including cloud agent addresses and NAT gateways. It also recommends checking teamcity-server.log for entries naming an existing agent with a different authorization token, since a non-empty token may indicate a takeover attempt.

Join the discussion