OpinionZero TrustIdentity

An Agent ID Is Not a Credential: TeamCity, Veeam and the Machines We Trust by Name

December 4, 2026 · Brian Deitch

Today's topic: a bug pattern that keeps showing up in the tools that hold the most keys. The server trusts a machine because it knows the machine's name, not because the machine proved who it is.

Disclosure: I work at Zscaler, and identity-based access for users and workloads is a big part of what we sell. The pattern below is a design problem, and it's fixable in anyone's stack.

Two Examples

TeamCity (CVE-2026-136858). On Wednesday, JetBrains disclosed that an unauthenticated attacker could impersonate an authorized build agent. By Thursday, watchTowr said it saw exploitation against its honeypots, per SecurityWeek, and the attackers' first move was guessing the ID numbers of established build agents. watchTowr's Jake Knott said that if your agents use common numbering, exploitation is "rather easy." (My original post.)

Veeam Service Provider Console (CVE-2026-58073). Patched back in August, but the Bishop Fox write-up has a title I keep thinking about: "A GUID is Not a Credential." Per Bishop Fox, the console's check asked whether an agent with that GUID had ever logged in, not whether this connection actually belonged to that agent. With the default weak certificate mode, a self-signed certificate carrying the right GUID got through, and the attacker could request the real agent's certificate. Chained with a file write bug (CVE-2026-58072), that's unauthenticated code execution on the console that sits above every tenant's backups. The fix is 9.3.0.35057, and Bishop Fox points out that patching doesn't revoke certificates the console already issued.

(I've seen one report this week claiming the Veeam flaws are now exploited. I couldn't confirm that against a primary source, so I'm not claiming it here. You should patch either way.)

Why This Keeps Happening

Agents, connectors, collectors and runners are the plumbing of IT. They're built to be easy to enroll, because nobody wants to babysit 400 build agents. So "easy to enroll" quietly becomes "easy to impersonate." An ID, a hostname, a GUID or a sequential number ends up doing a password's job, and it was never designed to be secret.

And look at which tools have this problem: CI/CD and backup. Those two systems hold more secrets and more data than almost anything else on the network. They're exactly where the trust model should be the strictest, and they're often the loosest, because they were designed for a flat, trusted internal network that doesn't really exist anymore.

What Zero Trust Means Here

Zero Trust usually gets explained with users: verify every request, don't trust the network. It applies just as much to machines:

  • Identity has to be proven, not stated. A machine should hold a credential (a certificate with a private key it can't leak, or a short-lived token from an identity provider) and prove possession on every connection. Knowing a name or ID shouldn't get you anything.
  • Bind identity to the session. "This agent logged in once" is not the same as "this connection is that agent."
  • Short-lived beats long-lived. Credentials that expire on their own limit what a stolen one is worth.
  • Reachability is part of the control. If only your real agents can reach the agent endpoint, a guessed ID from the internet goes nowhere.

What To Do

  • Patch TeamCity and Veeam VSPC now if you haven't. TeamCity: 2026.1.7, 2026.2.3, 2026.3 or the security patch plugin. VSPC: 9.3.0.35057.
  • Restrict agent endpoints to known sources. JetBrains' own interim advice is to allow /app/agents only from your agent IPs. Do the same for every agent-facing API you run.
  • Turn on the strongest agent authentication mode your tools support. If there's a "strict" or "full" certificate validation option, use it.
  • Review enrolled agents and remove anything you don't recognize. After patching Veeam, re-issue agent certificates, since old ones stay valid.
  • Ask your vendors one question: "How does an agent prove its identity, and what happens if someone knows its ID?" If the answer is vague, that's your answer.

Bottom Line

A name is something you say. A credential is something you prove. The tools that run your builds and hold your backups should know the difference, and this week's bugs show that some of them didn't.

Sources: SecurityWeek, Bishop Fox, Veeam KB4893

machine-identityworkload-identityteamcityveeamcve-2026-136858cve-2026-58073build-agentsbackupzero-trustmtls
All postsDiscuss on LinkedIn