Threat actors are actively exploiting a critical authentication bypass vulnerability, tracked as CVE-2026-136858, in JetBrains TeamCity On-Premises servers. The flaw allows unauthenticated remote attackers to impersonate authorized build agents, potentially granting them access to sensitive build secrets, source code, and the ability to distribute tampered software artifacts.
The vulnerability, which carries a CVSS score of 9.1, allows an attacker to pose as a trusted machine that runs software builds without logging in. Security researcher Jiawei Guo reported this vulnerability to JetBrains privately on November 24, 2026, in accordance with the company’s Coordinated Disclosure Policy.
How does the exploitation work?
The vulnerability allows an attacker to gain control over a build agent using only two HTTP requests, according to observations from the cyber security firm watchTowr. By successfully guessing the identification number of a legitimate, active build agent, a remote attacker can bypass authentication requirements entirely.
“The attackers we’ve captured so far trying their luck are trying to guess the ID numbers of long-running and commonly numbered build agents, which is the only real prerequisite for exploitation, and it’s not particularly hard, as they start at ‘one’ and go upwards,” Jake Knott, head of threat intelligence at watchTowr, told Cyber Daily.
Once an agent is compromised, attackers can intercept ongoing builds and access the credentials or deployment keys used during the software delivery process. The attacker can then falsify build results or publish tampered files, and downstream builds that consume those artifacts could execute attacker-supplied code.

Which systems are at risk?
All versions of TeamCity On-Premises are vulnerable to this flaw, which carries a CVSS score of 9.1. While JetBrains disclosed the issue earlier this week, watchTowr reported that its honeypot network began observing exploitation attempts by December 3, 2026.
The security risk is particularly high for organizations that use build agents to handle sensitive credentials or publish artifacts that are consumed by downstream projects. “Downstream builds that consume those artifacts could execute attacker-supplied code,” JetBrains said. JetBrains said that TeamCity Cloud customers do not need to take action, as the company has already applied corrective measures to its hosted environments.
How can administrators secure their servers?
JetBrains has released patches for the vulnerability in versions 2026.1.7, 2026.2.3, and 2026.3, and it strongly recommends that all users update their servers immediately. For organizations unable to perform a full update, the developer has provided a security patch plugin compatible with TeamCity 2021.2 and later, which can be installed without restarting the server, as detailed on the JetBrains blog.
For servers running version 2026.2.2 or later with automatic security patch installation enabled, the system should check for and install the patch automatically.
| Product | Affected Versions | Fixed Version |
|---|---|---|
| TeamCity On-Premises | All versions | 2026.1.7, 2026.2.3, 2026.3 |
As an additional mitigation, administrators can configure reverse proxies to restrict access to the “/app/agents/” endpoint, limiting connections only to the IP addresses of known, trusted build agents, JetBrains said. To identify potential compromise, JetBrains advises searching the “teamcity-server.log” file for the string “of the existing agent, but different authorization token.” Administrators should preserve server logs and build results before making any changes.
“If we’d told security teams 10 years ago that we’d be measuring how many minutes or hours it takes after disclosure for exploitation to be observed, especially for ‘celebrity’ or ‘attractive’ vulnerabilities affecting edge devices and internet-facing software, they would have laughed,” Knott told Cyber Daily.

For those managing updates between versions 2024.03 and 2026.2.1, administrators can review and apply pending patches under Available security updates within the Administration | Updates menu.
Keep reading