{
  "id": "CVE-2026-120641",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-120641",
  "published_at": "2026-11-03T23:40:36.961Z",
  "title": "CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/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": "CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths.\n\nThe name returned for an uploaded file is the filename parameter of the part's Content-Disposition header, unchanged.\n\nAn application that saves the upload under this name can be made to write outside the intended directory.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 5.00"
        ],
        "fixed_in": [
          "5.00"
        ]
      }
    ],
    "solutions": [
      "Upgrade to CGI 5.00 or later."
    ],
    "upgrade": [
      "Upgrade the affected product to 5.00 or later."
    ],
    "workarounds": [
      "For deployments that cannot upgrade, do not use the client-supplied upload filename as a path."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/LEEJO/CGI-5.00/changes"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.patch"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
