Skip to content

JetBrains patches a CVSS 9.1 bug that hijacks TeamCity build agents

CVE-2026-136858 lets an attacker with no TeamCity account impersonate a build agent during registration, intercepting jobs, reading secrets and publishing tampered artifacts. On-Premises needs 2026.1.7, 2026.2.3 or 2026.3; Cloud is unaffected.

Source: JetBrains

JetBrains disclosed a critical vulnerability in TeamCity On-Premises on 3 December, CVE-2026-136858, with a CVSS score of 9.1. During build agent registration, an attacker who can reach the server over HTTP(S) can impersonate a valid agent without logging in at all.

Impersonating the agent hands the attacker whatever the build touches: it can intercept running jobs, read secrets passed to the agent, and publish tampered build artifacts. The bug affects every TeamCity On-Premises version before 2026.1.7, 2026.2.3 and 2026.3; TeamCity Cloud is not affected. JetBrains also shipped a security patch plugin, installable without a restart, for anyone on 2021.2 or later who cannot upgrade straight away. Security researcher Jiawei Guo reported the flaw privately on 24 November under JetBrains’ coordinated disclosure policy.

Why it matters: a build agent typically holds whatever secrets and credentials flow through your pipeline, and this flaw lets anyone reach that with no account on the server at all. If you run TeamCity On-Premises, patch or apply the plugin this week rather than waiting for a maintenance window.

The caveat: JetBrains says it has no evidence of active exploitation. That is a disclosure, not a confirmed attack, but an unauthenticated flaw this clean tends not to stay quiet for long.

Share

Related reading

More from The Wire

All briefs