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

Hackers exploit critical JetBrains TeamCity flaw one day after disclosure

Security Affairsby Pierluigi Paganini ()3 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

CVE-2026-136858 lets unauthenticated attackers impersonate build agents; fixes are 2026.1.7, 2026.2.3 and 2026.3.

JetBrains disclosed CVE-2026-136858 on December 2, a CVSS 9.1 authentication bypass in all TeamCity On-Premises versions. An attacker who can reach the server over HTTP(S) can impersonate an authorized build agent, intercept builds, steal secrets, and change artifacts. watchTowr said attempts hit its honeypot on December 3 after the patch was reverse-engineered. Fixed releases are 2026.1.7, 2026.2.3 and 2026.3, and a no-restart plugin covers TeamCity 2021.2 or later.

Unconfirmed: watchTowr's reported link of the same actor to an earlier PHP2Shell attack on a Palo Alto PAN-OS device comes via SecurityWeek and is not confirmed in the JetBrains advisory.

Key facts
  • watchTowr observed exploitation attempts on December 3, one day after disclosure.
  • The exploit needs a live build agent ID, and agent IDs start at 1.
  • TeamCity Cloud is already updated, JetBrains said.
  • The plugin for TeamCity 2021.2 or later installs without a server restart.
  • JetBrains advises checking logs for mismatched and non-empty authorization tokens.
Security assessment · AI, from the articleExploited in the wild

Impact: impersonate build agents, steal secrets, and tamper with artifacts

ProductAffectedFixed in
JetBrains TeamCity On-Premisesall TeamCity On-Premises versions2026.1.7, 2026.2.3, 2026.3
What to do
  1. 1.Upgrade to 2026.1.7, 2026.2.3, or 2026.3, or install the security patch plugin.
  2. 2.Inspect teamcity-server.log for mismatched authorization tokens and non-empty tokens.
  3. 3.Rotate exposed credentials, treat artifacts as compromised, and restrict /app/agents.
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

3 min read at securityaffairs.com

Hackers exploited a critical JetBrains TeamCity flaw one day after disclosure, impersonating build agents to steal secrets and tamper with software builds. JetBrains disclosed CVE-2026-136858 (CVSS score of 9. 1), a critical authentication bypass in TeamCity On-Premises, on December 2.

Security Affairs

By Pierluigi Paganini · securityaffairs.com

Read the full article at Security Affairs

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.