Description
Portkey AI Gateway through 1.15.2 contains a server-side request forgery vulnerability in the /v1/proxy/* route that lacks requestValidator middleware. Attackers can set the x-portkey-custom-host header to internal addresses and forward requests with Authorization headers to reach internal services and exfiltrate provider API keys.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Portkey-AI | gateway | 1.14.0 – ≤ 1.15.2 | — |
References
- GitHub Issue #1718 issue-tracking
- https://github.com/Portkey-AI/gateway product
- Vulnerable code: index.ts technical-description
- VulnCheck Advisory: Portkey AI Gateway Server-Side Request Forgery via /v1/proxy/* third-party-advisory