CVE-2025-66405
BaseFortify
Publication date: 2025-12-01
Last updated on: 2026-02-20
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| portkey | gateway | to 1.14.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-918 | The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in Portkey.ai Gateway prior to version 1.14.0 allows an attacker to perform Server-Side Request Forgery (SSRF) attacks. The gateway determines the destination baseURL by prioritizing the value in the x-portkey-custom-host request header, which can be manipulated by a user. The proxy route then appends the client-specified path and performs an external fetch, enabling malicious users to make unauthorized requests to internal or external systems.
How can this vulnerability impact me? :
This vulnerability can allow attackers to make unauthorized requests from the server to internal or external systems, potentially exposing sensitive data, accessing internal services, or causing denial of service. It can lead to information disclosure, unauthorized access, or other security breaches depending on the internal network and services accessible from the gateway.
What immediate steps should I take to mitigate this vulnerability?
Upgrade Portkey.ai Gateway to version 1.14.0 or later, as this version contains the fix for the SSRF vulnerability caused by prioritizing the x-portkey-custom-host header.