Vulnerability · Published Dec 1, 2025 · Assigned by GitHub_M

CVE-2025-66405Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host

Medium 6.9

In plain English

A medium-severity server-side request forgery in gateway from Portkey-AI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.4%top 65.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@portkey-ai/gateway1.14.0GHSA-hhh5-2cvx-vmfp

Affected products (as reported)

VendorProductVersions
Portkey-AI gateway < 1.14.0

Weakness: CWE-918 · 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

References