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.
Project Subscriptions
No data.
No advisories yet.
Solution
Upgrade to CGI 5.00 or later.
Workaround
For deployments that cannot upgrade, do not use the client-supplied upload filename as a path.
Tue, 10 Nov 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Mon, 09 Nov 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
cvssV3_1
|
Wed, 04 Nov 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Wed, 04 Nov 2026 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths | |
| Weaknesses | CWE-22 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-09T19:16:44.220Z
Reserved: 2026-11-02T17:42:19.176Z
Link: CVE-2026-120641
Updated: 2026-11-09T19:16:37.868Z
Status : Deferred
Published: 2026-11-04T00:17:25.527
Modified: 2026-11-09T20:18:05.663
Link: CVE-2026-120641
OpenCVE Enrichment
Updated: 2026-11-09T23:15:03Z