Source: CSO Online
Author:
ONE SENTENCE SUMMARY:
Attackers exploit TeamCity CVE-2026-136858 to impersonate build agents, steal secrets, tamper builds, and outpace enterprise patching defenses.
MAIN POINTS:
- CVE-2026-136858 enables unauthenticated agent impersonation over HTTP/HTTPS access.
- Exploitation began within a day of public disclosure and patch release.
- Attackers can intercept credentials, tokens, and secrets sent to build agents.
- Intruders may falsify build results and publish malicious artifacts for later execution.
- watchTowr honeypots observed in-the-wild attacks shortly after fixes shipped.
- Current activity involves guessing sequential IDs of long-running build agents.
- All on-premises TeamCity versions are impacted according to JetBrains’ advisory.
- Fixed releases include 2026.1.7, 2026.2.3, and 2026.3.
- A patch plugin exists for 2021.2+ servers unable to upgrade immediately.
- TeamCity Cloud was remediated server-side, unlike self-hosted installations.
TAKEAWAYS:
- Investigate teamcity-server.log entries mentioning agent mismatch with non-empty tokens.
- Correlate suspicious timestamps to agent connections, builds executed, and artifacts produced.
- Confirm expected hostname and source IP address for each build agent connection.
- Restrict /app/agents/ access to known agent IPs to reduce exposure.
- Rotate potentially exposed credentials and treat affected build artifacts as untrusted.