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.
Published: 2026-10-14
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SSRF allowing internal service access
Action: Patch Immediate
AI Analysis

Impact

The gateway processes an X-Portkey-Custom-Host header without proper validation. An attacker who can send an arbitrary header to any /v1 endpoint can force the server to fetch resources from loopback or Docker host addresses, exposing internal network services without authentication. This flaw enables enumeration, data exfiltration, or further attacks against services reachable only from the host.

Affected Systems

Portkey- AI gateway versions 1.14.0 through 1.15.2 are affected. The vulnerability exists because the isValidCustomHost routine treats localhost-style hosts as trusted when the TRUSTED_CUSTOM_HOSTS environment variable is not set.

Risk and Exploitability

The CVSS score is 6.9, indicating a moderate severity. The EPSS score indicates a very low likelihood of exploitation (<1%), and the vulnerability is not listed in CISA KEV. Attackers can exploit it over an unauthenticated HTTP connection by sending a crafted request to any endpoint, making the gateway reach internal resources and return their responses. The lack of authentication and the direct request forging make exploitation straightforward if the gateway is exposed to the network.

Generated by OpenCVE AI on October 15, 2026 at 18:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a patched version of Portkey- AI gateway that removes the vulnerability or, if unavailable, upgrade to any newer release where the issue is fixed
  • Configure the TRUSTED_CUSTOM_HOSTS environment variable to include only explicitly allowed public hosts, preventing the server from treating localhost‑style addresses as trusted
  • Disable or remove the X-Portkey-Custom-Host header processing and enforce authentication before forwarding requests to external services

Generated by OpenCVE AI on October 15, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 17 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Portkey-ai
Portkey-ai gateway
Vendors & Products Portkey-ai
Portkey-ai gateway

Wed, 14 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title Portkey AI Gateway 1.14.0 through 1.15.2 SSRF via x-portkey-custom-host Header
Weaknesses CWE-918
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Portkey-ai Gateway
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T01:31:03.469Z

Reserved: 2026-10-14T14:39:54.461Z

Link: CVE-2026-110719

cve-icon Vulnrichment

Updated: 2026-10-20T01:30:59.178Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T16:17:44.183

Modified: 2026-10-20T02:17:10.627

Link: CVE-2026-110719

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T12:15:07Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)