CVE-2025-66405

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

Published Dec 1, 2025 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hhh5-2cvx-vmfp Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host
History
Type Values Removed Values Added
First Time appeared Portkey
Portkey gateway
CPEs cpe:2.3:a:portkey.ai:gateway:*:*:*:*:*:*:*:* cpe:2.3:a:portkey:gateway:*:*:*:*:*:*:*:*
Vendors & Products Portkey.ai
Portkey.ai gateway
Portkey
Portkey gateway
Type Values Removed Values Added
First Time appeared Portkey.ai
Portkey.ai gateway
CPEs cpe:2.3:a:portkey.ai:gateway:*:*:*:*:*:*:*:*
Vendors & Products Portkey.ai
Portkey.ai gateway
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Portkey-ai
Portkey-ai gateway
Vendors & Products Portkey-ai
Portkey-ai gateway
Type Values Removed Values Added
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.
Title Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 6.9, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 2, 2025, 2:11 PM
Reserved
Nov 28, 2025, 11:33 PM
Status
Analyzed
Published
Dec 1, 2025, 11:15 PM
Modified
Oct 18, 2026, 6:10 PM