{"schemaVersion":4,"id":"CVE-2026-126644","aliases":["UBUNTU-CVE-2026-126644","DEBIAN-CVE-2026-126644"],"status":"published","duplicateOf":null,"title":"Ansible.posix: authorized_key module follows a parent-directory symlink allowing writes outside the intended directory","description":"A link-following flaw was found in the authorized_key module of the ansible.posix collection, residual to the fix for CVE-2026-11837. That fix guards only the final path component (os.chown with follow_symlinks=False and O_NOFOLLOW in _safe_open_write()). When an unprivileged local user replaces their ~/.ssh directory with a symlink to a directory they do not own, and an operator subsequently runs the authorized_key task as root (a common provisioning pattern), the module resolves its path operations through the symlink: atomic_move() writes the temporary file in the symlink target and renames it to <target>/authorized_keys, creating or overwriting a file in the attacker-chosen directory, and os.chmod(sshdir, 0o700) follows the symlink and changes the target directory's permissions. The written file is chowned to the unprivileged user, so this is not a privilege escalation, but it allows an attacker to create or overwrite files (for example in /etc/apt/apt.conf.d/, which APT reads regardless of file ownership) to cause integrity and availability impacts.","dates":{"published":"2026-11-12T10:50:16.148Z","modified":"2026-11-25T16:02:24.470Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.9,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":3.3,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","exploitability":3.3,"impact":4.2,"computed":true}]},"epss":{"probability":0.0014,"percentile":0.03541,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-13T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0014,"percentile":0.03541}],"last30":[{"date":"2026-11-13T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00148,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0014,"percentile":0.03541}]},"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-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"debian","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/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","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}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-126644","label":"access.redhat.com/security/cve/CVE-2026-126644","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2571732","label":"bugzilla.redhat.com/show_bug.cgi?id=2571732","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-126644","label":"ubuntu.com/security/CVE-2026-126644","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-126644","label":"www.cve.org/CVERecord?id=CVE-2026-126644","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-126644","label":"security-tracker.debian.org/tracker/CVE-2026-126644","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-12T10:50:16.148Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T16:02:24.470Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,39],"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.0014,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T16:02:24.470Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-25T16:02:24.470Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-25T16:02:24.470Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-25T16:02:24.470Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-13T18:33:07.048Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0014,"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.947Z","stale":false,"partial":false}}