Skip to main content

Portkey AI Gateway CVE-2026-110719

| EUVDEUVD-2026-101142 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-10-14 VulnCheck GHSA-h36v-27jx-93r3
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed gateway /v1 endpoint
  2. Delivery
    Craft x-portkey-custom-host header to loopback/Docker host
  3. Exploit
    Bypass isValidCustomHost localhost trust
  4. Execution
    Gateway forwards request to internal service
  5. Impact
    Internal response reflected to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable when the Portkey AI Gateway (versions 1.14.0 through 1.15.2) runs with the TRUSTED_CUSTOM_HOSTS environment variable UNSET - which is the default state - causing isValidCustomHost to trust localhost-style/loopback hosts. The attacker sends an unauthenticated /v1 request bearing a crafted x-portkey-custom-host header (for example through the ollama provider) targeting 127.0.0.1, the Docker host gateway, or other container-local addresses. Limiting factors: the attacker must be able to reach the gateway's API endpoint over the network, impact is confined to services reachable from the gateway host (loopback and Docker host), and setting TRUSTED_CUSTOM_HOSTS to an explicit allowlist mitigates the issue; no code execution or availability impact is implied.

Impact

This is a moderate, config-default-exposed SSRF (CWE-918) in Portkey AI Gateway 1.14.0-1.15.2. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) and the description agree: exploitation is remote, unauthenticated, low-complexity, and works against the default configuration because isValidCustomHost trusts localhost-style hosts whenever TRUSTED_CUSTOM_HOSTS is unset - so these signals are mutually consistent, not conflicting. Publicly available exploit code exists (VulnCheck advisory plus a HackMD write-up), which raises practical risk above the 6.9 base score, but there is NO CISA KEV listing and NO EPSS value in the provided data, so there is no evidence of active, widespread exploitation at this time. The real-world impact is bounded: the 4.0 impact metrics are only VC:L/VI:L/SC:L/SI:L (low confidentiality/integrity on both the vulnerable and a subsequent internal system, no availability impact), meaning an attacker reaches loopback and Docker-host services and reflects their responses rather than achieving code execution or full data compromise. Net: a credible, patch-worthy priority for anyone running an exposed Portkey gateway with default host-trust settings, but not a drop-everything critical - the limited technical impact and absence of KEV/EPSS signals argue against mass-exploitation urgency.

Exploit ScenarioDerived

An attacker who can reach an internet- or network-exposed Portkey AI Gateway (running 1.14.0-1.15.2 with TRUSTED_CUSTOM_HOSTS unset) sends a /v1 API request using the ollama provider and a crafted x-portkey-custom-host header pointing at a loopback or Docker-host address. The gateway trusts the localhost-style host, forwards the request to the internal service, and returns the internal response to the attacker, exposing metadata endpoints, admin panels, or other container-local services. Working exploit code is publicly available (VulnCheck advisory and HackMD proof-of-concept).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Server-side request forgery in Portkey AI Gateway 1.14.0 through 1.15.2 lets unauthenticated remote attackers make the gateway issue requests to loopback and Docker host services and return the responses to the caller. The flaw exists because the isValidCustomHost check trusts localhost-style hostnames whenever the TRUSTED_CUSTOM_HOSTS environment variable is unset, which is the default configuration; an attacker only needs to send a /v1 request carrying a crafted x-portkey-custom-host header (for example via the ollama provider). Publicly available exploit code exists for this issue and it is not listed in CISA KEV, so exploitation activity is not confirmed; the assessed impact is limited to confidentiality and integrity of services reachable from the gateway host, with no availability or code-execution impact.

RemediationAI

No vendor-released patch version is identified in the available data, so the primary immediate action is configuration hardening: set the TRUSTED_CUSTOM_HOSTS environment variable to an explicit allowlist of the legitimate upstream provider hosts your deployment actually uses, which directly disables the trust of localhost-style hosts and blocks the attack path (the trade-off is that any custom/self-hosted provider endpoint not on the allowlist will stop working until it is added). Additionally, because the exploit hinges on attacker-controlled x-portkey-custom-host headers reaching the /v1 API, restrict network access to the gateway's API port to trusted clients only and place it behind authentication or a reverse proxy/API gateway that strips or validates that header, understanding that this reduces exposure but does not fix the underlying validation logic. If the gateway is containerized, avoid running it on the Docker host network and isolate it so loopback and host-gateway addresses do not expose sensitive internal services; this limits blast radius but is not a substitute for the allowlist. Track the upstream project at https://github.com/Portkey-AI/gateway and the advisory at https://www.vulncheck.com/advisories/portkey-ai-gateway-1.14.0-through-1.15.2-ssrf-via-x-portkey-custom-host-header for a fixed release, and upgrade as soon as one is published, since publicly available exploit code exists and exploitation is a single unauthenticated request.

