CVE-2026-32632: Fastapi Missing Trustedhost Middlewarecve-2026-32632-fastapi-missing-trustedhost-middleware
The FastAPI application is instantiated without the `TrustedHostMiddleware`. This can expose the service to DNS rebinding attacks if it is reachable on localhost or an internal network and not situated behind a reverse proxy that actively filters the `Host` header. Consider adding `TrustedHostMiddleware` to restrict access by enforcing an allowed list of hos