JetBrains has released security updates for its TeamCity On-Premises platform to address a critical authentication bypass vulnerability, tracked as CVE-2026-136858, which allows unauthenticated attackers to impersonate authorized build agents. The flaw, which carries a CVSS score of 9.1, enables intruders to intercept build processes, access sensitive credentials, and inject malicious code into software artifacts.
Vulnerability Mechanism and Impact
The vulnerability affects all supported versions of TeamCity On-Premises and can be exploited by any attacker with network access to the server over HTTP(S). By impersonating a legitimate build agent, an attacker can “displace a legitimate agent, intercept its builds, access secrets passed to it, and falsify results or publish tampered artifacts,” according to the official JetBrains security advisory.
The attacker does not need to log in or possess any user credentials to reach the server and begin the process. Successful exploitation allows an attacker to take control in as little as two HTTP requests.
Once an attacker successfully assumes the identity of an authorized agent, they gain the ability to manipulate the software supply chain. “Downstream builds that consume those artifacts could execute attacker-supplied code,” JetBrains warned in its alert. Because the exploit does not require a user account, organizations with internet-facing TeamCity servers are at the highest risk of compromise. The vulnerable trust boundary is specifically the identity of the build worker.
Patching and Mitigation Steps
JetBrains has issued corrected releases for three active product lines: 2026.1.7, 2026.2.3, and 2026.3. For organizations unable to perform a full version upgrade or restart their servers immediately, the company has released a security patch plugin compatible with versions 2021.2 and later. If a server is running 2026.2.2 or a newer version with automatic security patch installation enabled, the system should ideally detect and install the update without manual intervention.
“Include the outbound addresses used by cloud agents and any NAT gateways they connect through,” the company advised, suggesting that reverse proxy configurations should limit requests to the /app/agents path and its subpaths to known, trusted IP ranges. TeamCity Cloud customers do not need to take action, as corrective measures have already been applied to the hosted service.

Observed Exploitation Attempts
While JetBrains initially reported no evidence of active exploitation at the time of the December 2, 2026, disclosure, security firm watchTowr has since reported observing malicious activity targeting the flaw.
“We are already observing attempted exploitation of the latest JetBrains TeamCity Authentication Bypass, tracked as CVE-2026-136858,” watchTowr stated via social media, noting that the barrier to entry is minimal. The firm used a honeypot network to track this activity, noting that the attackers appear to be specifically seeking out high-impact vulnerabilities.
The firm explained that “exploitation requires the successful guess of an active build agent ID, but it’s not a material barrier, as agents start at ‘1’,” making it relatively simple for attackers to identify targets.
🚨 JetBrains has patched a critical TeamCity vulnerability that allows unauthenticated attackers to hijack software builds, steal credentials, and tamper with build artifacts; CVE-2026-136858. The flaw affects all unpatched TeamCity On-Premises versions, allowing attackers to… pic.twitter.com/Y7Aq8ecmAW
This incident marks the second time in four months that a critical vulnerability in the platform has been disclosed, following the discovery of CVE-2026-63077 in 2026, which the Cybersecurity and Infrastructure Security Agency previously noted had been weaponized in real-world attacks.
Industry Perspectives on Escalating CI/CD Threats
The rapid transition from vulnerability disclosure to active exploitation highlights the precarious nature of modern software infrastructure. Jake Knott, head of threat intelligence at Cyber Daily, said that the industry’s ability to measure exploitation in minutes or hours after a disclosure would have been unthinkable a decade ago.

He emphasized that for “celebrity” or “attractive” vulnerabilities affecting edge devices and internet-facing software, the window for defense has narrowed significantly. This incident shows the risk profile of CI/CD pipelines, which serve as central nodes for source repositories, signing keys, and production tokens.
Verifying Build Agent Integrity Post-Patch
Beyond immediate patching, security teams are encouraged to scrutinize their existing agent registration records for signs of tampering. Administrators should examine their server logs for any entry associated with a non-empty authorization token and compare it against the documented history of that specific agent.
Given that attackers can displace legitimate workers, identifying anomalous tokens is a critical step in ensuring that no unauthorized entities are currently masquerading as trusted internal build resources. JetBrains continues to urge users to enable automatic patch installation settings to ensure that future critical updates are applied as soon as they become available.
CVE-2026-136858 In JetBrains TeamCity before 2026.3, 2026.2.3, 2026.1.7 authentication bypass during agent registration allowed takeover of authorized build agents https://t.co/OvUoPKULuT
JetBrains typically manages critical vulnerabilities in its on-premises developer tools by providing targeted version updates or, when immediate upgrades are not feasible, releasing security patch plugins for recent software versions. For environments utilizing automatic patch installation, the company facilitates background updates to minimize manual intervention. This approach is designed to maintain the integrity of its continuous integration and development platforms while providing flexible mitigation paths for administrators.
Regarding its track record for supply-chain security, JetBrains faced public scrutiny in 2021 following reports that unknown parties might have embedded malware in its TeamCity CI/CD software.

Security Considerations for Affected Environments
Organizations concerned about potential exposure should conduct a thorough review of their system logs. Security teams should treat any artifacts produced during periods of server exposure as untrusted until they can be verified.
Companies should rotate all credentials, signing keys, and deployment tokens that were accessible to build agents during the window of vulnerability. The flaw was privately reported to the company by researcher Jiawei Guo on November 24, 2026. This is the second critical vulnerability disclosed in the platform within a four-month period.