| Product | Portkey AI Gateway A third-party product. The advisory mentions Ollama, but this is not a vulnerability in it: it is not counted in its CVEs. |
| Severity | high (CVSS 7.2) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Published (NVD) | 2026-10-14 |
| Last modified | 2026-10-20 |
| Affected versions | Portkey AI Gateway: >= 1.14.0, <= 1.15.2 read from the advisory text: no structured source gives these versions yet |
| Fixed in | see the vendor advisory |
| Weakness | CWE-918 |
| CISA KEV | not listed |
NVD description
Portkey AI Gateway 1.14.0 through 1.15.2 contains a server-side request forgery vulnerability that allows unauthenticated attackers to reach loopback and Docker host services because isValidCustomHost trusts localhost-style hosts when TRUSTED_CUSTOM_HOSTS is unset. Attackers can send /v1 requests with a crafted x-portkey-custom-host header, such as via the ollama provider, to make the gateway call internal services and return their responses.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep Portkey AI Gateway off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-110719
- https://github.com/Portkey-AI/gateway
- https://github.com/Portkey-AI/gateway/blob/ca7712947ec8c0887803990b746740d36011c697/src/middlewares/requestValidator/index.ts#L289
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/BJypv-aiMg
- https://www.vulncheck.com/advisories/portkey-ai-gateway-1.14.0-through-1.15.2-ssrf-via-x-portkey-custom-host-header