CVE-2026-47769
Beschrijving NL
APIFold leest een OpenAPI 3.x- of Swagger 2.x-specificatie en genereert een live, productieklaar MCP-servereindpunt. Voorafgaand aan het plegen van 7f19b52280f414f57af2b79a95333d1c8fbeece5, accepteert het `/webhooks/:serverSlug/:eventName` -eindpunt willekeurige niet-geverifieerde JSON en slaat het op in Redis en de `webhook_events` PostgreSQL-tabel zonder enige handtekeningcontrole of verificatievereiste. De hoofdoorzaak is dat `createWebhookRouter' wordt aangeroepen op `server.ts:188` zonder een `validators` -kaart, dus `receivers.ts:80`s optionele chaining guard evalueert naar` undefined `en het handtekeningvalidatieblok (` receiver.ts:81–95 `) onvoorwaardelijk wordt overgeslagen. Elke niet-geverifieerde netwerkclient die een geldige server-slug kent, kan willekeurige payloads injecteren, die vervolgens worden gebruikt als vertrouwde bronstatus voor legitieme MCP-clients. Commit 7f19b52280f414f57af2b79a95333d1c8fbeece5 verhelpt het probleem.
Origineel (Engels) tonen
APIFold reads an OpenAPI 3.x or Swagger 2.x specification and generates a live, production-ready MCP server endpoint. Prior to commit 7f19b52280f414f57af2b79a95333d1c8fbeece5, the `/webhooks/:serverSlug/:eventName` endpoint accepts arbitrary unauthenticated JSON and stores it in Redis and the `webhook_events` PostgreSQL table without any signature check or authentication requirement. The root cause is that `createWebhookRouter` is called at `server.ts:188` without a `validators` map, so `receivers.ts:80`'s optional-chaining guard evaluates to `undefined` and the signature-validation block (`receiver.ts:81–95`) is unconditionally skipped. Any unauthenticated network client that knows a valid server slug can inject arbitrary payloads, which are subsequently served as trusted resource state to legitimate MCP clients. Commit 7f19b52280f414f57af2b79a95333d1c8fbeece5 patches the issue.