SecurityContext

CVE-2025-66405: Portkey.ai Gateway - Server Side Request Forgery

  • Cve: CVE-2025-66405
  • Name: Portkey.ai Gateway - Server Side Request Forgery
  • 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.
  • Impact: Attackers can perform SSRF attacks to access internal or restricted network resources.
  • Remediation: Update to version 1.14.0 or later.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: server_side_request_forgery
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.004
  • Epss percentile: 0.34986
  • Assignee: [email protected]
  • Published at: 2025-12-01T23:15:53Z
  • Age in days: 358
  • Modified at: 2026-10-18T18:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66405
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-918Server-Side Request Forgery

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885Patch
https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfpVendor Advisory
https://github.com/Portkey-AI/gateway/pull/1372Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
portkey:gateway< 1.14.0nonvd/v1/products/portkey/gateway

Projects

RepositoryLink kindsIndexedUrl
portkey-ai/gatewaycommit, package, pull, security_advisoryyes/v1/repositories/portkey-ai/gateway

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts