Portkey-AI Gateway
Portkey AI Gateway Server-Side Request Forgery via /v1/proxy/*
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.14.0, <= 1.15.2
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 47 days after publication; not in CISA KEV. First PoC: swordBone/portkey-security-research (created 15 Oct 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| swordBone/portkey-security-research | 15 Oct 2026 +47 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /dns-query
- Query
name=- Key headers
Accept: application/dns-json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/package/build/start-server.js:2
GET /log/stream
- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/verify-log-stream-exposure.mjs:81
GET /metadata/identity/oauth2/token
- Query
api-version=2018-02-01resource=- Key headers
Metadata: true- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/package/build/start-server.js:2
GET /v1/datasets/{var}
- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/package/build/start-server.js:2
POST /datasets
- Body markers
"datasetId""dataset"inapplication/json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/package/build/start-server.js:2
POST /datasets/{var}:getUploadEndpoint
- Content-Type
application/json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/package/build/start-server.js:2
POST /datasets/{var}:validateUpload
- Content-Type
application/json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/package/build/start-server.js:2
POST /v1/chat/completions
- Key headers
Authorization: Bearer {var}Authorization: Bearer sk-local-provider-urlX-Portkey-Azure-Api-Version: 2024-01-01X-Portkey-Azure-Deployment-Id: gpt-4o-miniX-Portkey-Azure-Resource-Name: {var}X-Portkey-Config: {var}X-Portkey-Custom-Host: http://127.0.0.1:{var}X-Portkey-Provider: openaiX-Portkey-Provider: azure-openai- Body markers
"model":"gpt-4o-mini""messages"inapplication/json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/verify-log-stream-exposure.mjs:83 swordBone/portkey-security-research/reproduction/verify-provider-url-injection.mjs:65 swordBone/portkey-security-research/reproduction/verify-retry-amplification.mjs:55
POST /v1/proxy/v1/chat/completions
- Key headers
Authorization: Bearer sk-local-body-size-checkX-Portkey-Custom-Host: http://127.0.0.1:{var}`;X-Portkey-Provider: openai- Content-Type
application/json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/verify-body-size.mjs:130
POST /v1/responses
- Key headers
Authorization: Bearer sk-local-streamX-Portkey-Custom-Host: http://127.0.0.1:{var}X-Portkey-Provider: openai- Body markers
"model":"gpt-4o-mini""input":"local probe"inapplication/json- Ports
- 8787, 18080
- Seen in
- 1 repo: swordBone/portkey-security-research
- Evidence
- swordBone/portkey-security-research/reproduction/verify-stream-responses.mjs:64
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/dns-query\?(?:.*&)?name=
(?i)^/log/stream(?:[?#].*)?$
(?i)^/metadata/identity/oauth2/token\?(?:.*&)?api-version=2018-02-01.*resource=
(?i)^/v1/datasets/[^/?#]*(?:[?#].*)?$
(?i)^/datasets(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8787,18080] (msg:"GG PoC-Monitor CVE-2026-82270 Portkey-AI gateway exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dns-query"; http.uri; content:"name="; http.header; content:"Accept: application/dns-json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-82270; classtype:web-application-attack; sid:9679031; rev:1;)
alert http any any -> $HOME_NET [8787,18080] (msg:"GG PoC-Monitor CVE-2026-82270 Portkey-AI gateway exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/log/stream"; reference:url,poc.griffinguard.io/cve/CVE-2026-82270; classtype:web-application-attack; sid:9491308; rev:1;)
alert http any any -> $HOME_NET [8787,18080] (msg:"GG PoC-Monitor CVE-2026-82270 Portkey-AI gateway exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/metadata/identity/oauth2/token"; http.uri; content:"api-version=2018-02-01"; http.uri; content:"resource="; http.header; content:"Metadata: true"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-82270; classtype:web-application-attack; sid:9325435; rev:1;)
alert http any any -> $HOME_NET [8787,18080] (msg:"GG PoC-Monitor CVE-2026-82270 Portkey-AI gateway exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/v1/datasets/"; reference:url,poc.griffinguard.io/cve/CVE-2026-82270; classtype:web-application-attack; sid:9644160; rev:1;)
alert http any any -> $HOME_NET [8787,18080] (msg:"GG PoC-Monitor CVE-2026-82270 Portkey-AI gateway exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/datasets"; http.request_body; content:"|22|datasetId|22|"; http.request_body; content:"|22|dataset|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-82270; classtype:web-application-attack; sid:9575784; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Portkey-AI gateway exploit attempt (CVE-2026-82270)
id: gg-pocmon-cve-2026-82270-9679031
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-82270. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-82270
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dns-query'
cs-uri-query|contains|all:
- 'name='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.82270
title: Portkey-AI gateway exploit attempt (CVE-2026-82270)
id: gg-pocmon-cve-2026-82270-9491308
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-82270. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-82270
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/log/stream'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.82270
title: Portkey-AI gateway exploit attempt (CVE-2026-82270)
id: gg-pocmon-cve-2026-82270-9325435
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-82270. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-82270
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/metadata/identity/oauth2/token'
cs-uri-query|contains|all:
- 'api-version=2018-02-01'
- 'resource='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.82270
title: Portkey-AI gateway exploit attempt (CVE-2026-82270)
id: gg-pocmon-cve-2026-82270-9644160
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-82270. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-82270
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/v1/datasets/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.82270
title: Portkey-AI gateway exploit attempt (CVE-2026-82270)
id: gg-pocmon-cve-2026-82270-9575784
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-82270. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-82270
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/datasets'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.82270