WebhookAgent
This Week's MCP Flaws Passed Real Checks. Each Check Asked the Wrong Question

This Week's MCP Flaws Passed Real Checks. Each Check Asked the Wrong Question

Dec 5, 2026 27 min read

TL;DR

  • Two sets of Model Context Protocol (MCP) findings landed this week. Researchers at the security firm Alt described five high-severity flaws in three MCP projects (coverage from December 3), and Salt Labs, the research arm of Salt Security, published one-click account takeover paths in the MCP integrations of three large online services on December 1.
  • The reference Git server could run an attacker's program during a tool presented as read-only, and still answer that the working tree was clean. The AWS API MCP Server accepted OAuth tokens that were genuine but issued to a different application. Alt's five flaws all have fixed releases, Salt Labs reported its findings through coordinated disclosure, and neither team reported exploitation in the wild.
  • The pattern nobody is naming: almost none of these systems skipped a check. Each one ran a real check that passed, and each check answered a nearby question instead of the one that mattered.

Picture a developer who receives a project as a zip file from a contractor, unpacks it, and asks an AI assistant what state the repository is in. The assistant calls git_status through the Git server that ships in the Model Context Protocol project's own repository of reference servers. It is the most harmless request a coding assistant can make, and, as the relevant advisory notes, a read-only tool like this one is usually auto-approved.

The answer comes back clean. Nothing to commit. And in the background, a program the contractor wrote has just run with every permission the developer's account holds: the cloud credentials on disk, the SSH keys, the Kubernetes config, the source code.

That is not a hypothetical we invented for effect. It is close to the proof of concept attached to a GitHub security advisory for mcp-server-git, published November 18 by the MCP project's maintainers. The reporter tested five tool calls against a booby-trapped repository. The payload ran in five out of five. In each case, the advisory notes, the tool reported success or a clean state while the payload executed. The reporter proved execution by checking for a file the payload created, not by trusting the tool's reply.

This week that advisory and two others like it were gathered into a single set of findings. Alt, a security company that according to the Threadlinqs threat intelligence service tests systems with its own agentic tooling, described five high-severity flaws across three MCP projects, first reported by GBHackers on December 3 and by Cyber Security News a day later. Two days earlier, on December 1, Salt Labs published research showing that MCP integrations at three major online services, unnamed at their request, could have handed an attacker a user's account after a single click. Most of the coverage has treated all of it as a patch list: upgrade these versions, done. That reading is accurate and incomplete. Read together, the findings describe one mistake made eight different ways, and it is a mistake that anyone who has ever verified a webhook will recognize. This piece walks through each mechanism, then makes the case that the flaws share a single shape, and ends with the questions worth asking of any MCP server you run or connect to.

A status check that ran a program

Start with the literal mechanism, because Git makes it simple. A Git repository carries a configuration file inside its hidden .git folder, and that file can name programs for Git to run. Some of those programs are ordinary features. A clean or smudge filter rewrites files as they move in and out of the repository. A merge driver handles conflicts for a particular file type. A monitor program can speed up status checks on big repositories. Git runs them automatically, because that is their job.

So a repository is not just data. It is data that ships with instructions for the tool that reads it. When an MCP server runs Git inside a folder the AI client chose, the folder's own configuration gets a vote on what happens next.

The maintainers knew this. On November 11 they published an advisory for a flaw in which a read-only git_status call on an untrusted repository could run a program named through Git's monitor setting. The fix, version 2026.11.11, added a hardening step that forces safe settings onto every Git command the server runs: the monitor switched off, hooks pointed at nothing, repository-defined filter and merge drivers emptied, and Git versions older than 2.31 refused. It was a reasonable design. The November 18 advisories describe three ways around it.

The first was almost a typo. The hardening found drivers to blank by matching their names with a pattern that required at least one character in the name. Git, it turns out, accepts a driver whose name is an empty string. A repository that defined its filter with an empty name slipped past the list, and its attributes file could then select that filter. The advisory says the approach itself is sound and the problem is only the pattern.

