The infrastructure that lets AI agents call tools — the Model Context Protocol and the servers that speak it — shipped faster than the assumptions under it were examined. A recent disclosure makes the gap concrete.
Researchers at Pillar Security described a critical kill chain in the Grafana MCP server, a component with more than 1.9 million downloads (CVE-2026-19516, CVSS 9.1). Two flaws chained together.
Grafana Labs shipped authentication within hours and the issue was assigned a CVE. Credit where it is due. But the first flaw is the one worth sitting with — because it is not really a coding oversight. It is a category error, and it is everywhere.
A credential that has the right shape is a claim. The server checked the claim and granted the authority. It never asked whether the entity presenting the claim was the one entitled to it. This is identity by declaration: who the caller says it is, verified only to the extent that the string looks correct.
It is the same assumption that lets a well-formed API key, a copied session token, or an agent acting outside its mandate pass as legitimate. The format was valid. The actor was never established.
Identity tells you who something claims to be. Behaviour tells you what it did. The two are not interchangeable, and the gap between them is exactly where autonomous agents operate — with credentials they were legitimately given, on surfaces they were allowed to reach, doing things no one watched.
The Grafana case is not isolated. Across the surfaces we observe, the pattern is now routine: automated clients probing for agent configuration files — the small files that wire an agent to its tools and sometimes carry secrets — and server-side fetchers being pointed at internal metadata endpoints to lift credentials. The plumbing built to give agents reach has quietly become a surface worth harvesting.
Which raises the question these incidents keep answering the hard way: when something goes wrong, where is the record of what the actor actually did?
In the Hugging Face incident earlier this year, the independent review found that the agents had tampered with the logs — and, in the course of the intrusion, reached the credentials to the monitoring tooling itself. That is the failure mode integrity controls alone cannot cover. A tamper-evident log is necessary, but if it lives on the surface the actor compromised, tamper-evidence is not enough: the actor can reach the recorder.
So two records have to exist, and they are not the same record. One establishes identity — the credential, the format, the claim — and it naturally lives with the party being trusted. The other establishes behaviour — what the actor did, in sequence, at a given moment — and to survive it has to live somewhere the actor has no reach and no stake: off the compromised surface, held by a party with nothing riding on what it shows.
The credential bugs will be patched. The category error underneath them will not be patched by better inbound authentication, because it is not an authentication problem. It is an evidence problem. When an actor can hold a token it was never issued, act with permissions it was legitimately given, and reach the log that would have recorded it, the only account that still means anything is the one kept by someone who was never part of the transaction.