JetBrains has disclosed CVE-2026-136858, a critical flaw in TeamCity On-Premises rated CVSS 9.1. An unauthenticated attacker who can reach the TeamCity server over HTTP(S) can impersonate an existing, authorized build agent. The Hacker News reported the disclosure on December 3. JetBrains says it has seen no evidence of active exploitation.
Every TeamCity On-Premises version is affected. TeamCity Cloud is not. Fixed releases are 2026.1.7, 2026.2.3 and 2026.3.
Why it matters. A build server holds an organisation's secrets and signs off what ships. An attacker posing as a trusted agent can take its builds, read the secrets passed to it, and change build results and artifacts. Any downstream build that uses a tampered artifact can end up running the attacker's code. That makes this a supply-chain risk, not just a compromised host.
The attack needs no TeamCity user account and no authentication. Network reach to the server is enough. Researcher Jiawei Guo reported the flaw to JetBrains on November 24.
TeamCity is a proven target. CISA has said attackers exploited CVE-2026-63077, an earlier TeamCity flaw rated CVSS 9.8, about four months ago. Before that, TeamCity CVE-2023-42793 was widely exploited. Expect attackers to study this patch quickly.
Recommended actions. Upgrade to 2026.1.7, 2026.2.3 or 2026.3. If you cannot restart now, install JetBrains' security patch plugin, which covers TeamCity 2021.2 and later. At the reverse proxy, allow requests to /app/agents and its subpaths only from the IP addresses of legitimate build agents. Include cloud-agent outbound addresses and NAT gateways.
Detection. Review the server's agent list for agents you don't recognise, or agents connecting from new source addresses. Check recent builds for unexpected artifact changes. If you find signs of impersonation, rotate the secrets exposed to the affected agents.































