# JetBrains TeamCity Authentication Bypass (CVE-2026-136858) Allows Build Agent Impersonation

- **Source:** [https://threatcluster.io/cluster/b3b74ad5](https://threatcluster.io/cluster/b3b74ad5)
- **Cluster ID:** `a8fbee8d-fda5-4662-83eb-c18bb3b74ad5`
- **Actionability:** 91.208  |  **Threat:** 78.62693  |  **Severity:** 86.9168
- **Articles:** 16  |  **Date range:** 2026-12-03T06:44:42+00:00 → 2026-12-03T13:34:17.073282+00:00
- **Keywords:** critical, teamcity, jetbrains, flaw, build, agents, authentication

## Summary

JetBrains disclosed CVE-2026-136858, an authentication bypass in TeamCity On-Premises (CVSS 9.1 per JetBrains and Heise, 9.2 per Cyber Daily), on 2 December 2026. An unauthenticated attacker with HTTP(S) access to a TeamCity server can impersonate an existing authorised build agent, intercept builds, access build secrets, and tamper with build results and artifacts. Heise and The Hacker News report that downstream builds consuming tampered artifacts could execute attacker-supplied code. JetBrains states all On-Premises versions are affected and that the issue was fixed in 2026.1.7, 2026.2.3 and 2026.3, with a security patch plugin available for versions 2021.2 and later. TeamCity Cloud has been corrected and requires no customer action. The flaw was privately reported by researcher Jiawei Guo on 24 November 2026. JetBrains says it is not aware of active exploitation. watchTowr reports observing exploitation attempts against its honeypot network on 3 December 2026, with the attacker guessing low agent IDs such as "1". Mitigations include restricting reverse proxy access to /app/agents paths to expected agent IP addresses.

Key Points:
• CVE-2026-136858 lets unauthenticated attackers impersonate build agents on all TeamCity On-Premises versions, exposing build secrets and enabling artifact tampering.
• Fixed in TeamCity 2026.1.7, 2026.2.3 and 2026.3; a security patch plugin is available for servers that cannot upgrade yet.
• watchTowr reports exploitation attempts on its honeypots one day after disclosure, guessing low agent IDs as the main prerequisite.
• JetBrains states it is not aware of active exploitation; TeamCity Cloud is already patched and needs no action.
• Restricting reverse proxy access to /app/agents/ endpoints to known agent addresses is an interim mitigation.

## Common questions

**Which TeamCity versions are affected?**

All TeamCity On-Premises versions are affected. Fixes are in 2026.1.7, 2026.2.3 and 2026.3, and a security patch plugin covers servers from 2021.2 onward; TeamCity Cloud is already patched.

**Is this being exploited?**

watchTowr reports observing exploitation attempts against its honeypots on 3 December 2026, while JetBrains says it is not aware of active exploitation.

**What should we do first?**

Upgrade to 2026.1.7, 2026.2.3 or 2026.3, or install the security patch plugin. Prioritise internet-facing servers and those whose builds handle credentials or publish artifacts, and restrict /app/agents/ access meanwhile.

## Severity reason

A critical (CVSS 9.1) unauthenticated flaw enabling secret theft and supply-chain artifact tampering, with early exploitation attempts reported by watchTowr.

## Timeline

- 2023-09-19 — CVE-2023-42793 published
- 2024-03-04 — CVE-2024-27198 published
- 2026-07-27 — CVE-2026-63077 published
- 2026-11-24 — Vulnerability privately reported to JetBrains
- 2026-12-02 — CVE-2026-136858 published
- 2026-12-03 — JetBrains discloses fix and advisory
- 2026-12-03 — Exploitation attempts observed by watchTowr

## Entities

- **attack_type:** Authentication Bypass, Data Breach, Supply Chain Attack
- **company:** SecurityWeek, WatchTowr, Palo Alto Pan-os
- **cve:** CVE-2023-42793, CVE-2024-27198, CVE-2026-136858, CVE-2026-63077
- **cwe:** CWE-287 - Improper Authentication
- **domain:** matclick.com, poetpages.com
- **platform:** JetBrains, JetBrains TeamCity, TeamCity, TeamCity Cloud, TeamCity On-Premises
- **sha256:** 01B5F7094DE0B2C6F8E28AA9A2DED678C166D615530E595621E692A9C0240732, 18101518EAE3EEC6EBE453DE4C4C380160774D7C3ED5C79E1813013AC1BB0B93, 19F1EF66E449CF2A2B0283DBB756850CCA396114286E1485E35E6C672C9C3641, 34C8F155601A3948DDB0D60B582CFE87DE970D443CC0E05DF48B1A1AD2E42B5E, 4BF1915785D7C6E0987EB9C15857F7AC67DC365177A1707B14822131D43A6166, 4EE70128C70D646C5C2A9A17AD05949CB1FBF1043E9D671998812B2DCE75CF0F, 620d2bf14fe345eef618fdd1dac242b3a0bb65ccb75699fe00f7c671f2c1d869, 773f0102720af2957859d6930cd09693824d87db705b3303cef9ee794375ce13, 7b666b978dbbe7c032cef19a90993e8e4922b743ee839632bfa6d99314ea6c53, 8afb71b7ce511b0bce642f46d6fc5dd79fad86a58223061b684313966efef9c7, 92c7693e82a90d08249edeafbca6533fed81b62e9e056dec34c24756e0a130a6, 950ADBAF66AB214DE837E6F1C00921C501746616A882EA8C42F1BAD5F9B6EFF4, 971f0ced6c42dd2b6e3ea3e6c54d0081cf9b06e79a38c2ede3a2c5228c27a6dc, b53e27c79eed8531b1e05827ace2362603fb9f77f53cee2e34940d570217cbf7, c37c109171f32456bbe57b8676cc533091e387e6ba733fbaa01175c43cfb6ebd, c40a8006a7b1f10b1b42fdd8d6d0f434be503fb3400fb948ac9ab8ddfa5b78a0, c7b01242d2e15c3da0f45b8adec4e6913e534849cde16a2a6c480045e03fbee4, c832462c15c8041191f190f7a88d25089d57f78e97161c3003d68d0cc2c4baa3, cb83e5cb264161c28de76a44d0edb450745e773d24bec5869d85f69633e44dcf, D724728344FCF3812A0664A80270F7B4980B82342449A8C5A2FA510E10600443, ebe231c90fad02590fc56d5840acc63b90312b0e2fee7da3c7606027ed92600e, f1b40e6e5a7cbc22f7a0bd34607b13e7e3493b8aad7431c47f1366f0256e23eb, F6194121E1540C3553273709127DFA1DAAB96B0ACFAB6E92548BFB4059913C69

## Sources (24)

- [Cve 2026 136858](https://blog.jetbrains.com/teamcity/2026/12/cve-2026-136858/)  *(blog.jetbrains.com, 2026-12-03T13:34:17.073282+00:00)*
- [Warning: Critical Vulnerability in JetBrains TeamCity On-Premises, Patch Immediately!](https://ccb.belgium.be/advisories/warning-critical-vulnerability-jetbrains-teamcity-premises-patch-immediately)  *(Ccb.Belgium.Be, 2026-12-04T18:06:50+00:00)*
- [JetBrains TeamCity Vulnerability Exploited One Day After Disclosure](https://www.securityweek.com/jetbrains-teamcity-vulnerability-exploited-one-day-after-disclosure/amp/)  *(Securityweek, 2026-12-04T10:55:09+00:00)*
- [CVE-2026-136858](https://nvd.nist.gov/vuln/detail/cve-2026-136858)  *(nvd.nist.gov, 2026-12-03T13:34:16.885769+00:00)*
- [Jetbrains Teamcity Vulnerability Exploited One Day After Disclosure](https://www.securityweek.com/jetbrains-teamcity-vulnerability-exploited-one-day-after-disclosure)  *(www.securityweek.com, 2026-12-04T11:44:52.499868+00:00)*
- [CVE-2026-136858](https://www.cve.org/CVERecord?id=CVE-2026-136858)  *(www.cve.org, 2026-12-04T22:01:49.397772+00:00)*
- [TeamCity 2026.1.7, 2026.2.3, or 2026.3](https://www.jetbrains.com/teamcity/download/other.html)  *(www.jetbrains.com, 2026-12-05T12:01:33.826929+00:00)*
- [Install And Start Teamcity Agents](https://www.jetbrains.com/help/teamcity/install-and-start-teamcity-agents.html)  *(www.jetbrains.com, 2026-12-03T15:36:07.825437+00:00)*
- [Aa23 347a](https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-347a)  *(www.cisa.gov, 2026-12-04T11:02:26.181901+00:00)*
- [JetBrains TeamCity Vulnerability Exploited One Day After Disclosure](https://www.securityweek.com/jetbrains-teamcity-vulnerability-exploited-one-day-after-disclosure/)  *(Securityweek, 2026-12-04T10:51:24+00:00)*
- [Hackers exploit critical JetBrains TeamCity flaw one day after disclosure](https://securityaffairs.com/204721/hacking/hackers-exploit-critical-jetbrains-teamcity-flaw-one-day-after-disclosure.html?amp)  *(Securityaffairs, 2026-12-05T13:04:41+00:00)*
- [JetBrains TeamCity Authentication Bypass (CVE-2026-136858)](https://watchtowr.com/intelligence/jetbrains-teamcity-authentication-bypass-cve-2026-136858/)  *(Watchtowr, 2026-12-04T03:38:46+00:00)*
- [Hackers Actively Exploit Critical JetBrains TeamCity Flaw to Hijack Build Agents](https://cybersecuritynews.com/teamcity-vulnerability-exploited/)  *(Cybersecuritynews, 2026-12-05T11:52:13+00:00)*
- [Update now! Hackers already targeting critical JetBrains TeamCity vulnerability](https://www.cyberdaily.au/security/14538-update-now-hackers-already-targeting-critical-jetbrains-teamcity-vulnerability)  *(Cyberdaily.Au, 2026-12-04T06:15:22+00:00)*
- [TeamCity build-server flaw attacked a day after JetBrains disclosed it](https://mlq.ai/news/teamcity-build-server-flaw-attacked-a-day-after-jetbrains-disclosed-it/)  *(Mlq.Ai, 2026-12-04T11:30:43+00:00)*
- [TeamCity CVE-2026-136858 Lets Attackers Hijack Build Agents](https://socradar.io/blog/teamcity-cve-2026-136858-build-agent-hijacking/)  *(Socradar, 2026-12-04T11:01:11+00:00)*
- [Teamcity Build Agent Auth Bypass Cve 2026 136858](https://blog.ostorlab.co/teamcity-build-agent-auth-bypass-cve-2026-136858.html)  *(blog.ostorlab.co, 2026-12-04T11:02:22.846503+00:00)*
- [JetBrains TeamCity flaw lets attackers manipulate builds](https://www.heise.de/en/news/JetBrains-TeamCity-flaw-lets-attackers-manipulate-builds-11547938.html)  *(Heise.De, 2026-12-03T14:54:39+00:00)*
- [JetBrains TeamCity flaw exploited in the wild to steal dev credentials](https://www.csoonline.com/article/4256998/jetbrains-teamcity-flaw-exploited-in-the-wild-to-steal-dev-credentials.html)  *(Csoonline, 2026-12-04T21:38:13+00:00)*
- [Mike Kipruto on X: "Critical JetBrains TeamCity vulnerability (CVE-2026-136858, CVSS 9.1 ...](https://x.com/itsMikeKipruto/status/2128385909301067985)  *(X, 2026-12-03T21:42:02+00:00)*
- [CVE-2026-136858: TeamCity Auth Bypass Now Under Attack](https://www.cyberkendra.com/2026/12/cve-2026-136858-teamcity-agent-auth-bypass.html)  *(Cyberkendra, 2026-12-04T08:47:23+00:00)*
- [Critical JetBrains TeamCity flaw exploited to hijack build agents](https://www.bleepingcomputer.com/news/security/critical-jetbrains-teamcity-flaw-exploited-to-hijack-build-agents/)  *(Bleepingcomputer, 2026-12-04T19:18:19+00:00)*
- [Critical TeamCity flaw lets unauthenticated attackers pose as build agents, grab secrets ...](https://www.helpnetsecurity.com/2026/12/03/teamcity-vulnerability-cve-2026-136858-fixed/)  *(Helpnetsecurity, 2026-12-03T14:50:03+00:00)*
- [Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication](https://thehackernews.com/2026/12/critical-jetbrains-teamcity-flaw-lets.html)  *(Thehackernews, 2026-12-03T06:44:42+00:00)*

---

_Source: [ThreatCluster](https://threatcluster.io/cluster/b3b74ad5). Cite as: ThreatCluster (https://threatcluster.io)._
