← Back to CVEs
CVE-2025-66405
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published12/1/2025
Last Modified2/20/2026
Sourcenvd
Honeypot Sightings0
Affected Products
portkey:gateway
Weaknesses (CWE)
CWE-918
References
https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885(security-advisories@github.com)
https://github.com/Portkey-AI/gateway/pull/1372(security-advisories@github.com)
https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.