No Login. No Account. TeamCity’s Build Agents Are Theirs.
What happened
On Wednesday, December 2, 2026, JetBrains disclosed a critical vulnerability in TeamCity, its continuous integration server. It affects the on-premises edition — every version of it — and lets an attacker who can reach the server over HTTP or HTTPS bypass authentication entirely and pose as one of the organization’s own authorized build agents. No login is required. No TeamCity account is needed. Reachability is enough.
The flaw is tracked as CVE-2026-136858 and carries a CVSS score of 9.1 out of 10 — firmly in critical territory. JetBrains credited researcher Jiawei Guo, who reported it responsibly on November 24, 2026. No exploitation has been seen in the wild so far. But this is not TeamCity’s first critical flaw: nearly four months earlier, a different vulnerability in the same product — CVE-2026-63077, scored 9.8 — was weaponized in real-world attacks, according to CISA.
What the flaw actually lets an attacker do
Impersonating an authorized build agent puts the attacker in a trusted role inside the pipeline. The server hands work to agents it believes are its own, so a fake agent receives the builds meant for the real one — and a successful attack can push the legitimate agent aside entirely, taking over the builds assigned to it.
From that position, three things follow. First, the attacker can intercept builds and read the credentials and secrets passed to the agent. Second, they can falsify build results so a tampered build looks clean. Third, they can publish tampered artifacts that other teams and systems download and trust. And the damage does not stop there: downstream builds that consume those artifacts could end up executing attacker-supplied code.
TeamCity is not the first widely used product found to hand an attacker control without asking for a login — a recent vBulletin flaw let an attacker run their own code on the server with a single request and no login at all. The details differ; the lesson does not: when authentication can be skipped, the attacker needs no stolen password and no phished user — just a way to reach the server.

Why build agents are such a valuable target
Build agents are worth more than the machines they run on. They check out source code, run tests, sign packages, and assemble the artifacts that ship. To do that work, they are routinely handed secrets — credentials, tokens, signing keys — that no ordinary account should ever hold in one place. Compromise the agent and you inherit its access.
They are also trusted by default. Everything downstream assumes an artifact from a build agent is genuine, because the pipeline vouched for it. A tampered artifact does not arrive looking suspicious; it arrives through the normal channel, signed off by the normal process. The attacker does not need to break into the finished product — they can sit at the point where the product is made and change what comes out.
Unauthenticated takeover is a recurring shape, not a TeamCity quirk. A recent CODESYS flaw showed the same shape, letting attackers take over industrial controllers with no password and no click — just network access.
The fix — and a patch plugin if you can’t restart
The fix is a version update: JetBrains has patched the flaw in TeamCity 2026.1.7, 2026.2.3, and 2026.3, so administrators should move to the patched release on their branch. Every on-premises version is affected, so there is no safe older release to sit on while deciding.
For teams that cannot update right away — an update means restarting the server — JetBrains has also released a security patch plugin. It covers TeamCity 2021.2 and later and can be applied without a restart. It is a bridge, not a destination: the update remains the permanent fix. TeamCity Cloud users do not need to take any action.
Lock down the agent endpoint at the reverse proxy
JetBrains also recommends a network-level mitigation: configure the reverse proxy so requests to /app/agents and its subpaths are accepted only from the IP addresses where legitimate build agents are expected to originate — including cloud agents’ outbound addresses and any NAT gateways they connect through. Miss one and a real agent gets locked out alongside the attacker.
This narrows the attack surface, but it is mitigation, not a cure: an attacker who can reach the server from an allowed address is still facing a vulnerable server. Treat the proxy rule as a layer to add while the patch goes in, not a reason to postpone it.

What to check now
If you run TeamCity on premises, work through this list — in order, and soon:
- Check which TeamCity version you are running, and whether it is one of the patched releases.
- Apply the patched release for your branch — or install the patch plugin now and schedule the update.
- Restrict /app/agents at the reverse proxy to the addresses your real agents use.
- Review recent builds and artifacts for anything unexpected — a displaced agent, a result that does not match.
There is no evidence of exploitation yet, and the researcher who found the flaw reported it responsibly, giving JetBrains time to prepare fixes before going public. That window is the opportunity: patching before attackers catch up is the whole point of a disclosure like this, and with a 9.1 flaw that needs no login, the window should not be wasted.



















