Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Portkey-AI / gateway | affected 1.14.0 through 1.15.2 |
CWE
CWE-918
References
- https://github.com/Portkey-AI/gateway/issues/1718
- https://github.com/Portkey-AI/gateway
- https://github.com/Portkey-AI/gateway/blob/669825cbe89ee51569918b8f78a9db486fd69dd4/src/index.ts
- https://www.vulncheck.com/advisories/portkey-ai-gateway-server-side-request-forgery-via-v1-proxy
ADP enrichment
No English description supplied.
No references supplied.