---
title: Critical TeamCity On-Premises flaw CVE-2026-136858 lets an unauthenticated attacker impersonate build agents; fixed in 2026.1.7, 2026.2.3 and 2026.3 | ctxsec
url: https://ctxsec.com/items/jetbrains-teamcity-cve-2026-136858-unauthenticated-build-agent-impersonation-2026-1-7-2026-2-3-2026-3
description: "JetBrains says CVE-2026-136858 affects all TeamCity On-Premises versions: anyone who can reach the server over HTTP(S), with no account, can impersonate an existing authorized build agent, intercept builds and their secrets, and tamper with build results and artifacts. Fixed in 2026.1.7, 2026.2.3 and 2026.3; a security patch plugin covers 2021.2 and later. TeamCity Cloud needs no action. JetBrains reports no evidence of exploitation."
status: "vendor advisory (JetBrains, Dec 2); no known exploitation"
published: 2026-12-02
---

> JetBrains says CVE-2026-136858 affects all TeamCity On-Premises versions: anyone who can reach the server over HTTP(S), with no account, can impersonate an existing authorized build agent, intercept builds and their secrets, and tamper with build results and artifacts. Fixed in 2026.1.7, 2026.2.3 and 2026.3; a security patch plugin covers 2021.2 and later. TeamCity Cloud needs no action. JetBrains reports no evidence of exploitation.

[← Cybersecurity News](/news) · [markdown](/items/jetbrains-teamcity-cve-2026-136858-unauthenticated-build-agent-impersonation-2026-1-7-2026-2-3-2026-3.md)

vendor advisory (JetBrains, Dec 2); no known exploitation

2026-12-02 · published here

2026-12-03 4:39 AM ET

### Critical TeamCity On-Premises flaw CVE-2026-136858 lets an unauthenticated attacker impersonate build agents; fixed in 2026.1.7, 2026.2.3 and 2026.3

- Reported privately by Jiawei Guo on Nov 24, 2026. The Hacker News reports a CVSS score of 9.1.
- Servers on 2026.2.2 or later with automatic security patch installation enabled should pull the patch on their own.
- Extra mitigation per JetBrains (as reported by The Hacker News): at the reverse proxy, allow /app/agents and its subpaths only from expected build-agent IPs, including cloud-agent and NAT gateway egress addresses.
- A previous TeamCity flaw, CVE-2026-63077, was exploited in the wild this year.

Sources: [JetBrains TeamCity blog (Dec 2, 2026)](https://blog.jetbrains.com/teamcity/2026/12/cve-2026-136858/) · [The Hacker News (Dec 3, 2026)](https://thehackernews.com/2026/12/critical-jetbrains-teamcity-flaw-lets.html)
