CVE-2022-36069
A public proof of concept exists; no exploitation attested.
- Published2022-09-07
- Fixed in1.1.9
- WeaknessCWE-88 · CWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Poetry is a dependency manager for Python. When handling dependencies that come from a Git repository instead of a registry, Poetry uses various commands, such as `git clone`. These commands are constructed using user input (e.g. the repository URL). When building the commands, Poetry correctly avoids Command Injection vulnerabilities by passing an array of arguments instead of a command string. However, there is the possibility that a user input starts with a dash (`-`) and is therefore treated as an optional argument instead of a positional one. This can lead to Code Execution because some of the commands have options that can be leveraged to run arbitrary executables. 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, because the exploit still works when the victim tries to make sure nothing can happen, e.g. by vetting any Git or Poetry config files that might be present in the directory. Versions 1.1.9 and 1.2.0b1 contain patches for this issue.
Timeline
dates in UTC- 2022-09-0719:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.1 | < 1.1.9 | 1.1.9 | NVD · OSV |
| 1.2 | = 1.2.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- python-poetry poetryAffected
- = < 1.1.9no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-10-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- poetryUbuntu:26.10all versions · no fixed version listed
- poetryUbuntu:26.04:LTSall versions · no fixed version listed
- poetryUbuntu:25.10all versions · no fixed version listed
- poetryUbuntu:24.04:LTSall versions · no fixed version listed
- poetryUbuntu:22.04:LTSall versions · no fixed version listed
- poetryAzure Linux:2all versions · no fixed version listed
- poetry-coreDebian:14all versions · fixed in 1.0.7-1
- poetry-coreDebian:13all versions · fixed in 1.0.7-1
1 more package range on OSV.dev
Vendor advisories
- CVE-2022-36069 Red Hat Product Security
python-poetry: Argument Injection can lead to Local Code Execution
Fix
- Update Python-poetry poetry to 1.1.9
Advisories and patches
- github.comRelease Notes
- github.comRelease Notes
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-22
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-22
- CNACVSS 3.17.3known since 2026-10-23
- NVDCVSS 3.17.3read 2026-10-23
- CNAweakness (CWE)CWE-94known since 2026-10-23
- NVDweakness (CWE)CWE-88read 2026-10-23
- FIRST EPSSEPSS score1.3 %2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2022-09-16
Identifiers
- AZL-10919same flawAzure Linux · MIT
- EUVD-2022-0204same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-9xgj-fcgf-x6mwsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2022-266same flawPyPA Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Published
- 2022-09-07
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-9xgj-fcgf-x6mw
Frequently asked questions
What is CVE-2022-36069?
Is CVE-2022-36069 actively exploited?
What is the CVSS score for CVE-2022-36069?
Running poetry? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-9xgj-fcgf-x6mw
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0