One Day After the Patch, TeamCity’s Agents Were Hijacked
It Was a Warning. Now It Is Live.
On Thursday, we told you about a critical flaw in JetBrains TeamCity that lets an attacker take over a build agent without any login at all. You can read that first report here: No Login. No Account. TeamCity’s Build Agents Are Theirs.
That story is no longer a warning. It is a report about what is happening. Offensive-security firm watchTowr says attackers began trying to exploit the flaw in the wild just one day after it was publicly disclosed. “Only one day after initial disclosure, watchTowr Intel is already observing attempted in-the-wild exploitation, trying to take over build agents.”
One day. That is how long the window lasted between “here is the flaw” and “someone is already using it.”
How the Takeover Works
TeamCity On-Premises is JetBrains’ self-hosted platform for build and release automation — it compiles code, runs tests, and deploys software automatically. A build agent is the worker software that runs whatever job the server assigns it.
The flaw, CVE-2026-136858, rated 9.1 out of 10, lets an attacker impersonate a worker the server already trusts. The attacker does not need a password or an account. They only need to guess a build agent ID — barely a hurdle, since agent IDs typically start at “1” and are relatively easy to predict.
Once the server mistakes the attacker for a real agent, it hands over the jobs meant for that worker. From there, three things can go wrong. The attacker can see credentials passed to those jobs, report false build results — telling the team that tampered code passed its tests — and return modified output files that could run attacker-supplied code in later builds.

Four simple moves, one hijacked agent. The flaw needs no login — just a guessed agent ID.
Why This One Matters More Than Most
Most vulnerabilities attack the edges of a system. This one attacks the middle of the software factory itself. Build agents are trusted by design: the server hands them source code, test results, and secrets, and what they produce goes straight into the software a company ships. A hijacked agent does not just leak data. It can quietly poison the product.
The speed matters too. Security teams often assume attackers need days or weeks to weaponize a new flaw. This case breaks that assumption in public. Disclosure happened, and within 24 hours exploitation attempts were already running against watchTowr’s honeypot network. To be clear: watchTowr observed attempted exploitation, not confirmed compromises at customer organizations, and no victim organizations have been named. But the attempts alone tell admins everything they need to know about the urgency.
We have seen this pattern before. Just this week, an Acronis backup flaw was already being exploited by attackers right after disclosure. The lesson keeps repeating: the gap between disclosure and exploitation is now measured in hours, not weeks.
The Fix Is Already Out
JetBrains’ December 2 security bulletin — which said the company had seen no active exploitation at that time — strongly recommends updating to 2026.1.7, 2026.2.3, or 2026.3. Every TeamCity On-Premises version before those releases is affected.
For teams that cannot update immediately, JetBrains released a security patch plugin for version 2021.2 and later that installs without restarting the server. On 2026.2.2 and later, the patch can even install itself unattended, if automatic security patch installation is enabled. TeamCity Cloud customers need take no action — the cloud service is already fixed.
Researcher Jiawei Guo reported the flaw privately to JetBrains on November 24, giving the vendor time to prepare the fix before disclosure. That head start is now spent. The patch is out and the attackers are active.
Four Checks to Run Right Now
JetBrains shared two signs of suspicious activity to look for. Here is what to do, in order:
1. Search your server log. Check teamcity-server.log for the line “of the existing agent, but different authorization token” followed by a token value. A non-empty token in that line may indicate a takeover attempt.
2. Trace anything you find. If it appears, check the agent’s connection history, source IP, and the builds around that timestamp.
3. Patch, then rotate. If exploitation is suspected, preserve logs and build results first, then patch the server. Rotate every credential passed to potentially affected builds, and treat build artifacts as untrusted until verified.
4. Lock down the agent endpoint. As an extra layer, restrict /app/agents and its subpaths to the source IPs your legitimate build agents are expected to come from.

One day from disclosure to live attacks. Patch, check the logs, rotate the credentials.
The Pattern Behind the Headline
This is not the first time TeamCity has been in the crosshairs. In September 2026, CISA warned federal agencies that ransomware operators were targeting a different TeamCity flaw, CVE-2026-63077, to run arbitrary commands on the operating system. Attackers keep coming back to this product: it sits at the center of how software gets built, and a foothold there reaches everywhere downstream.
Two numbers tell this story: 9.1, the severity of a flaw that needs no login, and 1, the days it took for exploitation attempts to start. If you run TeamCity On-Premises, check your version, check your logs, and patch. The attackers did not wait. Neither should you.



