The second was about timing. The hardening read the configuration once per tool call. Git silently ignores an include line that points to a file that does not exist yet, so on that one read there was nothing to blank. A later merge could add the missing file. If the merge conflicted, the server ran an abort command in a fresh Git process, which read the configuration again, found the include now resolved, and ran the filter it pointed to. This path needs a merge call that is not fast-forward only, and the advisory says the read-only tools are not affected by it.

The third went through a door the hardening never listed. A repository can mark a remote as a source for missing objects and name a program to fetch them. Calls that need an object that is not present locally (the advisory lists git_show, git_diff, git_diff_unstaged and git_branch --contains) trigger that program. In the advisory's words, the program runs before any connection is made, so the attacker needs neither a reachable remote nor credentials. The recommended fix refuses every transport and sets an environment variable that stops lazy fetching before Git picks a transport at all.

All three advisories carry a CVSS 3.1 score of 7.8 and no CVE number. All three were fixed in version 2026.11.18. And all three share one precondition worth stating plainly: the attacker's configuration has to reach the victim's disk. A plain git clone does not copy the .git/config file, so cloning a hostile repository is not the delivery path. Archives, shared folders, copied workspaces and CI build artifacts are.

The tool really was read-only. Git was not, and Git was the thing doing the reading.

The ticket was genuine

The fourth flaw sits in a different project and a different layer, and it is the one that gives this story its shape.

The AWS API MCP Server lets an AI client make AWS API calls through a server that holds AWS credentials. When it runs over HTTP with OAuth switched on, callers present a bearer token. According to the GitHub advisory AWS published on October 27 (CVE-2026-115413, CVSS 4.0 score of 7.3), versions 1.3.0 up to but not including 1.6.0 validated the token's signature, its issuer and its expiry, but not the claim identifying the application the token was issued for. The advisory's own example: a token issued to a second app client in the same Amazon Cognito user pool would be accepted.

Here is the image worth holding onto for the rest of this piece. Think of a concert venue whose door staff check every ticket carefully. They hold it to the light, confirm the hologram, check the date. What they never do is read the name of the show. A genuine ticket to the comedy night in the small hall next door gets you into the headline gig. Nothing about the ticket is forged. It is simply for somewhere else.

That is what an unchecked audience claim means. The token was real. The identity provider really issued it. It had not expired. It was just meant for another application, and the server never asked. Per the reporting on Alt's findings by Cyber Security News and the Threadlinqs summary, the researchers showed in their lab that a caller holding such a token could create an AWS Lambda function and run code under the server's AWS identity, without any AWS credentials of their own. The impact in a real deployment depends on what that server's AWS identity is allowed to do. The advisory adds a limit of its own: only deployments using the streamable HTTP transport with OAuth are affected, and the caller has to be able to reach the server.

The fix is instructive. Version 1.6.0 does not just add the check. It requires operators who use OAuth to configure an expected audience or client ID, which means an upgrade can change behavior for anyone who never set one. The advisory also asks that forks and derivative code be patched, and offers one workaround for anyone who cannot upgrade yet: use the default local stdio transport instead of HTTP.

The comparison is useful but undersells one thing. At a concert, the wrong ticket gets you a better seat. Here it got a stranger the server's own cloud permissions, which is closer to being handed the venue's keys.

One click, three different locks

Salt Labs found the same shape at the other end of the OAuth flow, in the integrations of three large commercial services.

The researchers examined MCP integrations at a cloud collaboration platform, a social network's advertising tools and a payments provider's merchant tools. The companies together serve hundreds of millions of users, a figure Salt Security and the coverage are careful to describe as reach, not compromised accounts. The issues went through coordinated disclosure, and the research did not report malware or exploitation in the wild.

All three services allowed open Dynamic Client Registration, a standard OAuth feature that lets any application register itself and receive a client ID with no human involved. Earlier versions of the MCP authorization rules leaned on it, because AI clients and servers often meet for the first time with no prior relationship, and the current specification still keeps it as an option for backwards compatibility. The catch is in a sentence from the coverage of the research: registration only gives an application an identity. It says nothing about whether the application deserves trust.

