An unauthenticated bypass in TeamCity On-Premises is already being probed in the wild, days after disclosure.
The Hacker News reports that JetBrains has disclosed CVE-2026-136858, a critical authentication bypass in TeamCity On-Premises with a CVSS score of 9.1. The flaw lets an unauthenticated attacker impersonate an authorized build agent, no TeamCity account or credentials required. Security firm watchTowr says successful exploitation can take as little as two HTTP requests, since build agents are numbered starting from "1," making them easy to guess.
watchTowr reported observing attempted exploitation shortly after disclosure, even though JetBrains said it had no evidence of active attacks at the time. Impersonating a build agent can expose build secrets and let an attacker tamper with artifacts and build results. JetBrains has patched the flaw in versions 2026.1.7, 2026.2.3 and 2026.3, released a security patch plugin for 2021.2 and later, and updated TeamCity Cloud automatically; teams that cannot patch immediately are advised to restrict access to the /app/agents endpoints to trusted IP addresses.
Why it matters: CI/CD systems sit at the center of the software supply chain, and a compromised build agent can poison code before it ever reaches production. Enterprises running self-managed DevOps and cloud pipelines should patch build infrastructure on the same urgency as internet-facing systems, not treat it as internal and lower risk.