Cybersecurity Security

Critical JetBrains TeamCity Flaw CVE-2026-136858 Exploited in the Wild One Day After Disclosure

Threat actors began exploiting JetBrains TeamCity authentication bypass CVE-2026-136858 one day after disclosure, letting attackers hijack build agents and steal CI/CD secrets.

Editorial illustration of a TeamCity-branded server rack, a protective shield and an amber warning light.

Threat actors began exploiting a critical authentication bypass in JetBrains TeamCity On-Premises just one day after the vendor disclosed it, SecurityWeek reported. Tracked as CVE-2026-136858 with a CVSS score of 9.1, the flaw lets unauthenticated attackers impersonate authorized build agents. Once inside, intruders can intercept software builds, steal credentials, and tamper with release artifacts.

JetBrains published its security advisory and patches on December 2, 2026, noting no active exploitation at release. Roughly a day later, watchTowr recorded live exploitation attempts against its Attacker Eye global honeypot network. The rapid turnaround shows how quickly attackers weaponize enterprise build server bugs.

The fast-moving campaign mirrors other recent enterprise infrastructure exploit waves. Defenders have also contended with public exploits targeting a critical vBulletin remote code execution flaw and critical hardcoded credential flaws in HPE’s networking platform. Cloud credentials remain a top target as well, highlighted by an autonomous AI hacking attempt targeting Perplexity’s cloud credentials.

How CVE-2026-136858 Exposes Software Pipelines

CVE-2026-136858 affects every version of JetBrains TeamCity On-Premises released before 2026.1.7, 2026.2.3, and 2026.3. Because TeamCity manages continuous integration and delivery pipelines, a hijacked build agent sits directly inside an organization’s code compilation and deployment path. According to SOCRadar, the bug stems from an authorization bypass during build agent registration.

Exploitation requires no TeamCity user account and works remotely over HTTP or HTTPS. An attacker only needs network reachability to the server and a valid existing agent ID number. watchTowr head of threat intelligence Jake Knott told SecurityWeek that threat actors reverse engineered and reproduced the bug against honeypots by guessing common sequential agent IDs. Once an attacker displaces a legitimate agent, they receive assigned builds along with API keys, credentials, and secrets passed into those jobs.

Attackers can also falsify build results or publish poisoned artifacts, potentially triggering malicious code execution in downstream builds that consume those files. Knott noted that the same threat actor previously exploited the PHP2Shell vulnerability against a Palo Alto PAN-OS honeypot, signaling a focus on high-impact enterprise infrastructure bugs.

Patching Steps and Prior TeamCity Attacks

Security researcher Jiawei Guo privately reported CVE-2026-136858 to JetBrains on November 24, 2026. JetBrains already patched TeamCity Cloud, so cloud customers need no action. On-premises administrators, however, should prioritize internet-facing servers first, followed by internal instances handling sensitive build credentials.

JetBrains urges administrators to upgrade TeamCity On-Premises servers immediately to version 2026.1.7, 2026.2.3, or 2026.3. Teams running TeamCity 2021.2 or later that cannot upgrade right away can install JetBrains’ security patch plugin without restarting the server. Newer releases with automatic security patch installation enabled should download and apply the plugin automatically.

Administrators should also configure reverse proxies to restrict requests to /app/agents and its subpaths to trusted IP addresses, including cloud agent and NAT gateway addresses. Before applying changes, teams should preserve logs and check teamcity-server.log for entries showing an existing agent connecting with a different, non-empty authorization token. If compromise is suspected, teams should rotate build credentials and treat affected artifacts as untrusted.

CVE-2026-136858 is the second critical TeamCity On-Premises flaw JetBrains has fixed in roughly four months. In late July 2026, the vendor patched CVE-2026-63077, a CVSS 9.8 deserialization bug added to CISA’s Known Exploited Vulnerabilities catalog on August 5, 2026. Earlier TeamCity vulnerabilities, including CVE-2023-42793, CVE-2024-27198, and CVE-2024-27199, were similarly exploited by ransomware gangs and state-backed groups.

Related coverage