CVE-2026-110719

Portkey AI Gateway 1.14.0 through 1.15.2 SSRF via x-portkey-custom-host Header

Published Oct 14, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Portkey-ai
Portkey-ai gateway
Vendors & Products Portkey-ai
Portkey-ai gateway
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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 1:31 AM
Reserved
Oct 14, 2026, 2:39 PM
Status
Deferred
Published
Oct 14, 2026, 4:17 PM
Modified
Oct 20, 2026, 2:17 AM