An attacker registered an app, built a sign-in link using that app's ID, a callback address they controlled and their own PKCE challenge, and sent the link to a victim. PKCE is the safeguard meant to stop stolen authorization codes from being redeemed, and here it was irrelevant: as the Unite.AI account of the research puts it, the attacker starts the flow and holds the matching verifier. What decided each case was a second weakness, and it was different at each service:

  • The collaboration platform rejected a plain attacker domain as a callback address, but accepted one that carried the trusted name somewhere in its path while the host still belonged to the attacker. For a user who was already signed in, the flow finished with no approval screen.
  • The social network had a real consent screen, but the server accepted an approval submitted from another website without the user ever pressing anything, a classic cross-site request forgery.
  • The payments provider did ask first-time users to approve an unfamiliar app, and the redirect and forgery tricks failed. Its flaw was consent reuse: a user's earlier approval of the official MCP integration was treated as approval for a different, self-registered app.

Yaniv Balmas, Salt Security's vice president of research, summed it up in the company's announcement: "MCP didn't create a new OAuth vulnerability. It changed who gets to take part in the OAuth flow." And, more pointedly: "When any application can register itself, a successful registration tells you nothing about whether it can be trusted." He added that the weak point was different at each service, "and an attacker only needs to find one." OAuth grants are the keys an integration holds on a user's behalf, which is why Airbyte deactivated OAuth for a set of its connectors during its own incident last month.

Each service had a lock. Each lock checked something true. None of them checked the thing the attacker had changed.

The turn: nothing here was missing a check

The usual story about a vulnerability is a story about absence. Somebody forgot to validate input, forgot to require a password, forgot to turn on authentication. The fix is to add the missing piece. Security teams are trained to hunt for gaps, and much of the coverage this week has followed that script.

Look again at what actually failed. The Git server had a dedicated hardening routine that ran on every call. The AWS server validated signatures, issuers and expiry dates. The collaboration platform validated callback addresses. The social network showed a consent screen. The payments provider required approval for unfamiliar apps. The Ruflo chat app, the fifth flaw in Alt's set and one this piece returns to below, checked the addresses users supplied. These were not lazy systems. Each had a guard posted at the right door, and each guard did the job it was given. The problem is that each job was defined one step to the side of the threat.

That reframing matters because it changes what a review looks for. A checklist that asks "does this server validate tokens?" would have passed every system in this story. The useful question is narrower and harder: validated against what, for whom, and at what moment?

The question each check asked, and the one that mattered

  1. Git server, empty driver name. Asked: does this repository define any named drivers? Should have asked: can anything in this configuration run a program, whatever it is called?
  2. Git server, merge include. Asked: is the configuration safe right now? Should have asked: is it still safe when the next Git process reads it?
  3. Git server, lazy fetch. Asked: are the known dangerous keys pinned? Should have asked: which keys exist that nobody listed?
  4. AWS API MCP Server. Asked: is this token genuine and unexpired? Should have asked: was it issued for this server?
  5. Collaboration platform. Asked: does the callback address mention our trusted name? Should have asked: is the host exactly the one registered?
  6. Social network. Asked: did an approval arrive? Should have asked: did the user's own page send it?
  7. Payments provider. Asked: has this user approved our integration before? Should have asked: did they approve this particular app?
  8. Ruflo chat app. Asked: is the address the user typed public? Should have asked: is the address the server actually connects to public?

Two of those eight are timing problems, and they are the same timing problem. The Git include trick works because the safety check and the dangerous action happen in different processes, reading the same file at different moments. The Ruflo flaw works because, as the Threadlinqs summary describes it, the MCP connection path bypassed the component that keeps the checked address and the contacted address in sync. Security engineers call this time-of-check to time-of-use. Here it shows up as the same habit in a Git wrapper and a chat app built by different people: confirming that something is safe, then acting on something that is only probably the same thing.

Patched three times in eleven months

The Git server's history deserves its own beat, because it shows why patching the instance does not close the class.

