JetBrains TeamCity auth bypass exploited to steal build credentials
Original title: JetBrains TeamCity flaw exploited in the wild to steal dev credentials
Unauthenticated attackers impersonate build agents on all on-premises TeamCity servers, with fixes in 2026.1.7, 2026.2.3 and 2026.3.
A critical authentication bypass in JetBrains TeamCity, CVE-2026-136858, lets an unauthenticated attacker who can reach the server over HTTP or HTTPS pose as an existing build agent. Attackers can capture credentials and tokens sent to that agent, falsify build results and publish tampered artifacts. watchTowr honeypots saw attempts less than a day after patches, by guessing long-running agent IDs that often start at 1. On-premises servers are affected; TeamCity Cloud was patched server-side, and a plugin covers 2021.2 and later when an immediate upgrade is not possible.
Unconfirmed: watchTowr attributes the honeypot attempts to one unnamed actor also seen exploiting PHP2Shell; that link is the firm's assessment.
- Fixed builds are 2026.1.7, 2026.2.3 and 2026.3.
- A security patch plugin covers on-premises servers on 2021.2 or later.
- JetBrains says to search teamcity-server.log for a non-empty mismatched authorization token.
- Restrict /app/agents/ to expected build-agent source addresses.
- watchTowr links the same attacker to a recent PHP2Shell attempt against PAN-OS.
Impact: Steal build credentials and publish tampered artifacts
| Product | Affected | Fixed in |
|---|---|---|
| JetBrains TeamCity | All on-premises versions | 2026.1.7, 2026.2.3, and 2026.3 |
- 1.Upgrade to 2026.1.7, 2026.2.3 or 2026.3, or install the security patch plugin for 2021.2 or later.
- 2.Search teamcity-server.log for non-empty mismatched agent authorization tokens and review related builds.
- 3.If compromise is suspected, rotate credentials passed to affected builds and treat those artifacts as untrusted.
- CVEs
- CVE-2026-136858
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-136858 | Authentication bypass in JetBrains TeamCity agent registration | 9.1 | — |
From the original article
2 min read at csoonline.com
A critical authentication bypass in the popular JetBrains TeamCity CI/CD server is being exploited in the wild, with attackers able to intercept development credentials and access tokens passed to build agents during workflows. The flaw started being exploited within a day of public disclosure, highlighting the shrinking patch windows enterprises face in the age of AI-assisted patch analysis and exploit development.
csoonline.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.