Reported by 2 outlets

Attackers target JetBrains TeamCity vulnerability to take over build agents

Cybersecurity illustration · BleepingComputer

The story so far

AI summary of the reporting below · Updated · How we work

Hackers are actively attempting to exploit a critical authentication bypass vulnerability in JetBrains TeamCity On-Premises just one day after its public disclosure, security firm watchTowr reported. Tracked as CVE-2026-136858, the flaw enables attackers to hijack trusted build agents and intercept assigned tasks. [1][2]

The vulnerability affects all TeamCity On-Premises versions prior to 2026.1.7, 2026.2.3, and 2026.3. Exploitation requires guessing a build agent ID, which watchTowr researchers noted is relatively easy because IDs typically begin at "1". Attackers who impersonate an agent can capture exposed credentials, send back false build results, or supply tampered output files designed to run malicious code in subsequent builds. TeamCity Cloud instances are already patched and require no user action. [1]

JetBrains urges administrators to upgrade or apply a security patch plugin available for version 2021.2 and later, which does not require a server restart. Versions 2026.2.2 and above can install this patch automatically if unattended security updates are enabled. JetBrains also recommends limiting access to the '/app/agents' path to known build agent IPs and monitoring server logs for unauthorized token modifications. [1]

Read the original reporting

2 outlets