$2 / month

Comment and reply across TML.

Start or manage membership

Most pulsed

Latest from other desks

tml.the modern leap
Tech / Cybersecurity

JetBrains TeamCity Flaw Lets Attackers Impersonate Build Agents

JetBrains disclosed a critical flaw in TeamCity On-Premises on December 2, 2026, tracked as CVE-2026-136858 and scored 9.1 out of 10. An attacker with no account who can reach a TeamCity server over HTTP or HTTPS can impersonate an authorized build agent, intercept the builds sent to it and read the secrets those builds carry. Every on-premises version is affected, and fixes are out in versions 2026.1.7, 2026.2.3 and 2026.3.

TML Tech DeskDec 3, 4:00 AM ET · 2 min read

Edited and fact-checked by Stephen Sprague

The Utah Data Center in Bluffdale, Utah (archive). A flaw in JetBrains TeamCity lets an unauthenticated attacker impersonate a build agent and intercept the builds sent to it. Photo: Swilsonmc, CC BY-SA 3.0, via Wikimedia Commons (File: Utah Data Center Panorama (cropped).jpg).
Summary

CVE-2026-136858 lets anyone who can reach a self-hosted TeamCity server pose as one of its build agents and read the secrets its builds carry, and JetBrains has shipped the fix in 2026.1.7, 2026.2.3 and 2026.3.

Tap a passage. React to the part that matters.

JetBrains published the advisory on December 2: CVE-2026-136858, an authentication bypass in TeamCity On-Premises, scored 9.1 out of 10. The flaw sits in the step where build agents register with the server, and it affects every on-premises version JetBrains has shipped.

AuditThenFix — Free Website Audit. Run your free audit.

An attacker doesn't need a TeamCity account or a password. Anyone who can reach the server over HTTP or HTTPS can impersonate an existing authorized build agent, and JetBrains states the consequence plainly: "If exploited, this vulnerability may allow an unauthenticated attacker who can reach a TeamCity server over HTTP(S) to impersonate an existing authorized build agent." The fake agent can then intercept builds, access the secrets passed to them and tamper with build results and artifacts.

JetBrains says it isn't aware of any active exploitation, and that status is on the record by the third paragraph of its own advisory. Security researcher Jiawei Guo reported the flaw privately on November 24, 2026, under the company's Coordinated Disclosure Policy, which gave JetBrains eight days to build the fix before the public disclosure landed.

The exposure sits in what a build agent is trusted to hold. A continuous integration server carries deployment keys, signing credentials and cloud tokens, and it produces the artifacts that teams ship to customers. An impostor agent doesn't just read those secrets; it can hand back poisoned build results that later builds consume, which is how one registration flaw becomes a supply chain problem for every team downstream.

The fix is already published in three places. Servers can update to 2026.1.7, 2026.2.3 or 2026.3, and teams that can't restart a server can install JetBrains' security patch plugin, which covers versions 2021.2 and later and addresses only this CVE. Servers running 2026.2.2 or later with automatic security patch installation enabled should receive the patch on their own, and JetBrains also advises restricting the /app/agents paths at the reverse proxy to the addresses where real build agents live. TeamCity Cloud customers need to do nothing, since JetBrains has already patched the hosted service and found no sign that any cloud environment was exploited.

Mintalgic — 34 chains covered.
The conversation

A little more perspective.

Reading is free. Verified members can comment and reply for $2 a month.

The conversation.

Loading comments…

Keep your curiosity going.

Some links here are affiliate links. If you buy through one, we might make a commission — it never changes what you pay. As an Amazon Associate I earn from qualifying purchases.