In January, researchers at the AI security company Cyata disclosed three flaws in the same server, as The Register reported on January 20. One tool created repositories at arbitrary paths. Another passed unsanitized arguments into Git. Chained with the separate Filesystem MCP server and a prompt injection hidden in something like a README, an attacker could write a malicious configuration and a script, set up clean and smudge filters that called the script, and get code execution when Git triggered the filter. Cyata reported the issues in June 2025, the fixes shipped in version 2025.12.18, and the repository-creation tool was removed entirely. Yarden Porat of Cyata told The Register that "agentic systems break in unexpected ways when multiple components interact."

Clean and smudge filters again. Then in November, a monitor program named in the configuration. Then a week later, an empty-named filter, a delayed include and a transport program. The specific tricks changed each time. The underlying fact did not: a Git repository's configuration is effectively a small programming surface, and a server that runs Git inside untrusted folders inherits all of it.

The hardening shipped on November 11 took the natural approach, which was to list the dangerous settings and neutralize each one. That is a denylist, and a denylist is only as complete as its author's knowledge of every setting Git honors, including the strange ones. The lazy-fetch advisory makes the point without saying it: the server pinned a fixed set of command-bearing keys, and none of them controlled a transport. Its recommended fix leans the other way, refusing all transports outright rather than adding one more key to the list.

There is a second thread worth noticing. Two of the November 18 advisories state that the reports were submitted with AI assistance, and Alt's testing, per the Threadlinqs summary, came from its own agentic system. That fits a pattern this site has followed for weeks, from AI agents finding a zero-day in 11 minutes to Perplexity's account of an autonomous attacker. Machine-assisted research is well suited to the exact kind of search that breaks a denylist: trying every edge of a format, including the empty string nobody thought to test. Defenders writing lists by hand are now racing tools that enumerate.

A list of forbidden settings is a promise that you know every setting. Git has more than you think.

The address that was checked, and the one that was called

The fifth flaw is the smallest of the set, and the most familiar to anyone who builds integrations. Ruflo is the agent orchestration project formerly known as Claude Flow, maintained under the ruvnet account on GitHub. Its ruvocal chat app let users point it at MCP servers by URL. The app checked those URLs, but according to the Threadlinqs summary its address checks allowed some local destinations and its private-address checks missed hostnames that resolve to internal addresses. If the chat page was public and login was switched off, an anonymous visitor could make requests from the server's position on its own network. Version 3.71.4 requires public HTTPS for user-supplied MCP addresses and validates the destination at the moment of connection.

Anyone who has built webhook delivery knows this bug by heart. A customer supplies a URL, the platform posts events to it, and the URL turns out to resolve to an internal admin panel or a cloud metadata service. Yesterday this site covered the other side of the same coin, an AI agent that probed Perplexity for two weeks and was stopped by outbound URL validation. Same class of defense. One held, one did not, and in Ruflo's case the flaw lived in the gap between the address that was checked and the address that was contacted.

The Ruflo case also carries the oldest lesson in the set. The flaw was only reachable anonymously because login could be switched off and the page left public. Defaults and deployment choices turned a contained bug into an open one, much as the MONAI Label case did when authentication was off by default.

The numbers, and what they can and cannot tell you

It is tempting to read five flaws and three services as a sample of a much bigger problem. There is one serious measurement that supports that reading, with caveats.

In May, researchers from Fudan University and Central South University posted a measurement study of authentication in real-world remote MCP servers on arXiv. From 28,715 candidates they identified 7,973 live remote servers. Of those, 40.55 percent exposed tools with no authentication at all. They then examined 119 OAuth-enabled servers they could test in depth, all of which supported dynamic registration. Every one of the 119 had at least one flaw, for 325 confirmed flaw instances. The most common category was what the authors call malicious registration binding, found on 114 servers. Consent page bypass appeared on 72, and open redirects on 28. The study reported 85.75 percent precision for its detection framework against manually verified cases, and its disclosures produced nine CVE IDs.

