AEGLIX News
JetBrains disclosed a critical security flaw in on-premises TeamCity versions that allows unauthenticated attackers to bypass authentication and take over authorized build agents, the company said. The vulnerability, tracked as CVE-2026-136858, carries a CVSS score of 9.1 out of 10.0 and affects all TeamCity On-Premises versions, according to the vendor. JetBrains also noted that there is no evidence of active exploitation of the flaw.
The vulnerability enables an attacker without a TeamCity user account to displace a legitimate build agent, intercept builds, expose credentials and secrets, falsify build results, and publish tampered artifacts. Downstream builds consuming those tampered artifacts could execute attacker-supplied code, extending the impact beyond the initial compromise. The flaw resides in the agent registration process, where authentication bypass allows unauthorized parties to assume the identity of authorized build agents.
Successful exploitation does not require authentication or a TeamCity user account, making the attack surface broad for exposed on-premises instances. By taking over a build agent, an attacker can manipulate the software supply chain at the build stage, potentially injecting malicious code into artifacts that are then distributed to downstream consumers. The vendor confirmed that all on-premises versions are vulnerable prior to the patched releases.
JetBrains has patched the flaw in TeamCity versions 2026.1.7, 2026.2.3, and 2026.3, and recommends customers update their servers to one of those releases. For organizations unable to apply the update without restarting the TeamCity server, a security patch plugin is available for TeamCity 2021.2 or later. No action is required for TeamCity Cloud users. JetBrains also advises configuring reverse proxies to allow requests to /app/agents and its subpaths only from IP addresses where legitimate build agents are expected to originate.
Report prepared 2026-12-03 · Based on reporting from The Hacker News. Source publication date above; subsequent developments may not be reflected.