JetBrains Patches Critical TeamCity Flaw Enabling Build Agent Impersonation

· Original article ↗

Summary

JetBrains patched CVE-2026-136858, which could let unauthenticated attackers with HTTP(S) access impersonate TeamCity build agents. The company says it is unaware of active exploitation and found no evidence of exploitation in TeamCity Cloud.

Key points

  • CVE-2026-136858 affects unpatched TeamCity On-Premises versions and was privately reported by researcher Jiawei Guo.
  • An attacker with HTTP(S) access to a vulnerable server could impersonate a trusted build agent without a TeamCity account.
  • JetBrains fixed the flaw in versions 2026.1.7, 2026.2.3, and 2026.3; a security patch plugin is available for versions 2021.2 and later.
  • The plugin can be installed without restarting the server; JetBrains also recommends restricting network access to trusted systems.
  • Administrators should check for unexpected agent authorization tokens and investigate related build activity.
  • For suspected compromise, JetBrains advises preserving logs, rotating exposed credentials, and verifying build artifacts before trusting them.
  • JetBrains says it secured TeamCity Cloud, found no evidence of exploitation there, and was unaware of active exploitation at disclosure.

Article Details

Vulnerability Types
  • Build agent impersonation
Severity
Critical
Affected Versions
  • TeamCity On-Premises: all unpatched versions
Exploitation Status
not_reported
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Restrict network access to trusted systems.

CVE

People

Vendors

Products

Related Articles