Skip to main content
CVE-2025-66405VulnerabilityPublished

CVE-2025-66405: Portkey-AI gateway · Server-Side Request Forgery (SSRF)

Affects Portkey-AI gatewaySource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.14.0 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.14.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade portkey-ai/gateway to 1.14.0.

Affected software

ProductAffectedFixed in
GitHubportkey-ai/gatewaypkg:github/portkey-ai/gatewayOther threatsAffected
  • <1.14.0
Fixed in
  • 1.14.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade Portkey-AI Gateway to version 1.14.0 or later to remediate the vulnerability. In addition, network administrators should implement strict egress and ingress filtering to restrict the gateway's ability to make arbitrary outbound requests, limiting it to only trusted destinations. Deploying Web Application Firewalls (WAFs) with rules to detect and block anomalous x-portkey-custom-host header values can provide additional protection. Regularly audit and monitor logs for unusual proxy request patterns indicative of SSRF attempts. Employ network segmentation to isolate the gateway from sensitive internal services and enforce the principle of least privilege on network access. Security teams should also conduct penetration testing focused on SSRF vectors to validate defenses. Finally, maintain up-to-date threat intelligence and incident response plans tailored to AI infrastructure components.

Description

Portkey.ai Gateway is a blazing fast AI Gateway with integrated guardrails. Prior to 1.14.0, the gateway determined the destination baseURL by prioritizing the value in the x-portkey-custom-host request header. The proxy route then appends the client-specified path to perform an external fetch. This can be maliciously used by users for SSRF attacks. This vulnerability is fixed in 1.14.0.

References

Community reviews

Loading reviews…