poetry, poetry-core — security advisory
Poetry v1.1.9 and below 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.
- Products
- poetry, poetry-core
- Affected versions
- 1.0.0-3, 1.0.7-2, 1.1.11+dfsg-3, 1.1.12+dfsg-1, 1.1.12+dfsg-1ubuntu1, 1.6.1+dfsg-2, 1.6.1-1, 1.7.0-1, 1.7.1+dfsg-1, 1.8.1-1build1, 1.8.2+dfsg-1ubuntu2, 1.9.0-1, 2.1.1+dfsg-3, 2.1.1-3, 2.1.2+dfsg-1, 2.1.2-2, 2.2.1-2, 2.3.1-1, 2.3.1-2, 2.3.2+dfsg-3, 2.3.4-0.1, 2.3.4-1, 2.3.4-2
- Fixed versions
- Not specified
- CVEs
- CVE-2022-26184
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:00 UTC · Revision 1
Source evidence
Poetry v1.1.9 and below 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.
osv:UBUNTU-CVE-2022-26184
poetry
Fixed versions: Not specified
poetry-core
Fixed versions: Not specified
poetry
Fixed versions: Not specified
poetry-core
Fixed versions: Not specified
poetry
Fixed versions: Not specified
poetry-core
Fixed versions: Not specified
poetry
Fixed versions: Not specified
poetry-core
Fixed versions: Not specified
poetry
Fixed versions: Not specified
poetry-core
Fixed versions: Not specified
Complete source record
{
"id": "f2009d39e7fba3d10397a0883ce978977e777e1be242ac8a29307d421a427f05",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-26184",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-26184",
"summary": "Poetry v1.1.9 and below 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.",
"evidence": "osv:UBUNTU-CVE-2022-26184",
"products": [
{
"name": {
"value": "poetry",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.11+dfsg-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.12+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.12+dfsg-1ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "poetry-core",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.0-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.0.7-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "poetry",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.1+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.7.1+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.2+dfsg-1ubuntu2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "poetry-core",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.7.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.8.1-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.9.0-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "poetry",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.1+dfsg-3",
"evidence": "/affected/4/versions"
},
{
"value": "2.1.2+dfsg-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "poetry-core",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.1-3",
"evidence": "/affected/5/versions"
},
{
"value": "2.1.2-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "poetry",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.2+dfsg-3",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.4-0.1",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.4-1",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.4-2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "poetry-core",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.1-1",
"evidence": "/affected/7/versions"
},
{
"value": "2.3.1-2",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "poetry",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.2+dfsg-1",
"evidence": "/affected/8/versions"
},
{
"value": "2.3.2+dfsg-3",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "poetry-core",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.2-2",
"evidence": "/affected/9/versions"
},
{
"value": "2.2.1-2",
"evidence": "/affected/9/versions"
},
{
"value": "2.3.1-1",
"evidence": "/affected/9/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2022-26184",
"aliases": [
"UBUNTU-CVE-2022-26184"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry",
"purl": "pkg:deb/ubuntu/poetry?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.1.11+dfsg-3",
"1.1.12+dfsg-1",
"1.1.12+dfsg-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry",
"binary_version": "1.1.12+dfsg-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry-core",
"purl": "pkg:deb/ubuntu/poetry-core?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.0.0-3",
"1.0.7-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry-core",
"binary_version": "1.0.7-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry",
"purl": "pkg:deb/ubuntu/poetry?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.6.1+dfsg-2",
"1.7.1+dfsg-1",
"1.8.2+dfsg-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry",
"binary_version": "1.8.2+dfsg-1ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry-core",
"purl": "pkg:deb/ubuntu/poetry-core?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.6.1-1",
"1.7.0-1",
"1.8.1-1build1",
"1.9.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry-core",
"binary_version": "1.9.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry",
"purl": "pkg:deb/ubuntu/poetry?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.1.1+dfsg-3",
"2.1.2+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry",
"binary_version": "2.1.2+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry-core",
"purl": "pkg:deb/ubuntu/poetry-core?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.1.1-3",
"2.1.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry-core",
"binary_version": "2.1.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry",
"purl": "pkg:deb/ubuntu/poetry?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.3.2+dfsg-3",
"2.3.4-0.1",
"2.3.4-1",
"2.3.4-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry",
"binary_version": "2.3.4-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry-core",
"purl": "pkg:deb/ubuntu/poetry-core?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.3.1-1",
"2.3.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry-core",
"binary_version": "2.3.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry",
"purl": "pkg:deb/ubuntu/poetry?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.1.2+dfsg-1",
"2.3.2+dfsg-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry",
"binary_version": "2.3.2+dfsg-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "poetry-core",
"purl": "pkg:deb/ubuntu/poetry-core?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.1.2-2",
"2.2.1-2",
"2.3.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-poetry-core",
"binary_version": "2.3.1-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:21.311752169Z",
"provider": "osv",
"upstream": [
"CVE-2022-26184"
],
"references": [
"https://ubuntu.com/security/CVE-2022-26184",
"https://github.com/python-poetry/poetry/releases/tag/1.1.9",
"https://github.com/python-poetry/poetry-core/pull/205/commits/fa9cb6f358ae840885c700f954317f34838caba7",
"https://www.cve.org/CVERecord?id=CVE-2022-26184"
]
},
"related_cves": [
{
"value": "CVE-2022-26184",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355385,
"published_at": "2022-03-21T22:15:00+00:00"
}