CVE-2026-120640 json
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
published 2026-11-03 5 d ago modified 2026-11-04 4 d ago also EUVD-2026-116607
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- perl-CGI openSUSE Tumbleweed 5.20.0-1.1
opensuse advisories openSUSE-SU-2026:12465-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-120640 updated cvss 6.5
perl-cgi: perl-cgi: Request forgery via request body parameter spoofing
-
Red Hat Enterprise Linux 7 perl-CGI 4.61-5.el10 Red Hat Enterprise Linux 8 perl-CGI 4.61-5.el10 Red Hat Enterprise Linux 9 perl-CGI 4.61-5.el10 Red Hat Enterprise Linux 10 perl-CGI 4.61-5.el10affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/leejo/CGI.pm/commit/bc4022f553301014e522133ba1e1f4e49e3bef08.patch
patch
-
metacpan.org
/release/LEEJO/CGI-4.72/source/lib/CGI.pm
technical-description
-
metacpan.org
/release/LEEJO/CGI-5.00/changes
release-notes
Sources
- CVE List CVE-2026-120640
- NVD CVE-2026-120640
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.