BREW-POETRY-CVE-2026-34591 (CVE-2026-34591)

Vulnerability from osv_homebrew – Published: 2026-08-13 17:28 – Updated: 2026-09-22 08:58 – Source website
VLAI
Summary
Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write
Details

Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.


{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": "bump",
        "range_state": "fixed",
        "upstream_fixed_in": "2.3.3"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "poetry",
        "purl": "pkg:brew/poetry"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.1_4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "high",
    "source": "matched",
    "strategy": "git",
    "upstream_evidence": [
      {
        "ecosystem": "GIT",
        "key": "https://github.com/python-poetry/poetry",
        "name": "https://github.com/python-poetry/poetry",
        "strategy": "git",
        "subject_version": "2.5.1"
      },
      {
        "ecosystem": "PyPI",
        "key": "pkg:pypi/poetry@2.5.1",
        "name": "poetry",
        "strategy": "registry",
        "subject_version": "2.5.1"
      },
      {
        "ecosystem": "Debian",
        "key": "Debian/poetry",
        "name": "poetry",
        "strategy": "distro"
      },
      {
        "ecosystem": "GIT",
        "key": "upstream:https://github.com/python-poetry/poetry",
        "name": "https://github.com/python-poetry/poetry",
        "strategy": "distro",
        "subject_version": "2.5.1"
      },
      {
        "ecosystem": "PyPI",
        "key": "upstream:pkg:pypi/poetry@2.5.1",
        "name": "poetry",
        "strategy": "distro",
        "subject_version": "2.5.1"
      },
      {
        "ecosystem": "Ubuntu",
        "key": "Ubuntu/poetry",
        "name": "poetry",
        "strategy": "distro"
      }
    ]
  },
  "details": "Poetry is a dependency manager for Python. From version 1.4.0 to before version 2.3.3, a crafted wheel can contain ../ paths that Poetry writes to disk without containment checks, allowing arbitrary file write with the privileges of the Poetry process. It is reachable from untrusted package artifacts during normal install flows. (Normally, installing a malicious wheel is not sufficient for execution of malicious code. Malicious code will only be executed after installation if the malicious package is imported or invoked by the user.). This issue has been patched in version 2.3.3.",
  "id": "BREW-poetry-CVE-2026-34591",
  "modified": "2026-09-22T08:58:06Z",
  "published": "2026-08-13T17:28:26Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/python-poetry/poetry/releases/tag/2.3.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34591.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/python-poetry/poetry/security/advisories/GHSA-2599-h6xx-hpxp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34591"
    },
    {
      "type": "FIX",
      "url": "http://github.com/python-poetry/poetry/commit/ed59537ac3709cfbdbf95d957de801c13872991a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python-poetry/poetry/pull/10792"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Poetry Has Wheel Path Traversal Which Can Lead to Arbitrary File Write",
  "upstream": [
    "CVE-2026-34591",
    "GHSA-2599-h6xx-hpxp",
    "PYSEC-2026-2260"
  ]
}



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…