Three caveats keep those numbers honest. The 119 servers were selected because they could be tested, which is not the same as a random sample, so "every server had a flaw" describes that set and not the whole ecosystem. A detection precision of 85.75 percent means some flagged instances may not hold up, even though the authors verified a set by hand. And a flaw category is not an exploit: as in Salt Labs' cases, several of these categories only matter if a user is lured into an authorization flow.

The CVSS scores in this week's set deserve similar care. The Git advisories score 7.8 under CVSS 3.1, and the AWS advisory scores 7.3 under CVSS 4.0. Those are different scoring systems, and the Git vector itself requires local access and user interaction. "High severity" in a headline is accurate. It is not a measure of how many systems were actually exposed, which nobody has published.

What the numbers do support is narrower and more useful. Open registration plus one second weakness is not an exotic combination. It was the most common pattern in an academic sample in May, and it was the pattern Salt Labs found at three large companies in December.

Why webhook developers have seen this movie

None of this is new to people who receive events from other systems for a living. It just arrived in a new costume. Plenty of teams already wire the two together, as in our walkthrough of event-driven AI agents built on MCP and webhooks, so the overlap is literal.

When you verify a signed webhook, the signature proves the payload came from someone holding the shared secret. It does not prove the event is meant for this endpoint, this tenant or this moment. That is why careful receivers also check a timestamp, reject replays and confirm the account ID inside the payload. Our guide to choosing between HMAC and JWT for webhooks ran this exact experiment: a test token decoded cleanly, with the right issuer, the right audience and no expiry problem, while the body sent beside it had been altered, because nothing in the token covered the body. A valid token answers the questions it was built to answer and no others. The AWS flaw is the same lesson with one of those questions left out.

The Git server's cheerful "working tree clean" has its webhook twin too. A 200 response tells a sender that a receiver answered, not that it did the right thing. This site argued as much earlier this week about Zapier's self-healing Zaps, where a quietly repaired failure stops being an alarm. A tool's own report of what it did is evidence of what it said, and nothing more. The Git proof of concept treated it that way, checking the file system rather than the reply.

And the read-only label has a history here as well. When an agent swarm restricted to GET requests still reached its target through webhook testers, CORS proxies and URL shorteners, the lesson was that "GET only" described a request method, not an absence of side effects. "Read-only" in an MCP tool describes the tool's intent. The protocol's own specification already says as much: clients must consider tool annotations untrusted unless they come from trusted servers. This week showed that even a trusted server's honest label can be wrong about what the software underneath will do.

The MCP specification also anticipated most of the authentication failures. Its November 2025 authorization rules say servers must validate that access tokens were issued specifically for them, that authorization servers must validate exact redirect addresses against pre-registered values, and that proxy servers using static client IDs must obtain consent for each dynamically registered client. It now recommends Client ID Metadata Documents and keeps Dynamic Client Registration as an optional path for backwards compatibility. The rules were written down. Salt Labs' own warning is that the newer metadata approach does not stop these attacks alone either, since an attacker can host a metadata document on a domain they control. The gap is between a specification and the many teams implementing it, which is the same gap this site saw when GitHub labeled Copilot connectors as verified and the label described the pipe, not the permissions.

What we know, and what we don't

We know that all five of Alt's flaws have fixed releases: mcp-server-git 2026.11.18, AWS API MCP Server 1.6.0 and Ruflo 3.71.4. We know the AWS advisory went public on October 27 and the Git advisories on November 18, so this week's news is the publication of the research as a set, not the first appearance of the fixes. We know Salt Labs reported each of its findings through coordinated disclosure and that neither research team reported exploitation in the wild.

We do not know which three services Salt Labs tested, or whether each has confirmed a fix publicly, since the companies are unnamed. We do not know how many deployments of the AWS server ran with OAuth over HTTP, which is the only configuration affected. We do not know how many Git server users open repositories delivered as archives or shared folders, which is the only delivery path for those three flaws. And we do not know how many forks and copies of the reference Git server exist with the old hardening, because reference code tends to be copied.

