CVEBrief

Home / python-poetry / poetry / CVE-2022-36070

CVE-2022-36070: is it exploited, and which versions of python-poetry poetry are affected and fixed?

CVE-2022-36070 is an untrusted Search Path vulnerability in python-poetry poetry. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: poetry before 1.1.9 (GitHub advisory GHSA-j4j9-7hg9-97g6). Fixed in 1.1.9 (GitHub advisory GHSA-j4j9-7hg9-97g6). Severity: High (7.3, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
poetry before 1.1.9
GitHub advisory GHSA-j4j9-7hg9-97g6
Fixed in
1.1.9
GitHub advisory GHSA-j4j9-7hg9-97g6
Severity
High 7.3
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.36% in 30 days
higher than 32% of CVEs; FIRST, December 2, 2026

What is CVE-2022-36070?

Poetry's Untrusted Search Path can lead to Local Code Execution on Windows

Poetry is a dependency manager for Python. To handle dependencies that come from a Git repository, Poetry executes various commands, e.g. `git config`. These commands are being executed using the executable’s name and not its absolute path. This can lead to the execution of untrusted code due to the way Windows resolves executable names to paths. Unlike Linux-based operating systems, Windows searches for the executable in the current directory first and looks in the paths that are defined in the `PATH` environment variable afterward. This vulnerability can lead to Arbitrary Code Execution, which would lead to the takeover of the system. If a developer is exploited, the attacker could steal credentials or persist their access. If the exploit happens on a server, the attackers could use their access to attack other internal systems. Since this vulnerability requires a fair amount of user interaction, it is not as dangerous as a remotely exploitable one. However, it still puts developers at risk when dealing with untrusted files in a way they think is safe. The victim could also not protect themself by vetting any Git or Poetry config files that might be present in the directory, because the behavior is undocumented. Versions 1.1.9 and 1.2.0b1 contain patches for this issue.

From the CVE record by GitHub_M, last updated April 23, 2025, 17:14 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
python-poetrypoetry< 1.1.9

As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIpoetry< 1.1.91.1.9GHSA-j4j9-7hg9-97g6

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 9, 2025. Summary: Poetry vulnerable to Untrusted Search Path leading to Local Code Execution on Windows.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
python-poetrypoetrybefore 1.1.9application
python-poetrypoetry1.2.0application

NVD analysis (status Modified), last modified June 17, 2026, 04:52 UTC.

How severe is CVE-2022-36070?

ScoreVersionVectorSource
High 7.3CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HGitHub_M
High 7.3CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-36070 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2025)
EPSS
0.36% probability of exploitation activity in the next 30 days, percentile 32.0 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
July 15, 2022
Published
September 7, 2022, 18:30 UTC
CVE record updated
April 23, 2025, 17:14 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:52 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect poetry?

Every CVE in poetry

Questions about CVE-2022-36070

Is CVE-2022-36070 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of python-poetry poetry are affected by CVE-2022-36070?

poetry before 1.1.9, per the GitHub advisory GHSA-j4j9-7hg9-97g6. The tables above give every range the sources list.

Which version fixes CVE-2022-36070?

1.1.9, per the GitHub advisory GHSA-j4j9-7hg9-97g6. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-36070?

High (7.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-36070?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.