TeamCity Fixes Critical Build-Agent Impersonation Flaw; Attempts Reported

· Original article ↗

Summary

JetBrains patched CVE-2026-136858, an unauthenticated TeamCity On-Premises agent-impersonation flaw. JetBrains reported no evidence of exploitation; watchTowr observed attempts, but no successful attacks were publicly reported. Updates and mitigations are available.

Key points

  • CVE-2026-136858 (CVSS 9.1, CWE-639) can let a network attacker without a TeamCity account impersonate a registered On-Premises build agent.
  • A hijacked agent slot could expose build secrets, return falsified results, or publish tampered artifacts that enter downstream pipelines.
  • TeamCity On-Premises versions before 2026.1.7, 2026.2.3, and 2026.3 are affected; TeamCity Cloud is reported fixed.
  • JetBrains said it had no evidence of exploitation, while watchTowr reported observing attempts. No successful attacks or victims had been publicly reported as of December 4, 2026.
  • JetBrains recommends upgrading; its security patch plugin for TeamCity 2021.2 and later is a stopgap. Restricting /app/agents access to real agent IPs is an interim measure.
  • If logs indicate a takeover, the article recommends treating build-exposed secrets as compromised, rotating credentials, and reviewing build results and artifacts.
  • Separately, CVE-2026-87887 in the Acronis Backup integrations was added to CISA's KEV catalog after confirmed exploitation. Acronis reported limited, targeted attacks against cPanel and WHM; no Plesk exploitation was confirmed.

Article Details

Vulnerability Types
  • Authorization bypass through a user-controlled key
  • Incorrect authorization
Severity
Critical (CVSS 9.1) for CVE-2026-136858
Affected Versions
  • TeamCity On-Premises 2026.1.x before 2026.1.7
  • TeamCity On-Premises 2026.2.x before 2026.2.3
  • TeamCity On-Premises older releases; the article identifies 2026.3 as a fix and a security patch plugin for TeamCity 2021.2 and later
Exploitation Status
reported
Exploit Availability
none_reported
Patch Status
available
Workarounds
  • Install the security patch plugin on TeamCity 2021.2 or later.
  • Restrict access to /app/agents and all paths beneath it to the IP addresses used by legitimate agents, enforced at a reverse proxy or another path-aware control.

MITRE ATT&CK

CVE

People

Vendors

Products

Related Articles