{"id":"DEBIAN-CVE-2026-120641","details":"CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths.  The name returned for an uploaded file is the filename parameter of the part's Content-Disposition header, unchanged.  An application that saves the upload under this name can be made to write outside the intended directory.","modified":"2026-11-04T08:00:10.262049399Z","published":"2026-11-04T00:17:25.527Z","upstream":["CVE-2026-120641"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-120641"}],"affected":[{"package":{"name":"libcgi-pm-perl","ecosystem":"Debian:12","purl":"pkg:deb/debian/libcgi-pm-perl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.55-1","4.57-1","4.59-1","4.60-1","4.61-1","4.62-1","4.63-1","4.64-1","4.65-1","4.66-1","4.67-1","4.68-1","4.70-1","4.71-1","4.72-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120641.json"}},{"package":{"name":"libcgi-pm-perl","ecosystem":"Debian:13","purl":"pkg:deb/debian/libcgi-pm-perl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.68-1","4.70-1","4.71-1","4.72-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120641.json"}},{"package":{"name":"libcgi-pm-perl","ecosystem":"Debian:14","purl":"pkg:deb/debian/libcgi-pm-perl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.68-1","4.70-1","4.71-1","4.72-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120641.json"}}],"schema_version":"1.9.2"}