Affected VersionsENISA

Gateway 1.14.0 ≤1.15.2

Affected Packages

euvd gateway no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a CWE-918 server-side request forgery rooted in request validation logic within Portkey AI Gateway, an AI/LLM routing proxy that lets clients select upstream providers such as ollama, OpenAI, and others. The vulnerable code lives in the requestValidator middleware (src/middlewares/requestValidator/index.ts, around line 289), where the isValidCustomHost function decides whether a client-supplied custom host is acceptable. When the TRUSTED_CUSTOM_HOSTS environment variable is not configured - the default state of the shipped container image - the function treats localhost-style hostnames as trusted, so the gateway will happily proxy to 127.0.0.1 and to the Docker host gateway address. Because the gateway's whole purpose is to forward requests to a caller-specified provider endpoint and return the upstream response, a successful SSRF yields the internal service's response body directly to the attacker. The CPE cpe:2.3:a:portkey-ai:gateway identifies the affected package across the 1.14.x and 1.15.x lines. The attack surface is the network-exposed /v1 API, and per the CVSS 4.0 vector AV:N/PR:N/UI:N no authentication or user interaction is required; scope is changed (S:C) since the gateway becomes a pivot into other services on the same host or Docker network.

Know when Gateway gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.2 HIGH

Remote unauthenticated request against default config (AV:N/AC:L/PR:N/UI:N); SSRF pivots to a separate internal system so S:C, with limited read/write of internal responses (C:L/I:L) and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche open-source AI/LLM gateway, limited production deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2026-88772 CRITICAL POC
9.5 Sep 27

Citrix NetScaler ADC and NetScaler Gateway deployments running builds prior to 14.1-73.37 or 13.1-64.23 (including the c

CVE-2026-88771 CRITICAL POC
9.5 Sep 27

Unauthenticated command execution in Citrix NetScaler ADC (before 14.1-73.37, before 13.1-64.23, and the corresponding F

CVE-2026-88779 HIGH POC
8.7 Oct 04

A remote, unauthenticated attacker can cause a denial-of-service condition on NetScaler ADC and NetScaler Gateway applia

CVE-2026-3055 CRITICAL POC
9.3 Mar 23

An insufficient input validation vulnerability exists in Citrix NetScaler ADC and NetScaler Gateway when configured as a

CVE-2012-1461 MEDIUM
4.3 Mar 21

The Gzip file parser in AVG Anti-Virus 10.0.0.1190, Bitdefender 7.2, Command Antivirus 5.2.11.5, Emsisoft Anti-Malware 5

CVE-2012-1459 MEDIUM
4.3 Mar 21

The TAR file parser in AhnLab V3 Internet Security 2011.01.18.00, Avira AntiVir 7.11.1.163, Antiy Labs AVL SDK 2.0.3.7,

CVE-2012-1453 MEDIUM
4.3 Mar 21

The CAB file parser in Dr.Web 5.0.2.03300, Trend Micro HouseCall 9.120.0.1004, Kaspersky Anti-Virus 7.0.0.125, Sophos An

CVE-2026-88773 CRITICAL POC
9.3 Sep 27

HTTP request smuggling (CWE-444) in Citrix NetScaler ADC and NetScaler Gateway allows unauthenticated, remote attackers

CVE-2026-88778 HIGH POC
8.8 Sep 27

Predictable value generation in Citrix NetScaler ADC and Gateway (CWE-342) lets unauthenticated remote attackers predict

CVE-2012-1425 MEDIUM
4.3 Mar 21

The TAR file parser in Avira AntiVir 7.11.1.163, Antiy Labs AVL SDK 2.0.3.7, Quick Heal (aka Cat QuickHeal) 11.00, Emsis

CVE-2026-88777 HIGH
8.8 Sep 27

Remote unauthenticated attackers can trigger a memory overflow in Citrix NetScaler ADC and Gateway, leading to unpredict

CVE-2026-88776 HIGH
8.8 Sep 27

A memory overflow in Citrix NetScaler ADC and NetScaler Gateway can be triggered by unauthenticated remote attackers (CV

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy