TeamCity CVE-2026-136858: Build Secrets Exposed, and No Fixed Release for 2025.11 or Older
JetBrains has disclosed CVE-2026-136858, a critical vulnerability in TeamCity On-Premises that lets an attacker with no TeamCity account pose as one of your build agents. According to JetBrains' security post, anyone who can reach the server over HTTP or HTTPS can impersonate an existing authorized agent, then intercept builds, read the secrets those builds use, and tamper with build results and artifacts. JetBrains says every On-Premises version is affected. TeamCity Cloud has already been fixed and needs no action.
The fix ships in three releases: 2026.1.7, 2026.2.3 and 2026.3. For servers that cannot be updated, JetBrains released a security patch plugin for TeamCity 2021.2 and later, which fixes this one flaw only. That leaves a clear line on the lifecycle: every version line past end of support, 2025.11 and older, has no fixed release, only the one-CVE plugin, and anything older than 2021.2 has nothing at all. The vulnerability was not on CISA's Known Exploited Vulnerabilities catalog when we published, and JetBrains reports no evidence of exploitation in TeamCity Cloud.
Key Dates at a Glance
- TeamCity 2026.3: released December 2, 2026, includes the fix
- TeamCity 2026.2: end of sale December 2, 2026; fixed in 2026.2.3
- TeamCity 2026.1: end of support December 2, 2026; fixed in 2026.1.7
- TeamCity 2025.11: end of support September 2, 2026; no fixed release, patch plugin only
- TeamCity 2025.07: end of support May 11, 2026; no fixed release, patch plugin only
Why a build agent is worth impersonating
A TeamCity server hands its agents everything a build needs: source code, signing keys, cloud credentials, package-registry tokens, deployment passwords. An attacker who passes as an agent receives the same material, and the agent's output, the compiled artifact, is what your release process ships. That is why a CI server flaw is a supply-chain problem, not just a server problem: the damage lands in whatever the builds produce, and in every system whose credentials the builds hold.
The prerequisite is network reach to the server, nothing more. Agents usually connect from inside the network, but many TeamCity servers are reachable from developer laptops, VPNs, cloud agents, or the internet. Every one of those paths counts.
Thirty seconds: which TeamCity are you running?
TeamCity prints its version in the footer of its web pages, including the login page on default configurations, and it is also shown under Administration | Updates, the same page where the security patch plugin appears. If it reads 2026.1.7, 2026.2.3, 2026.3 or later on those lines, this vulnerability is fixed. If it reads anything else, the table below tells you which of three situations you are in.
Which versions get a fix, and which do not
JetBrains' release-cycle policy sets two dates for each major version. End of sale comes when the next major version ships, and after it "no bugfix updates or patches are usually provided", with an exception for critical issues. End of support comes when two newer major versions have shipped. TeamCity 2026.3 arrived the same day as the fix, so on that day 2026.2 reached end of sale and 2026.1 reached end of support. JetBrains still shipped 2026.1.7 on its last day, which is the critical-issue exception at work. 2025.11 had already left support, and it got no release.
| Version line | Status | Lifecycle date | Fixed release for CVE-2026-136858 |
|---|---|---|---|
| 2026.3 | Supported | Released Dec 2, 2026 | Yes — 2026.3 |
| 2026.2 | Supported | End of sale Dec 2, 2026 | Yes — 2026.2.3 |
| 2026.1 | EOL | End of support Dec 2, 2026 | Yes — 2026.1.7 |
| 2025.11 | EOL | End of support Sep 2, 2026 | None — patch plugin only |
| 2025.07 | EOL | End of support May 11, 2026 | None — patch plugin only |
| 2025.03 | EOL | End of support Nov 27, 2025 | None — patch plugin only |
| 2024.12 | EOL | End of support Jul 23, 2025 | None — patch plugin only |
| 2024.07 | EOL | End of support Mar 20, 2025 | None — patch plugin only |
| 2021.2 to 2024.03 | EOL | End of support before 2025 | None — patch plugin only |
| Before 2021.2 | EOL | Past end of support for years | None — no plugin either |
Two things in that table are easy to miss. First, a server on 2026.1 or 2026.2 is not patched just because its line received a fix: it needs the point release, or the plugin. Second, the plugin rows are not the same as the fixed rows. JetBrains is explicit that the plugin "will address only the vulnerability described above". A 2025.11 server with the plugin installed is closed against CVE-2026-136858 and still outside the release cycle for whatever is found next. The exploited TeamCity flaw we covered in August, CVE-2026-63077, followed the same pattern on a different set of lines.
What to do, by situation
On 2026.1, 2026.2 or 2026.3
Take the point release: 2026.1.7, 2026.2.3, or 2026.3. JetBrains notes that servers on 2026.2.2 or later with automatic security patch installation turned on should pick up the patch plugin by themselves, and recommends turning that setting on. Note that 2026.1 is now past end of support, so a server that stays on 2026.1.7 is fixed for this CVE but should be planned onto 2026.2 or 2026.3.
On 2021.2 to 2025.11
Install the security patch plugin now. From 2024.03 TeamCity can download available security patches by itself and notify administrators; on older versions it is a manual install, and it needs no server restart. Then treat the upgrade as the real fix: these lines receive no further releases, so the plugin buys time for this flaw only.
Before 2021.2
There is no remedy short of upgrading. Until you can, cut network reach to the server down to the agents and the people who need it, and rotate the secrets your builds use once the server is upgraded, since anything a build could read could have been read by an impersonated agent.
Everyone
Restrict who can reach the TeamCity server, as JetBrains' own best-practice note advises. It is a real mitigation, and it is not a patch.
curl -H "X-API-Key: YOUR_KEY" https://api.endoflife.ai/v1/product/teamcityGet a free API key → (50 requests a day, no card) · Scan a whole stack at once · Plans and endpointsTeamCity currently carries an EOL Risk Score™ of 65/100 — Grade D, high risk, recalculated at every site build from EOL recency, attack surface, CISA KEV exposure, and extended-support availability. Per-version scores and dates are on the TeamCity lifecycle page.
The right response comes down to one question: how many more years does this system need to run? Under a year, extended support (where it exists) is usually cheaper than an emergency migration. One to three years, migrate — support fees paid repeatedly cost more than doing the project once. Indefinitely, migrate now and plan the next one before it surprises you. Extended support is often the more expensive choice over a multi-year horizon — a bridge, not a destination. And if this deadline feels like vendor caprice, it isn’t — why end of life is inevitable for every version, with the receipts.
Frequently Asked Questions
What is CVE-2026-136858?
A critical vulnerability in JetBrains TeamCity On-Premises. An attacker who can reach a TeamCity server over HTTP or HTTPS, with no TeamCity user account, can impersonate an existing authorized build agent, intercept builds, read the secrets those builds use, and tamper with build results and artifacts. JetBrains says all On-Premises versions are affected. TeamCity Cloud has already been fixed and needs no action.
Which TeamCity versions get a fix for CVE-2026-136858?
Three releases contain the fix: 2026.1.7, 2026.2.3 and 2026.3. For servers that cannot be updated, JetBrains released a security patch plugin for TeamCity 2021.2 and later that fixes this vulnerability only. Lines past end of support, 2025.11 and older, have no fixed release, and versions before 2021.2 have neither a fixed release nor the plugin.
Is TeamCity 2025.11 still supported?
No. Under JetBrains' release cycle, a major version reaches end of support when two newer major versions have shipped, and 2025.11 reached it on September 2, 2026, when 2026.2 was released. It received no fixed release for CVE-2026-136858; the security patch plugin is the only remedy JetBrains offers for it, and the plugin covers this one vulnerability, not future ones.
Does the TeamCity security patch plugin make an old version safe?
It closes CVE-2026-136858 and nothing else. JetBrains states that the plugin addresses only this vulnerability and recommends updating to a current version for all other security fixes. A server on an end-of-support line with the plugin installed is patched against this flaw and still outside the release cycle for the next one.
Related
- All TeamCity versions with live status · TeamCity 2025.11 — dates and risk score
- TeamCity CVE-2026-63077 — the exploited TeamCity flaw from August 2026, fixed on two lines only
- Every Jenkins LTS except the newest has no fix for CVE-2026-70426 — the same story on the other major CI server
- Why End of Life Is Inevitable — the economics behind "fixes ship only in current lines"