{"id":"CVE-2025-66405","state":"PUBLISHED","title":"Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host","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.","publishedAt":"2025-12-01T22:25:36.311Z","updatedAt":"2025-12-02T14:11:29.966Z","severity":{"score":6.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["Portkey-AI gateway"],"affected":[{"vendor":"Portkey-AI","product":"gateway","versions":[{"version":"< 1.14.0","status":"affected"}]}],"references":["https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp","https://github.com/Portkey-AI/gateway/pull/1372","https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66405.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66405","state":"PUBLISHED","datePublished":"2025-12-01T22:25:36.311Z","dateUpdated":"2025-12-02T14:11:29.966Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-28T23:33:56.365Z"},"containers":{"cna":{"title":"Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Portkey-AI","product":"gateway","versions":[{"version":"< 1.14.0","status":"affected"}]}],"references":[{"url":"https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp","name":"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","name":"https://github.com/Portkey-AI/gateway/pull/1372","tags":["x_refsource_MISC"]},{"url":"https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885","name":"https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-01T22:25:36.311Z"},"source":{"advisory":"GHSA-hhh5-2cvx-vmfp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-02T14:11:14.927453Z","id":"CVE-2025-66405","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-02T14:11:29.966Z"}}]}}}