JetBrains Patches Critical TeamCity Flaw That Could Let Attackers Hijack Build Agents
The Hackers NewsAI & LLMs

JetBrains Patches Critical TeamCity Flaw That Could Let Attackers Hijack Build Agents

JetBrains has disclosed a critical vulnerability in on-premises TeamCity installations that could allow an unauthenticated attacker to impersonate authorized build agents, potentially intercepting builds and stealing secrets.

Tracked as CVE-2026-136858, the flaw carries a CVSS score of 9.1 out of 10. According to JetBrains, anyone who can reach a TeamCity server over HTTP(S) could pose as an existing build agent without needing a user account. A successful attack could displace a legitimate agent, expose credentials and other secrets passed to it, falsify build results, or publish tampered artifacts - and downstream builds consuming those artifacts could end up running attacker-supplied code.

All TeamCity On-Premises versions are affected. Fixes are available in versions 2026.1.7, 2026.2.3, and 2026.3. For users who cannot restart their servers to apply the update, JetBrains released a security patch plugin for TeamCity 2021.2 or later. TeamCity Cloud customers need take no action.

As an extra safeguard, JetBrains advises configuring reverse proxies to permit requests to /app/agents and its subpaths only from expected build agent IP addresses, including cloud agent outbound addresses and NAT gateways. The company said it has no evidence of active exploitation and credited researcher Jiawei Guo for responsibly reporting the issue on November 24, 2026.

The advisory arrives nearly four months after a separate critical TeamCity bug, CVE-2026-63077 with a CVSS score of 9.8, was exploited in real-world attacks, according to CISA.

Source: The Hackers News

← Back to News