CVE-2026-136858: Authentication bypass in JetBrains TeamCity agent registration
CVE-2026-136858 is a critical authentication-bypass vulnerability in JetBrains TeamCity On-Premises agent registration. An unauthenticated remote attacker can impersonate and potentially displace an existing authorized build agent, intercept builds assigned to that agent, obtain build secrets, and falsify build results or artifacts. All unpatched On-Premises versions are affected; fixes are available in the applicable release branches starting with 2026.1.7, 2026.2.3, and 2026.3. The vulnerability has a CVSS 3.1 base score of 9.1.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of credentials and other secrets supplied to intercepted builds and the integrity of build results and published artifacts. Tampered artifacts can introduce malicious code into downstream builds or applications, creating software supply-chain compromise risks. Agent impersonation can also displace the legitimate agent and redirect its assigned builds. No active exploitation was known at disclosure on December 2, 2026.
Mitigation
If you can’t patch tonight, do this now.
Restrict HTTP(S) requests to /app/agents and its subpaths using a reverse proxy or other path-aware access control, allowing only expected build-agent source addresses, including cloud-agent outbound addresses and NAT gateways. Limit TeamCity access to trusted networks or VPN connections. Review server logs for 'of the existing agent, but different authorization token'; a non-empty accompanying token may indicate a takeover attempt, while an empty token is expected for this check. Correlate suspicious entries with agent connection history, expected hostnames and source addresses, assigned builds, results, and published artifacts to assess whether takeover succeeded.
Remediation
Patch, then assume compromise.
Upgrade TeamCity On-Premises to the applicable fixed release, 2026.1.7, 2026.2.3, or 2026.3, or a later release containing the fix. If an immediate upgrade is not possible, install the dedicated security patch plugin available for TeamCity 2021.2 and later; installation does not require restarting the server. This plugin addresses only CVE-2026-136858 and does not replace other security updates. TeamCity Cloud has already received corrective measures and requires no customer action. If compromise is suspected, preserve relevant logs and build results, rotate credentials supplied to potentially affected builds, verify affected artifacts before trusting them, and trace their downstream use or deployment.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-136858 exploited in the wild?
- As of Dec 3, 2026, Mallory has no reports of CVE-2026-136858 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-136858?
- As of Dec 3, 2026, Mallory has found no public exploit for CVE-2026-136858.
- Is there a patch for CVE-2026-136858?
- Upgrade TeamCity On-Premises to the applicable fixed release, 2026.1.7, 2026.2.3, or 2026.3, or a later release containing the fix. If an immediate upgrade is not possible, install the dedicated security patch plugin available for TeamCity 2021.2 and later; installation does not require restarting the server.
- How severe is CVE-2026-136858?
- CVE-2026-136858 has a CVSS v3.1 score of 9.1 (Critical) as of Dec 3, 2026.
Recent activity
31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.