One more unknown matters for anyone running these servers. Patching closes the door for the future. It does not tell you whether anything walked through it earlier, and as this site noted when Microsoft closed an API gateway hole without revoking the keys, a fix and a cleanup are different jobs. If a Git server opened untrusted archives, or an AWS server accepted tokens from other app clients, the credentials it could reach are the ones worth reviewing.

Seven questions that ask the second question

The fixes are version numbers. The habit is a set of questions, and it applies to every MCP server and every integration you build next, not only to these five.

  1. For every check, write down the exact question it answers. "Validates tokens" is not an answer. "Rejects any token whose audience is not this server's identifier" is. If the sentence cannot be written, the check is probably answering something nearby.
  2. Treat a read-only label as a statement about intent, not about permissions. Run MCP servers under accounts with no credentials that matter, which is the workaround every Git advisory repeats. If a read-only tool cannot reach your cloud keys, a lie about read-only costs much less. Machine accounts are a quiet weak point in general, as Bitrise's breach through a test bot showed last month.
  3. Verify the audience on every token, and fail closed. If you run the AWS API MCP Server over HTTP with OAuth, upgrade to 1.6.0 and set the expected audience or client ID it now requires. If you wrote your own MCP server, search the code for the token validation and confirm the audience comparison is really there.
  4. Close open registration where you know your clients. Salt Labs' first recommendation is to pre-register known AI clients and switch off dynamic registration, treating self-registered clients as untrusted. Where registration must stay open, bind each consent to the exact app and the exact permissions it asked for.
  5. Compare redirect addresses exactly, with a real URL parser. A callback that contains your trusted name is not your callback. Exact matching against registered values is what the MCP specification already requires.
  6. Check the thing you act on, at the moment you act. Validate outbound destinations at connection time, and re-read anything that a later process will read again. Both timing flaws in this set lived in the space between a check and a second read.
  7. Never take a tool's word for what it did. Log at the host, cloud and network layers, because, as Cyber Security News pointed out, activity from these flaws may not appear in the chat at all. The Git proof of concept looked for a file on disk, and so should your monitoring.

The ticket and the show

Go back to the door staff at that concert venue. They were diligent. They caught every forgery anyone ever tried. What they missed was not a fake ticket but a real one, carried by someone who was supposed to be in a different room. The fix is not more careful staff. It is a single extra line on the job description: read the name of the show.

That is the shift this week's findings ask for, and it is less a technical change than a change in what counts as done. A passing check feels like an answer. Much of the time it is an answer to a question nobody needed asked: is this real, is this registered, is this labeled read-only, did approval arrive. The questions that protect a system are the specific ones that come right after. Real, and meant for whom? Registered, and trusted by whom? Read-only, according to what? MCP is young enough that its servers are still being written by teams who copy each other's checks. The cheapest moment to make them ask the second question is before the next round of copies, not after the next write-up.

FAQ

Which versions fix the five flaws Alt described?

The three mcp-server-git flaws are fixed in version 2026.11.18. The AWS API MCP Server flaw, CVE-2026-115413, is fixed in 1.6.0, which also requires operators using OAuth to set an expected token audience or client ID. The Ruflo ruvocal SSRF is fixed in 3.71.4. Forks and copies of these projects need the same changes.

Does cloning a malicious repository trigger the Git server flaws?

No. According to the advisories, a plain git clone does not copy the repository's local configuration, so cloning is not a delivery path. The risk comes from repositories that arrive with their .git folder intact, such as archives, shared folders, copied workspaces and CI build artifacts.

Were the three services in the Salt Labs research named?

No. Salt Security withheld the names at the companies' request and described them as a cloud collaboration platform, a social network's advertising tools and a payments provider's merchant tools. The issues were reported through coordinated disclosure, and no exploitation in the wild was reported.

What is an audience check, and why does it matter for MCP servers?

An OAuth access token carries a claim saying which application or server it was issued for. Checking that claim means a token minted for one app cannot be replayed against another that trusts the same identity provider. The MCP authorization specification requires servers to validate that tokens were issued specifically for them, and the AWS API MCP Server flaw is what happens when that step is skipped.