Skip to main content

Portkey AI Gateway CVE-2026-82270

| EUVDEUVD-2026-67801 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-28 VulnCheck GHSA-rv66-rgwx-xfrj
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Send unauthenticated HTTP request to /v1/proxy/*
  2. Delivery
    Inject internal target via x-portkey-custom-host header
  3. Exploit
    Gateway forwards request with Authorization headers to internal host
  4. Execution
    Internal service returns sensitive response
  5. Impact
    Provider API keys exfiltrated from response

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

Exploitation requires network access to the Portkey AI Gateway's /v1/proxy/* route, which is the gateway's standard proxying interface and is expected to be network-accessible in typical deployments. No authentication is required - the CVSS 4.0 vector specifies PR:N (no privileges), confirmed by the description's lack of any authentication gate on this route. The attacker must be able to set custom HTTP headers, specifically x-portkey-custom-host, in requests to this endpoint. The enabling condition is the absence of requestValidator middleware on the /v1/proxy/* route in versions through 1.15.2; with that middleware present, host values would be validated or rejected. Deployments where the gateway is isolated from the internet by network perimeter controls, or where OS-level egress filtering blocks RFC 1918 and link-local addresses, significantly reduce the impact of a successful SSRF attempt, though the header injection vulnerability itself remains present.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) places this in the high-priority tier: the attack is network-reachable, requires no privileges, no user interaction, and no special attack requirements, with high confidentiality impact on the vulnerable system. EPSS data is absent from available intelligence, limiting probabilistic exploitation forecasting. No CISA KEV listing confirms active exploitation, and no public proof-of-concept code has been identified; however, the vulnerability mechanism requires only a single crafted HTTP request with a custom header - well within reach of any competent attacker who discovers it. The most significant real-world risk is LLM provider API key theft: stolen keys enable fraudulent AI API usage billed to the victim, exfiltration of fine-tuning data, and downstream exposure of any data processed through those provider accounts. Unlike many SSRF findings where exploitation is gated by complex chaining, this flaw is self-contained - the SSRF and credential exfiltration occur in a single unauthenticated request. Risk reduction depends entirely on network egress controls and host header validation, not on authentication hardening or user behavior, meaning all internet-exposed deployments regardless of their identity controls are fully exposed.

Exploit ScenarioDerived

An unauthenticated attacker sends a single HTTP request to the publicly accessible /v1/proxy/* endpoint with the x-portkey-custom-host header set to an internal address such as a cloud instance metadata endpoint (169.254.169.254) or an internal credential store. The gateway forwards the request - including Authorization headers containing LLM provider API keys - to the specified internal host, returning the response body to the attacker and exposing the credentials. No public proof-of-concept code has been identified, but exploitation requires only standard HTTP tooling capable of setting custom headers.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 28, 2026

Server-side request forgery in Portkey AI Gateway through version 1.15.2 enables unauthenticated remote attackers to weaponize the gateway as an internal network proxy by injecting arbitrary host values into the x-portkey-custom-host header on the /v1/proxy/* route, which lacks requestValidator middleware. The gateway faithfully forwards outbound requests - including Authorization headers carrying LLM provider API keys - to attacker-specified internal addresses, enabling credential exfiltration and internal service enumeration. No public exploit code has been identified at time of analysis and no CISA KEV listing exists, but the unauthenticated, low-complexity nature of the attack vector makes this an urgent remediation priority for any internet-exposed gateway deployment.

RemediationAI

No patched release version has been independently confirmed at time of analysis; operators should monitor the GitHub repository at https://github.com/Portkey-AI/gateway and issue #1718 at https://github.com/Portkey-AI/gateway/issues/1718 for a fix release and upgrade immediately upon availability. As an immediate compensating control, implement network-level egress filtering on the gateway host to block outbound connections to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local addresses (169.254.0.0/16), and loopback (127.0.0.0/8); this prevents the SSRF from pivoting to internal services even when the malicious header is accepted, though it does not eliminate the header injection itself. Deploying a reverse proxy or WAF in front of the gateway that strips or rejects the x-portkey-custom-host header before requests reach the application eliminates the injection vector with no functional impact on clients using the gateway's standard provider routing. If the /v1/proxy/* route is not operationally required, disabling it via routing rules or API gateway policy immediately removes the attack surface without affecting other gateway capabilities.

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

Portkey AI Gateway (portkey-ai/gateway) is an open-source AI API gateway that routes and proxies requests to multiple LLM providers including OpenAI and Anthropic. The vulnerable /v1/proxy/* route is the gateway's primary proxying interface; it is designed to forward provider API calls but, per the CVE description and the referenced source file (src/index.ts at commit 669825c), omits the requestValidator middleware that would sanitize or reject arbitrary x-portkey-custom-host values. CWE-918 (Server-Side Request Forgery) describes this root cause class: the server performs outbound HTTP requests to a destination controlled entirely by attacker-supplied input without validating the target against an allowlist. The CPE string cpe:2.3:a:portkey-ai:gateway:*:*:*:*:*:*:*:* covers all gateway releases through 1.15.2. Because Authorization headers are forwarded along with the proxied request body, the SSRF functions simultaneously as a network pivot and a credential relay - internal services receiving the redirected request see valid provider tokens, enabling API key harvesting without any additional authentication bypass.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable unauthenticated route; no integrity or availability impact described; confidentiality high due to API key exfiltration; scope unchanged as primary impact remains within gateway credential domain.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/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
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Portkey AI Gateway versions through 1.15.2 contain a server-side request forgery vulnerability enabling unauthenticated attackers to intercept and redirect LLM API requests, exposing provider credentials and enabling unauthorized internal network access. Organizations with internet-exposed Portkey deployments should assume credential compromise and prioritize immediate remediation to prevent unauthorized access to LLM services and internal infrastructure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: implement network segmentation restricting gateway egress to authorized LLM provider endpoints only; deploy WAF or firewall rules rejecting requests with x-portkey-custom-host headers; rotate all LLM provider API keys with monitoring for reuse attempts; enable comprehensive logging and alerting on gateway requests for non-standard host headers; deploy endpoint detection and response (EDR) monitoring on systems accessible from the gateway's network position to detect unauthorized lateral movement; restrict Portkey deployment to private networks pending patch availability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
specialized AI/LLM API gateway, limited general enterprise footprint
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
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