# JetBrains TeamCity critical auth bypass (CVE-2026-136858) lets unauthenticated attackers hijack build agents · pwn.watch > JetBrains fixed a critical authentication bypass (CVE-2026-136858, CVSSv3 9.1) in TeamCity during build agent registration that allows an unauthenticated network attacker to take over authorized build agents. Because CI build agents routinely handle source code, deployment tokens and signing keys, compromised agents create immediate supply-chain risk. Fixed in TeamCity 2026.3, 2026.2.3 and 2026.1.7. Page: https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858 · generated 2026-12-03T23:11:28.246Z ## Status - Severity: critical · status: live · patch: patched - Product: JetBrains TeamCity - Started: 2026-12-02 - CVEs: CVE-2026-136858 - Affected: JetBrains TeamCity before 2026.1.7; JetBrains TeamCity 2026.2.x before 2026.2.3; JetBrains TeamCity before 2026.3 - Fixed in: JetBrains TeamCity 2026.1.7; JetBrains TeamCity 2026.2.3; JetBrains TeamCity 2026.3 ## Follow this incident - RSS (one item per update): https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858/feed.xml - JSON Feed: https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858.json - This file: https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858/llms.txt ## Updates (newest first) - 2026-12-03: Security advisories warn CI/CD operators to patch internet-exposed TeamCity servers and audit build agent registrations. (https://thehackernews.com/2026/12/critical-jetbrains-teamcity-flaw-lets.html) - 2026-12-02: JetBrains discloses CVE-2026-136858 (CVSS 9.1) and publishes fixed TeamCity builds 2026.3, 2026.2.3 and 2026.1.7. (https://www.jetbrains.com/privacy-security/issues-fixed/) ## Fix brief # Security brief: JetBrains TeamCity critical auth bypass (CVE-2026-136858) lets unauthenticated attackers hijack build agents Source: https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858 · status: live · severity: critical · updated Dec 3, 2026, 22:55 UTC ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is JetBrains fixed a critical authentication bypass (CVE-2026-136858, CVSSv3 9.1) in TeamCity during build agent registration that allows an unauthenticated network attacker to take over authorized build agents. Because CI build agents routinely handle source code, deployment tokens and signing keys, compromised agents create immediate supply-chain risk. Fixed in TeamCity 2026.3, 2026.2.3 and 2026.1.7. Severity detail: CVSS 9.1 Critical; unauthenticated build agent takeover - Product: JetBrains TeamCity - CVE / advisory ids: CVE-2026-136858 ## Affected versions - JetBrains TeamCity before 2026.1.7 - JetBrains TeamCity 2026.2.x before 2026.2.3 - JetBrains TeamCity before 2026.3 ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - JetBrains TeamCity 2026.1.7 - JetBrains TeamCity 2026.2.3 - JetBrains TeamCity 2026.3 After upgrading, re-run the checks above and redeploy/restart the affected services. ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Specific notes Upgrade TeamCity Server to 2026.3, 2026.2.3, or 2026.1.7 immediately. Restrict TeamCity agent registration endpoints from the public internet, audit authorized build agents for unexpected registrations or IP changes, and rotate CI secrets if the server was exposed. ## Latest updates - Dec 3, 2026: Security advisories warn CI/CD operators to patch internet-exposed TeamCity servers and audit build agent registrations. - Dec 2, 2026: JetBrains discloses CVE-2026-136858 (CVSS 9.1) and publishes fixed TeamCity builds 2026.3, 2026.2.3 and 2026.1.7. ## Advisories - [JetBrains Privacy & Security: Issues Fixed](https://www.jetbrains.com/privacy-security/issues-fixed/) (JetBrains) - [CVE-2026-136858 Detail](https://nvd.nist.gov/vuln/detail/CVE-2026-136858) (NVD) ## Write-ups & news - [Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication](https://thehackernews.com/2026/12/critical-jetbrains-teamcity-flaw-lets.html) --- Machine-readable: https://pwn.watch/i/jetbrains-teamcity-agent-registration-auth-bypass-cve-2026-136858.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.