BREW-TEXLIVE-CVE-2026-120641 (CVE-2026-120641)

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 return upload filenames with any client-supplied path, including ../ and Windows paths
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.


{
  "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 return upload filenames with any client-supplied path, including ../ and Windows paths.\n\nThe name returned for an uploaded file is the filename parameter of the part\u0027s Content-Disposition header, unchanged.\n\nAn application that saves the upload under this name can be made to write outside the intended directory.",
  "id": "BREW-texlive-CVE-2026-120641",
  "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-120641.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/LEEJO/CGI-5.00/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120641"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.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:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths",
  "upstream": [
    "CVE-2026-120641"
  ]
}



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…