Intel

AIKIDO-2026-389326

fumadocs-openapi is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

75

High Risk

This Affects:

JSfumadocs-openapi
5.10.0 - 11.2.1
Fixed in 11.2.2
Are you affected? Scan for Free

TL;DR

The createProxy() route handler in the OpenAPI server builds a proxy that forwards requests to the origin supplied in the url query parameter. When no allowedOrigins or filterRequest allowlist is configured, the proxy forwards to any origin and follows upstream redirects without re-checking them, so an allowed upstream can redirect it to a disallowed destination. An unauthenticated attacker can abuse this as an open proxy to reach internal-only services and cloud metadata endpoints, and forwarded request headers and cookies are sent to the attacker-chosen target. The fix defaults allowedOrigins to the proxy route's own origin, warns when no allowlist is set, and enforces the allowlist on every redirect hop.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose a createProxy() proxy route without configuring allowedOrigins or filterRequest.

Background info

fumadocs-openapi is vulnerable to Server-Side Request Forgery (SSRF) in versions 5.10.0 - 11.2.1.

How to fix this

Upgrade the fumadocs-openapi library to the patch version.