{"id":"CVE-2025-66405","published":"2025-12-01T22:25:36Z","modified":"2025-12-02T14:11:29Z","title":"Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host","vendor":"Portkey-AI","product":"gateway","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.004,"percentile":0.35111,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Portkey-AI/gateway/pull/1372","tags":["x_refsource_MISC"]},{"url":"https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.02},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"portkey-ai","affectedVersions":[{"vendor":"Portkey-AI","product":"gateway","versions":["< 1.14.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T14:11:14.927453Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@portkey-ai/gateway","vulnerableRanges":["<1.14.0"],"patched":["1.14.0"],"from":["GHSA-hhh5-2cvx-vmfp"],"provenance":"source"}],"summary":{"text":"The Portkey.ai Gateway (the gateway product from Portkey-AI) contains a server-side request forgery flaw in its proxy routing, where the destination base URL is taken from the client-supplied x-portkey-custom-host header and the client-specified path is appended to it for an outbound fetch. An attacker with network access to the gateway can exploit this without authentication, privileges, or user interaction by sending a crafted request that directs the gateway to make requests to arbitrary destinations of the attacker's choosing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:10Z"},"euvd":{"id":"EUVD-2025-200120","exploited":false,"provenance":"source"}}