{
  "id": "CVE-2025-66405",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66405",
  "published_at": "2025-12-01T22:25:36.311Z",
  "title": "Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host",
  "vendor": "Portkey-AI",
  "product": "gateway",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:portkey:gateway:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Portkey-AI",
        "product": "gateway",
        "ranges": [
          "\u003c 1.14.0"
        ],
        "fixed_in": [
          "1.14.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade gateway to 1.14.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Portkey-AI/gateway/pull/1372"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
