Hackers exploit critical JetBrains TeamCity flaw one day after disclosure
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.
- 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.
Impact: impersonate build agents, steal secrets, and tamper with artifacts
| Product | Affected | Fixed in |
|---|---|---|
| JetBrains TeamCity On-Premises | all TeamCity On-Premises versions | 2026.1.7, 2026.2.3, 2026.3 |
- 1.Upgrade to 2026.1.7, 2026.2.3, or 2026.3, or install the security patch plugin.
- 2.Inspect teamcity-server.log for mismatched authorization tokens and non-empty tokens.
- 3.Rotate exposed credentials, treat artifacts as compromised, and restrict /app/agents.
- CVEs
- CVE-2026-136858
- Vendors
- JetBrains
- Products
- TeamCity On-Premises
- Organizations
- watchTowr
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
3 min read at securityaffairs.comHackers 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.
By Pierluigi Paganini · securityaffairs.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.