Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. poetry
  4. ›
  5. CVE-2022-26184

CVE-2022-26184: Poetry before v1.1.9 contains Untrusted Search Path

March 23, 2022 (updated October 21, 2024)

Poetry prior to v1.1.9 was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute Poetry commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.

References

  • github.com/advisories/GHSA-xr2c-5w89-63pv
  • github.com/pypa/advisory-database/tree/main/vulns/poetry/PYSEC-2022-234.yaml
  • github.com/python-poetry
  • github.com/python-poetry/poetry-core/commit/1e1a109a1009daaab2367ce90c997f0cbbb0c1d1
  • github.com/python-poetry/poetry-core/pull/205/commits/fa9cb6f358ae840885c700f954317f34838caba7
  • github.com/python-poetry/poetry/releases/tag/1.1.9
  • nvd.nist.gov/vuln/detail/CVE-2022-26184
  • www.sonarsource.com/blog/securing-developer-tools-package-managers

Code Behaviors & Features

Detect and mitigate CVE-2022-26184 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.9

Fixed versions

  • 1.1.9

Solution

Upgrade to version 1.1.9 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-426: Untrusted Search Path

Source file

pypi/poetry/CVE-2022-26184.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:31 +0000.