Moderate severityNVD Advisory· Published Dec 1, 2025· Updated Dec 2, 2025
Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host
CVE-2025-66405
Description
Portkey.ai Gateway is a blazing fast AI Gateway with integrated guardrails. Prior to 1.14.0, the gateway determined the destination baseURL by prioritizing the value in the x-portkey-custom-host request header. The proxy route then appends the client-specified path to perform an external fetch. This can be maliciously used by users for SSRF attacks. This vulnerability is fixed in 1.14.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@portkey-ai/gatewaynpm | < 1.14.0 | 1.14.0 |
Affected products
2- Range: < 1.14.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-hhh5-2cvx-vmfpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66405ghsaADVISORY
- github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885ghsax_refsource_MISCWEB
- github.com/Portkey-AI/gateway/pull/1372ghsax_refsource_MISCWEB
- github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfpghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.