CVE-2026-136858, a critical vulnerability in on‑premises TeamCity with a CVSS score of 9.1, lets an unauthenticated attacker who can reach a server over HTTP(S) impersonate an authorized build agent and take over its work.
JetBrains' assessment of the risk
In an alert published Wednesday, JetBrains warned that "If exploited, this vulnerability may allow an unauthenticated attacker who can reach a TeamCity server over HTTP(S) to impersonate an existing authorized build agent." The company spelled out the specific consequences: an attacker "could intercept builds, access build secrets, and tamper with build results and artifacts."
JetBrains added that exploitation requires no TeamCity user account. The company described the likely attack effects in concrete terms: "A successful exploitation could displace a legitimate build agent and intercept builds assigned to it. This can expose credentials and other secrets passed to the agent. An attacker could also falsify build results or publish tampered artifacts. Downstream builds that consume those artifacts could execute attacker‑supplied code."
Technical scope: which installations and components are affected
JetBrains said all TeamCity On‑Premises versions are vulnerable to CVE-2026-136858. The attack vector is specific: an attacker must be able to reach a TeamCity server over HTTP(S) and then may impersonate an existing authorized build agent. Because the flaw targets agent identification and assignment, the immediate risk is to CI/CD pipelines that rely on on‑premises TeamCity agents for builds, artifact publication, and secret handling.

Audit-ready is a season. It shouldn't be.
Evidence in spreadsheets, controls drifting between audits, frameworks multiplying on flat headcount. Nubivance runs continuous compliance on Rapid7 Cyber GRC - SOC 2, HIPAA, ISO 27001, PCI, CMMC.
End the scrambleAvailable fixes and recommended mitigations
JetBrains has released patches in TeamCity versions 2026.1.7, 2026.2.3, and 2026.3 and is urging customers to update servers to one of those patched releases. For organizations that cannot apply an update without restarting the TeamCity server, JetBrains has made a security patch plugin available for TeamCity 2021.2 or later.
As an additional mitigation, JetBrains recommends configuring reverse proxies to restrict access to the agent endpoints. Specifically, users should allow requests to /app/agents and its subpaths only from IP addresses where they expect legitimate build agents to originate, and "Include the outbound addresses used by cloud agents and any NAT gateways they connect through," the company advised. JetBrains also noted that TeamCity Cloud users do not need to take action.
Context: a recent precedent of weaponization
JetBrains' disclosure comes nearly four months after another critical TeamCity vulnerability, CVE-2026-63077 (CVSS 9.8), was weaponized in real‑world attacks, according to the U.S. Cybersecurity and Infrastructure Security Agency (CISA). JetBrains additionally reported there is no evidence so far that CVE-2026-136858 is being actively exploited.
The current flaw was responsibly disclosed to JetBrains by security researcher Jiawei Guo on November 24, 2026, and the company credited Guo in its advisory.
What this means for security teams, enterprise DevOps, and TeamCity Cloud users
- Security teams and incident responders: Prioritize deploying the patched on‑premises TeamCity versions (2026.1.7, 2026.2.3, 2026.3) or installing the JetBrains security plugin for 2021.2+ if restarts are prohibitive; tighten reverse‑proxy rules to limit /app/agents access to known agent IPs and include cloud agent outbound addresses and NAT gateways in those allowlists.
- Enterprise DevOps and procurement leaders: Treat build agents and artifact pipelines as high‑value targets—updates should be scheduled and tested urgently because a compromised agent can expose credentials, falsify build outputs, and introduce attacker code into downstream artifacts.
- TeamCity Cloud users: According to JetBrains, no action is required for TeamCity Cloud customers for this specific vulnerability.
JetBrains has provided both immediate configuration mitigations and software updates; organizations running on‑premises TeamCity must choose the path—patch now, deploy the plugin, or restrict access at the network edge. The company reports no active exploitation of CVE-2026-136858, but the recent weaponization of a different TeamCity flaw earlier this year elevates the consequences of delay. The disclosure, credited to Jiawei Guo on November 24, 2026, leaves administrators with a clear, actionable checklist: apply a patched release, install the plugin if needed, and lock down /app/agents at the reverse proxy.
Original reporting: https://thehackernews.com/2026/12/critical-jetbrains-teamcity-flaw-lets.html




