JetBrains Fixes Critical TeamCity Flaw CVE-2026-136858 Amid Exploitation Reports
Key Facts
- CVE-2026-136858 is an authentication bypass during TeamCity agent registration (CWE-639) affecting all TeamCity On-Premises versions.
- JetBrains scores it CVSS 3.1 9.1 CRITICAL with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
- JetBrains fixed the flaw in 2026.3, 2026.2.3 and 2026.1.7 and released a security patch plugin for TeamCity 2021.2 and later.
- JetBrains said on December 2 it was not aware of active exploitation; watchTowr reported on December 3-4 it observed exploitation attempts in its Attacker Eye honeypot network.
- TeamCity Cloud was already remediated by JetBrains with no evidence of exploitation found in that environment.
JetBrains has fixed CVE-2026-136858, a critical authentication bypass in TeamCity On-Premises that lets an unauthenticated attacker who can reach the server over HTTP or HTTPS impersonate an existing authorized build agent. The CVE record was published on December 2, 2026, with a CVSS 3.1 score of 9.1, rated Critical.
The flaw sits in agent registration. By exploiting the authorization check, an attacker can displace a legitimate build agent, intercept builds assigned to it, access credentials and other secrets passed to the agent, and falsify build results or publish tampered artifacts. Downstream builds that consume those artifacts could then execute attacker-supplied code. No TeamCity user account is required.
What is confirmed
JetBrains, acting as the assigning CNA, classifies the weakness as CWE-639, authorization bypass through user-controlled key. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N: network-reachable, low complexity, no privileges or user interaction, unchanged scope, with high confidentiality and integrity impact and no availability impact.
All TeamCity On-Premises versions are affected. The fix is in 2026.3, 2026.2.3 and 2026.1.7. For sites that cannot upgrade immediately, JetBrains released a hot-installable security patch plugin for TeamCity 2021.2 and later, which addresses only this issue and does not require a server restart. TeamCity Cloud customers need to take no action: JetBrains says it already applied the corrective measures to its cloud service and found no evidence of exploitation there.
Security researcher Jiawei Guo privately reported the issue to JetBrains on November 24, 2026, under its coordinated disclosure policy.
What about exploitation
Here the public record splits by date and observer, and the distinction matters.
At publication on December 2, JetBrains said it was not aware of any active exploitation. It still published indicators of compromise and recommended restricting requests to /app/agents and its subpaths to trusted IP addresses.
One day later, watchTowr warned that threat actors had started exploiting the flaw in the wild. Its December 3-4 reporting says the vulnerability was reverse-engineered, reproduced and exploited against its Attacker Eye honeypot network about a day after disclosure. The observed attempts tried to guess established build-agent ID numbers, which watchTowr notes is easier when agent IDs are commonly numbered. It attributes the activity to the same actor that previously exploited PHP2Shell against a Palo Alto device in its honeypot.
That is a single firm’s honeypot observation, not a confirmed broad exploitation census. The public record reviewed for this article does not show a CISA Known Exploited Vulnerabilities listing for CVE-2026-136858. Treat the exploitation status as: confirmed honeypot exploitation reported by one reputable detector, unconfirmed scale beyond that network.
What to do
Prioritize internet-reachable TeamCity On-Premises servers first, then servers whose builds handle credentials or publish artifacts consumed by other builds. Update to 2026.3, 2026.2.3 or 2026.1.7, or install the security patch plugin where an upgrade must wait.
Preserve logs and search for signs of agent takeover before patching, since a patch does not remediate a prior compromise. Limit agent-connection paths to trusted networks, including at the reverse proxy, keep servers and agents on separate hosts where possible, and enable automatic security-patch installation on 2026.2.2 and later so verified patches arrive without manual delay.
Sources & References
- JetBrains advisory for CVE-2026-136858 in TeamCity On-Premises, with fixed versions and patch plugin. https://blog.jetbrains.com/teamcity/2026/12/cve-2026-136858/
- CVE record for CVE-2026-136858, published December 2, 2026, with CVSS 3.1 analysis. https://www.cve.org/CVERecord?id=CVE-2026-136858
- watchTowr Rapid Reaction reporting honeypot exploitation of CVE-2026-136858 and exposure guidance. https://watchtowr.com/intelligence/jetbrains-teamcity-authentication-bypass-cve-2026-136858/
- CVE-2026-136858 — National Vulnerability Database
Analyst-reviewed briefings on active exploitation, ransomware operations, nation-state campaigns, and the threat intelligence that connects them.
Security Digest
The most important cybersecurity stories, CVE alerts, and threat intelligence — one concise email. Unsubscribe anytime.
Related Articles
Erlang/OTP TLS Flaw Lets a Malicious Server Impersonate HTTPS Endpoints
CVE-2026-124286 lets an Erlang/OTP TLS 1.2 client accept a server that never proves its identity, exposing traffic to interception.
Rapid7 Details VMware vCenter SRP Authentication Bypass to Root (CVE-2026-123890)
Rapid7 explains how an unauthenticated attacker can recover an in-progress vCenter administrator session key and log in without the account password.
Critical Gitea Flaw Under Active Exploitation, Researchers Warn Vulnerability (CVE-2026-20896)
Specific to Gitea’s official Docker images, the critical-severity security defect is tracked as CVE-2026-20896 (CVSS score of 9.8) and can be exploited with...
Palo Alto Warns of Exploitation of VPN Bypass Exploits (CVE-2026-0257) in PAN-OS Flaw
"Only a small portion of the probed devices actually established VPN sessions, resulting in gateway-connected events." The company has also released...