Skip to content
NewA calmer, faster ZeroHour
Exploit / PoCcriticalExploited in the wild

JetBrains TeamCity auth bypass exploited to steal build credentials

Original title: JetBrains TeamCity flaw exploited in the wild to steal dev credentials

CSO Online ()2 min read2 · 1 read
Part of a story covered by 9 sourcesTeamCity agent-impersonation flaw draws honeypot attempts after patchMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the articleExploited in the wild

Impact: Steal build credentials and publish tampered artifacts

ProductAffectedFixed in
JetBrains TeamCityAll on-premises versions2026.1.7, 2026.2.3, and 2026.3
What to do
  1. 1.Upgrade to 2026.1.7, 2026.2.3 or 2026.3, or install the security patch plugin for 2021.2 or later.
  2. 2.Search teamcity-server.log for non-empty mismatched agent authorization tokens and review related builds.
  3. 3.If compromise is suspected, rotate credentials passed to affected builds and treat those artifacts as untrusted.
Analyze CVE-2026-136858 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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.

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.