Proactive Threat Intelligence from the team that finds the vulnerabilities. We publish what is being exploited right now, who is doing it, and whether it reaches you. No vendor summaries written a week late.

Updated Dec 4, 2026

JetBrains TeamCity Authentication Bypass (CVE-2026-136858)

CVE-2026-136858 is an Authentication Bypass in JetBrains TeamCity On-Premises that lets an attacker without an account impersonate a build agent and steal build secrets. Update to 2026.1.7, 2026.2.3, or 2026.3, or apply the patch plugin.

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.

CVEDescriptionCVSSExploited in the wild
CVE-2026-136858Authentication Bypass in JetBrains TeamCity9.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?

ProductAffected VersionsFixed Version
JetBrains TeamCity On-PremisesAll versions; before 2026.3, 2026.2.3, 2026.1.72026.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.

  1. Preserve server logs and build results from each TeamCity On-Premises server before making any changes.
  2. 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.
  3. 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.
  4. Configure a reverse proxy so only expected build agent addresses, including cloud agent and NAT gateway addresses, can reach the agent paths.
  5. Rotate credentials passed to any potentially affected builds, and treat artifacts from those builds as untrusted until verified.
  6. 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.


If you are a watchTowr client

Want to know if this reaches you, before the next one?

watchTowr validates exposure and mitigates at the edge in under an hour.

On this page
Attackers Move Fast. We Move Faster.

Zero install. No infrastructure changes. Uplift your security posture within hours of onboarding the watchTowr Platform.

Find Out What an Attacker Can Reach Before They Do.

Point us at a domain. We reconstruct your real external estate and come back with validated exposure, not a theoretical CVE list.

Disclosure to Exploitation Is Four Hours. Patching Is Not.

The watchTowr Platform validates your exposure to an emerging threat and mitigates it at the edge while the vendor patch is still in testing.

We Find the Vulnerabilities. You Hear It From Us First.

watchTowr Labs publishes what is being exploited right now and whether it touches your estate, not vendor summaries written a week late.

Your Exposure Changes Constantly. A Once-a-Year Assessment Cannot Describe It.

Continuous validation of what an attacker can actually exploit across your attack surface, at a 0.01% false-positive rate.

See the Estate You Own, Including What No Asset List Holds.

Subsidiaries, forgotten infrastructure, shadow IT. We rebuild your external surface from a single domain, then validate what is exposed.