TeamCity flaw exploited day after disclosure

JetBrains TeamCity

JetBrains disclosed a critical authentication bypass in TeamCity On-Premises (CVE-2026-136858, CVSS 9.1) on December 2, saying it knew of no attacks. About a day later, security firm watchTowr reported attempted exploitation, with attackers trying to hijack build agents. A successful attacker can pose as a build agent, intercept builds and secrets, and alter build results. JetBrains hasn’t confirmed the attacks, and TeamCity Cloud was patched automatically.

JetBrains published a bulletin on December 2 for CVE-2026-136858, an authentication bypass in TeamCity On-Premises rated CVSS 9.1. An unauthenticated attacker can impersonate an existing build agent over HTTP or HTTPS, according to SecurityWeek. That lets the attacker intercept builds, read secrets passed to them, and change build results and artifacts. Help Net Security said researcher Jiawei Guo reported the flaw privately on November 24. JetBrains said at the time of its advisory that it wasn’t aware of exploitation.

Security firm watchTowr then reported exploitation attempts about one day after disclosure, based on its Attacker Eye honeypot network. SecurityWeek quoted the firm as saying attackers tried to guess build agent ID numbers, a prerequisite for the attack, and that this is easy when agents use common numbering. BleepingComputer said the IDs typically start at 1. watchTowr said the same actor had earlier exploited another flaw against a Palo Alto PAN-OS device in its honeypots. BleepingComputer said JetBrains’ bulletin and watchTowr’s account conflict.

Fixes are in TeamCity 2026.1.7, 2026.2.3 and 2026.3. A patch plugin for versions 2021.2 and later installs without a restart. JetBrains also advised limiting access to the /app/agents path to the IP addresses of legitimate build agents.

Summary of published news reports, linked above. JetBrains TeamCity has no connection to Loop Data.