Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-66405 EUVD-2025-200120GHSA-hhh5-2cvx-vmfp

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

Published Dec 1, 2025 · Updated Dec 2, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
Portkey-AI gateway < 1.14.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @portkey-ai/gateway < 1.14.0 1.14.0 GHSA-hhh5-2cvx-vmfp

References