{"schemaVersion":4,"id":"CVE-2026-130644","aliases":["UBUNTU-CVE-2026-130644","DEBIAN-CVE-2026-130644","openSUSE-SU-2026:12762-1","openSUSE-SU-2026:12763-1","openSUSE-SU-2026:12761-1"],"status":"published","duplicateOf":null,"title":"Ansible-core: ansible-core: ansible-galaxy collection install path traversal via unvalidated artifact-derived collection name allows file writes and directory deletion outside the collections path","description":"A path traversal flaw was found in ansible-core. When installing a collection with ansible-galaxy collection install, the install destination directory is derived from the namespace and name fields declared inside the collection artifact's own metadata, which are not validated as well-formed collection identifiers or checked for path containment. A malicious collection artifact -- delivered as a local file, a remote URL, a source directory, a git repository, or as a dependency -- can use a crafted name value to redirect the install destination outside the configured collections path, causing ansible-galaxy to delete an existing directory writable by the invoking user and then write attacker-controlled files to that location.","dates":{"published":"2026-11-18T03:35:19.969Z","modified":"2026-12-01T15:08:11.923Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":7.2,"impact":8.7,"computed":true}]},"epss":{"probability":0.00349,"percentile":0.30552,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00349,"percentile":0.30552}],"last30":[{"date":"2026-11-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0028,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00349,"percentile":0.30552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"ansible-core","name":"ansible-core","label":"ansible-core","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ansible-core","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible-core","name":"ansible-core","label":"ansible-core","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible-core","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ansible-core","name":"ansible-core","label":"ansible-core","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ansible-core","purlType":"rpm","versions":[{"text":"< 2.22.1-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.22.1-1.1","endInclusive":false}}],"versionsText":"< 2.22.1-1.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ansible-core-2.20","name":"ansible-core-2.20","label":"ansible-core-2.20","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ansible-core-2.20","purlType":"rpm","versions":[{"text":"< 2.20.12-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.20.12-1.1","endInclusive":false}}],"versionsText":"< 2.20.12-1.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ansible-core-2.21","name":"ansible-core-2.21","label":"ansible-core-2.21","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ansible-core-2.21","purlType":"rpm","versions":[{"text":"< 2.21.7-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.21.7-1.1","endInclusive":false}}],"versionsText":"< 2.21.7-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-130644","label":"access.redhat.com/security/cve/CVE-2026-130644","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2574391","label":"bugzilla.redhat.com/show_bug.cgi?id=2574391","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://ubuntu.com/security/CVE-2026-130644","label":"ubuntu.com/security/CVE-2026-130644","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-130644","label":"www.cve.org/CVERecord?id=CVE-2026-130644","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-130644","label":"security-tracker.debian.org/tracker/CVE-2026-130644","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-130644","label":"www.suse.com/security/cve/CVE-2026-130644","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-18T03:35:19.969Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T15:08:11.923Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,81],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00349,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T15:08:11.923Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T15:08:11.923Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T15:08:11.923Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T15:08:11.923Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-21T02:41:19.342Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00349,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:58:16.112Z","stale":false,"partial":false}}