Key Facts
- CVE: CVE-2026-136858
- CVSS: 9.1 Critical (CVSS 3.1)
- Exploited in the wild: Yes, reported by watchTowr
- Fix available: Yes
- Last updated: December 4, 2026
What Is CVE-2026-136858?
CVE-2026-136858 is an Authentication Bypass in JetBrains TeamCity On-Premises that lets an attacker pose as a trusted build agent, the machine that runs software builds, without logging in. The attacker can then intercept builds, read the secrets passed to them, and falsify build results or publish tampered files. Later builds that use those files could run the attacker’s code. The attacker needs only network access to the server over HTTP(S) and no user account.
All TeamCity On-Premises versions are affected, so the default setup is exposed. JetBrains fixed the issue in versions 2026.1.7, 2026.2.3, and 2026.3. It also released a security patch plugin for servers running 2021.2 and later that cannot upgrade yet. TeamCity Cloud has already been corrected, and its customers need to take no action. Security researcher Jiawei Guo reported the issue privately on November 24, 2026.
Deal first with servers that can be reached from the internet or from networks beyond trusted ones. Next, address servers whose builds handle credentials or publish files that other builds consume, since those carry the most to lose.
| 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?
CVE-2026-136858 is being exploited in the wild, as reported by watchTowr.
Timeline
- December 2, 2026: The CVE record for CVE-2026-136858 was published by JetBrains as CNA, describing an authentication bypass during TeamCity agent registration.
- December 3, 2026: watchTowr observed exploitation attempts via Attacker Eye
What Is JetBrains TeamCity?
JetBrains TeamCity is a build and continuous integration server that organizations use to compile, test, and deliver software. Build agents run the jobs the server assigns, and those builds often receive credentials and other secrets. An attacker who takes over an agent can capture those secrets and tamper with the software the organization produces.
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, 2026.3 |
Is Your JetBrains TeamCity Affected?
- The TeamCity On-Premises server must be reachable by the attacker over HTTP(S).
- The attacker needs no TeamCity user account and does not have to log in.
- The attacker needs to successfully guess a valid agent ID, such as “1”.
- All TeamCity On-Premises versions are affected, so the default setup is included.
How to Fix CVE-2026-136858
Update each TeamCity On-Premises server to 2026.1.7, 2026.2.3, or 2026.3. Where an upgrade must wait, install the JetBrains security patch plugin, which covers only this issue, and limit which addresses can reach the agent paths on the server.
- Preserve server logs and build results from each TeamCity On-Premises server before making any changes.
- Search teamcity-server.log for entries showing an existing agent presenting a different authorization token, and review any entry with a non-empty token against that agent’s history.
- Update each server to 2026.1.7, 2026.2.3, or 2026.3, or install the security patch plugin if the upgrade cannot happen yet.
- Configure a reverse proxy so only expected build agent addresses, including cloud agent and NAT gateway addresses, can reach the agent paths.
- Rotate credentials passed to any potentially affected builds, and treat artifacts from those builds as untrusted until verified.
- Keep servers on trusted networks, use a VPN for outside access, and run the server and build agents on separate hosts.
The vendor advisory has full details and any later changes.
How to Check for Compromise
JetBrains says to search teamcity-server.log for entries stating that an agent is the existing agent but presented a different authorization token. A non-empty token may indicate a takeover attempt, while an empty token is expected. For a non-empty token, use its timestamp to review the agent’s connection history, hostname, and source IP address, then compare them with build logs, build results, and published artifacts to see whether the attempt succeeded.
How watchTowr Is Helping Clients
The watchTowr Platform delivers Preemptive Exposure Management, identifying, validating, and mitigating external exposure across enterprise environments.
- 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
Request a demo to see how Rapid Reaction identifies exposure to emerging threats like CVE-2026-136858.
Our Vulnerability FAQ answers the common questions about CVE-2026-136858.
