TeamCity Vulnerability CVE-2026-136858: Attackers Try to Hijack Build Agents a Day After Disclosure, and the Fixed Versions to Install
Attempted attacks on critical TeamCity flaw CVE-2026-136858 began one day after disclosure. Here is what is confirmed, which versions fix it, and what to do this week.
Where Worldwide
On this page 8 sections
Attackers are trying to break into JetBrains TeamCity On-Premises through a critical flaw tracked as CVE-2026-136858. TeamCity is the build server many development teams use to compile, test and ship their software. If your company or your developers run their own TeamCity server, this flaw lets an attacker pose as a build agent the server already trusts and receive the jobs meant for it. Update to a fixed version this week.
What happened with the TeamCity vulnerability
TeamCity hands build work to machines called build agents. An agent registers with the server, and the server sends it jobs. CVE-2026-136858 is a flaw in that registration step. The US National Vulnerability Database (NVD) describes it as: "In JetBrains TeamCity before 2026.3, 2026.2.3, 2026.1.7 authentication bypass during agent registration".
BleepingComputer's report sums up the effect: "CVE-2026-136858 allows an attacker to impersonate a worker the server already trusts and receive jobs intended for it."
The same report says JetBrains published a bulletin on December 2, "strongly recommending" that all users update to versions 2026.1.7, 2026.2.3 and 2026.3, which fix the issue. It also says attempted exploitation in the wild began one day after public disclosure, based on data from watchTowr. In the report's words: "The activity was observed just one day after the public disclosure". watchTowr is quoted saying: "The watchTowr team is rapidly reacting to CVE-2026-136858".
Confirmed vs claimed: what we know about CVE-2026-136858
| Point | Status | Where it comes from |
|---|---|---|
| Affected: TeamCity before 2026.3, 2026.2.3, 2026.1.7 | Confirmed | NVD record |
| Severity: CVSS 9.1, Critical | Confirmed | NVD record |
| Flaw type: authentication bypass during agent registration | Confirmed | NVD record |
| Fixed versions: 2026.1.7, 2026.2.3, 2026.3 | Reported | BleepingComputer, citing the JetBrains bulletin |
| Patch plugin for 2021.2 and later, no restart needed | Reported | BleepingComputer, citing JetBrains |
| Attempted exploitation from one day after disclosure | Reported | BleepingComputer, citing watchTowr data |
The NVD entry matches the versions in the news report. We did not read the JetBrains bulletin itself, so the fix details here are the ones BleepingComputer reported. Read the bulletin before you upgrade.
Which TeamCity versions are affected
NVD says TeamCity versions before 2026.1.7, 2026.2.3 and 2026.3 are affected. The fixed releases are 2026.1.7, 2026.2.3, or 2026.3. The sources we checked do not say which existing installations need which fixed version. For installations not covered by those versions, JetBrains offers a security patch plugin that works on TeamCity 2021.2 and later.
The reports name TeamCity On-Premises, the edition you host yourself. The sources we checked say nothing either way about JetBrains' hosted TeamCity Cloud.
Why a hijacked build agent matters for a business
A build server sits at the centre of how software gets made. It pulls source code, runs tests and often produces the files that end up on your website, in your app or on your servers. Build jobs can carry things an attacker wants, such as source code and, in many setups, the keys used to deploy. An attacker who can pose as a trusted agent and receive those jobs is sitting in the middle of that process.
That makes this a supply chain problem as well as a server patch. Even if your company does not write software, the developer, agency or contractor who builds your website or app may run TeamCity. Ask them.
To keep this in proportion: the sources do not say that any build was tampered with or that any credentials were stolen. What is on record is the flaw, its score and reports of attempted attacks.
What to do this week: TeamCity patch checklist
| Step | What to do |
|---|---|
| 1. Find every TeamCity server | List the servers you run yourselves and any that contractors or agencies run for you. |
| 2. Check the version | Ask whoever runs each server for the exact version number. |
| 3. Update | Move to 2026.1.7, 2026.2.3 or 2026.3, the fixed releases JetBrains named. |
| 4. If you cannot update today | Install the JetBrains security patch plugin, which works on TeamCity 2021.2 and later and does not need a server restart. Treat it as a stopgap and plan the full update. |
| 5. Review agents | Go through the list of registered build agents and question any you do not recognise. |
| 6. Search logs | BleepingComputer's report shows a message containing of the existing agent, but different authorization token <token>. The sources we checked do not say exactly when this message is written, so if you find it, investigate further. Finding it, or not finding it, proves nothing on its own. |
| 7. If the server was unpatched after December 2 | Review recent build jobs and think about changing the secrets your builds use. |
| 8. Reduce exposure | Where you can, keep the TeamCity server off the open internet, behind a VPN or firewall rules. |
Check the version that is actually running, not the one someone believes was installed. If you host your own build and deployment tools, our self-hosting and infrastructure page covers running tools like this on infrastructure you control.
What is still not known
- Whether any of the attempted attacks watchTowr saw succeeded.
- How many TeamCity servers have been targeted or compromised.
- Who is behind the attempts.
- Whether attackers took source code or credentials from any real victim.
TeamCity CVE-2026-136858 questions people are asking
Is the TeamCity vulnerability being exploited?
Attempted exploitation has been reported. BleepingComputer, citing watchTowr data, says the attempts started one day after public disclosure. No one has reported whether any of them succeeded.
What versions fix CVE-2026-136858?
TeamCity 2026.1.7, 2026.2.3 and 2026.3, according to the JetBrains bulletin as reported by BleepingComputer. NVD lists the versions before these as affected.
Can I patch TeamCity without a restart?
Yes, as a stopgap. JetBrains offers a security patch plugin for TeamCity 2021.2 and later that installs without restarting the server.
How serious is CVE-2026-136858?
NVD scores it 9.1 and rates it Critical.
What is build agent hijacking?
With this flaw, an attacker passes as a build agent the TeamCity server already trusts, and the server sends the attacker jobs meant for the real agent.
Does this affect TeamCity Cloud?
The reports we checked only name TeamCity On-Premises. They do not say whether TeamCity Cloud is affected.
The bigger lesson
The tools that build your software need the same patching attention as the website or app they produce. Attempts on this flaw started one day after it was disclosed, so the time between an announcement and an attack can be very short. Know who runs each of these servers, which version is installed and how fast they can update.
For help locking down your build and deployment setup, see security hardening or get a quote.
Get security alerts like this by email, with our free checklist, at our security alerts page.
Sources: NVD, CVE-2026-136858; BleepingComputer.
Have a question about this article?
Ask it here and we will answer you directly by email. Questions are private, never posted.
Security alerts by email
Hear about the next one first.
When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.
Want a result like this?
Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.
Get a Tech QuoteKeep reading
Fake MCP Servers on GitHub
Fake MCP servers on GitHub pose as Lighter and Aster crypto tools. When an AI coding agent starts one on Windo...
Windows Server 2028 Security: Hundreds of Settings On From First Boot, What Could Break From 2025 and How to Prepare
Microsoft says Windows Server 2028 turns on hundreds of security settings from first boot, aligned with CIS an...
MCP Security Flaws: Five High-Severity Bugs in AWS API MCP Server, mcp-server-git and Ruflo, and the Fixed Versions to Install
Researchers found five high-severity flaws in three MCP projects, including CVE-2026-115413 in the AWS API MCP...