BREW-TEXLIVE-CVE-2026-120640 (CVE-2026-120640)

Vulnerability from osv_homebrew – Published: 2026-11-08 09:34 – Updated: 2026-11-11 09:32 – Source website
VLAI
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
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": null,
        "range_state": "affected",
        "resource": "CGI",
        "resource_purl": "pkg:cpan/LEEJO/CGI@4.71",
        "upstream_fixed_in": "5.00"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "texlive",
        "purl": "pkg:brew/texlive"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "58837"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "medium",
    "source": "matched",
    "strategy": "cpansa",
    "upstream_evidence": [
      {
        "ecosystem": "CPAN",
        "key": "pkg:cpan/LEEJO/CGI@4.71",
        "name": "CGI",
        "resource": "CGI",
        "strategy": "cpansa",
        "subject_version": "4.71"
      }
    ]
  },
  "details": "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.\n\nCGI 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.\n\nA cross-site HTML form can post POSTDATA={\"admin\":true} to an endpoint that reads JSON from param(\u0027POSTDATA\u0027), a request forgery that needs no CORS preflight.",
  "id": "BREW-texlive-CVE-2026-120640",
  "modified": "2026-11-11T09:32:09Z",
  "published": "2026-11-08T09:34:11Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120640.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/LEEJO/CGI-5.00/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120640"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leejo/CGI.pm/commit/bc4022f553301014e522133ba1e1f4e49e3bef08.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/leejo/CGI.pm"
    },
    {
      "type": "ARTICLE",
      "url": "https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "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",
  "upstream": [
    "CVE-2026-120640"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…