Home › News › DevOps / CI
Critical TeamCity Flaw Lets Unauthenticated Attackers Hijack Build Agents
JetBrains has disclosed a critical authentication bypass in on-premises TeamCity that can let unauthenticated attackers take over authorized build agents. The flaw, CVE-2026-136858, carries a CVSS score of 9.1.
DevOps / CIVulnerabilitiesKey points
- CVE-2026-136858 is a critical authentication bypass in on-premises JetBrains TeamCity, CVSS 9.1
- Flaw occurs during agent registration and lets unauthenticated attackers take over authorized build agents
- Affects TeamCity versions before 2026.3, 2026.2.3, and 2026.1.7
- Compromise of build agents could expose software build/release pipelines to attackers
JetBrains has issued a security advisory for a critical vulnerability in on-premises installations of TeamCity, its continuous integration and build server software, according to The Hacker News.
The flaw, tracked as CVE-2026-136858, stems from an authentication bypass that occurs during agent registration. According to the NVD entry, the issue affects TeamCity versions before 2026.3, 2026.2.3, and 2026.1.7. An unauthenticated attacker who is able to reach a TeamCity server could exploit the flaw to take over authorized build agents without needing any credentials.
The vulnerability has been assigned a CVSS score of 9.1 out of 10.0, reflecting its critical severity. Because TeamCity build agents execute build and deployment jobs, compromise of an agent could give an attacker a foothold inside an organization's software build and release pipeline — a scenario with serious implications for software supply chain security.
The sources do not provide further detail on in-the-wild exploitation, proof-of-concept availability, or the specific technical mechanism of the bypass beyond what is stated above.
What administrators should do
JetBrains' advisory points to fixed versions: TeamCity 2026.3, 2026.2.3, and 2026.1.7. Organizations running on-premises TeamCity servers below these versions should prioritize upgrading, particularly if their TeamCity server is reachable from untrusted networks.
What to do
- Upgrade on-premises TeamCity to 2026.3, 2026.2.3, 2026.1.7 or later
- Restrict network reachability of TeamCity servers to trusted hosts
- Review build agent authorization logs for suspicious registration activity
Original report
“Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication”
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. "If exploited, this vulnerability may allow an unauthenticated attacker who can reach a TeamCity server
Also reported by
Vulnerabilities mentioned
- CVE-2026-136858 — JetBrains TeamCity Critical