Critical TeamCity Flaw Could Let Unauthenticated Attackers Hijack Build Agents

· Original article ↗

Summary

JetBrains disclosed CVE-2026-136858, a critical flaw in all on-premises TeamCity versions that could let unauthenticated attackers impersonate build agents. Patched versions and additional mitigations are available; JetBrains reported no evidence of active exploitation.

Key points

  • CVE-2026-136858 has a CVSS score of 9.1 and affects all TeamCity On-Premises versions.
  • An unauthenticated attacker who can reach a TeamCity server over HTTP(S) could impersonate an authorized build agent.
  • Potential impacts include intercepted builds, exposed credentials and secrets, falsified build results, and tampered artifacts that could deliver attacker-supplied code to downstream builds.
  • JetBrains patched the flaw in versions 2026.1.7, 2026.2.3, and 2026.3. A security patch plugin is available for TeamCity 2021.2 or later when an update requiring a restart is not feasible.
  • JetBrains recommends restricting reverse-proxy requests to /app/agents and its subpaths to expected build-agent IP addresses. TeamCity Cloud users require no action.
  • JetBrains said it had no evidence of active exploitation and credited Jiawei Guo with reporting the issue on November 24, 2026.

Article Details

Vulnerability Types
  • Authentication bypass
Severity
Critical (CVSS 9.1/10.0)
Affected Versions
  • TeamCity On-Premises (all versions)
Exploitation Status
not_reported
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Configure the reverse proxy to allow requests to /app/agents and its subpaths only from IP addresses where legitimate build agents are expected to originate.
  • For servers that cannot be updated without restarting, JetBrains provides a security patch plugin.

MITRE ATT&CK

CVE

People

Vendors

Products

Related Articles