CVE-2026-120640
published medium CVSS 3.1 · 6.5CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | CGI0 to < 5.00 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3436 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-cgi | Fixed | 5.02-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIaarch64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2-2026-4140 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIppc64le | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIs390x | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIx86_64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2-2026-4140 |
| Amazon Linux | AL2023 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2023-2026-3436 |
| Amazon Linux | AL2023 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2023-2026-3436 |
Description
CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields. CGI stores a non-form request body under POSTDATA, PUTDATA or PATCHDATA, and an XForms body under XForms:Model, but also accepts these names from the query string, a form field or a multipart part, so an application cannot tell a client-sent value from the real body. A cross-site HTML form can post POSTDATA={"admin":true} to an endpoint that reads JSON from param('POSTDATA'), a request forgery that needs no CORS preflight.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CGI | 0 to < 5.00 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-352 CWE-352 Cross-Site Request Forgery (CSRF)
References
3Provider assertions
2CPANSec · cna
CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3ab6622e4dc59459a866cffb85574200b8035255b2f1903c6f2b2b058d1d6b3a
- Ingested
- 09 Nov 2026, 19:45:34 UTC
- Source record
- Official CVE record