What is CVE-2026-136858?
CVE-2026-136858 is an Authentication Bypass in JetBrains TeamCity On-Premises. An authentication bypass lets someone skip the identity check that should stop them. Here, the check fails when a build agent registers with the server. A build agent is a machine that runs builds on the server’s behalf. An attacker who can reach the server over HTTP(S) can pose as an existing authorized agent without any TeamCity user account.
By taking over an agent, an attacker can push out the legitimate agent and capture the builds assigned to it. That exposes credentials and other secrets passed to the agent. The attacker can also falsify build results or publish tampered artifacts, which are the files a build produces. Downstream builds that consume those artifacts could then run attacker-supplied code.
| CVE | Description | CVSS | Exploited in the wild |
|---|---|---|---|
| CVE-2026-136858 | Authentication Bypass in JetBrains TeamCity | 9.1 Critical (CVSS 3.1) | Yes |
Is CVE-2026-136858 being exploited in the wild?
CVE-2026-136858 is being exploited in the wild, as reported by watchTowr.
How did CVE-2026-136858 come to light?
Security researcher Jiawei Guo reported CVE-2026-136858 privately to JetBrains on November 24, 2026, under the JetBrains Coordinated Disclosure Policy. JetBrains, acting as the CVE Numbering Authority, published the CVE record on December 2, 2026. JetBrains credits Jiawei Guo on its fixed security issues page.
How is watchTowr helping JetBrains TeamCity customers?
- Attacker Eye, our global honeypot network, is monitoring for exploitation activity as it emerges.
- Adversary Sight engine identified JetBrains TeamCity instances across client environments and assessed exposure.
- Rapid Reaction identified exposure to this vulnerability across the watchTowr client base, giving teams the time they need to act.
- December 3, 2026: watchTowr observed exploitation attempts via Attacker Eye
Our Rapid Reaction post covers CVE-2026-136858 in full.
What is JetBrains TeamCity?
JetBrains TeamCity is a continuous integration and delivery server that builds, tests, and deploys software. In an enterprise network, the server assigns jobs to build agents, stores the credentials those builds need, and holds the artifacts they produce, so it sits close to source code and deployment pipelines.
Which JetBrains TeamCity versions are affected?
| Product | Affected Versions | Fixed Version |
|---|---|---|
| JetBrains TeamCity On-Premises | All versions before 2026.3, 2026.2.3, 2026.1.7 | 2026.1.7, 2026.2.3, and 2026.3 |
- The TeamCity On-Premises server must be reachable over HTTP(S) by the attacker.
- The attacker needs no TeamCity user account and no authentication.
- The attacker needs to successfully guess a valid agent ID, such as “1”.
CVE-2026-136858 affects JetBrains TeamCity On-Premises, so deal first with servers reachable over HTTP(S) from outside trusted networks, including servers that accept agent connections from outside those networks. Servers limited to trusted networks come next.
How do I fix CVE-2026-136858?
CVE-2026-136858 in JetBrains TeamCity is fixed in 2026.1.7, 2026.2.3, and 2026.3, so update every On-Premises server to one of them. If an upgrade is not possible, JetBrains offers a security patch plugin for 2021.2 and later, installed without a restart. As an extra mitigation, limit agent access at the reverse proxy.
- Preserve the server logs and build results from each affected server before changing anything.
- Search the server log for messages about an existing agent presenting a different authorization token, and review every entry with a non-empty token.
- Update each TeamCity On-Premises server to 2026.1.7, 2026.2.3, or 2026.3, or install the security patch plugin if an upgrade is not possible.
- Restrict agent connection paths at the reverse proxy to the addresses where legitimate build agents originate, including cloud agent and NAT gateway addresses.
- Rotate credentials passed to potentially affected builds, and treat their artifacts as untrusted until verified.
- Limit server access to trusted networks, use a VPN for outside connections, and run the server and build agents on separate hosts.
How do I check JetBrains TeamCity for compromise?
For CVE-2026-136858 in JetBrains TeamCity, JetBrains says to search the server log for messages that an existing agent connected with a different authorization token. A non-empty token may signal a takeover attempt, while an empty token is expected. Check the agent’s connection history, hostname, and source IP address, then compare them with build logs, results, and artifacts.
What types of threat actors typically exploit this vulnerability?
Historically, ransomware gangs and APT groups exploit these vulnerabilities.
Have there been similar JetBrains TeamCity vulnerabilities before?
Yes. These earlier JetBrains TeamCity vulnerabilities were added to the CISA KEV catalog after exploitation in the wild:
| CVE | Description | Added to KEV |
|---|---|---|
| CVE-2026-63077 | JetBrains TeamCity Deserialization of Untrusted Data Vulnerability | August 5, 2026 |
| CVE-2024-27199 | JetBrains TeamCity Relative Path Traversal Vulnerability | April 20, 2026 |
| CVE-2024-27198 | JetBrains TeamCity Authentication Bypass Vulnerability | March 7, 2024 |
| CVE-2023-42793 | JetBrains TeamCity Authentication Bypass Vulnerability | October 4, 2023 |
