Skip to content

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

MediumCVSS 6.9 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
portkey gateway < 1.14.0 1.14.0 Fixed
Portkey-AI gateway(npm) < 1.14.0 1.14.0 Fixed
Portkey-AI gateway = < 1.14.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Portkey-AI gateway(npm) < 1.14.0 1.14.0
Portkey-AI gateway = < 1.14.0 No fix listed
portkey gateway < 1.14.0 1.14.0

References