DEBIAN-CVE-2026-126644

Source
https://security-tracker.debian.org/tracker/CVE-2026-126644
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126644.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-126644
Upstream
  • CVE-2026-126644
Published
2026-11-12T11:17:11Z
Modified
2026-11-15T22:00:12Z
Severity
  • 3.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L CVSS Calculator
Summary
[none]
Details

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 /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.

References

Affected packages

Debian:12 / ansible

Package

Name
ansible
Purl
pkg:deb/debian/ansible?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.0+dfsg-1
7.7.0+dfsg-1
7.7.0+dfsg-2
7.7.0+dfsg-3
7.7.0+dfsg-3+deb12u1
9.*
9.4.0+dfsg-1
9.5.1+dfsg-1
10.*
10.0.0+dfsg-1
10.0.1+dfsg-1
10.1.0+dfsg-1
10.5.0+dfsg-1
10.5.0+dfsg-2
10.6.0+dfsg-1
11.*
11.1.0+dfsg-1
11.2.0+dfsg-1
12.*
12.0.0~a1+dfsg-1
12.0.0~a2+dfsg-1
12.0.0~a4+dfsg-1
12.0.0~a6+dfsg-1
12.0.0~b1+dfsg-1
12.0.0~b2+dfsg-1
12.0.0~b3+dfsg-1
12.0.0~b5+dfsg-1
12.0.0+dfsg-1
12.2.0+dfsg-1
13.*
13.1.0+dfsg-1
13.4.0+dfsg-1
14.*
14.0.0~a4+dfsg-1
14.0.0+dfsg-1
14.4.0+dfsg-1
15.*
15.0.0~b1+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126644.json"

Debian:13 / ansible

Package

Name
ansible
Purl
pkg:deb/debian/ansible?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

12.*
12.0.0~a6+dfsg-1
12.0.0~b1+dfsg-1
12.0.0~b2+dfsg-1
12.0.0~b3+dfsg-1
12.0.0~b5+dfsg-0+deb13u1
12.0.0~b5+dfsg-1
12.0.0+dfsg-0+deb13u1
12.0.0+dfsg-1
12.2.0+dfsg-1
13.*
13.1.0+dfsg-1
13.4.0+dfsg-1
14.*
14.0.0~a4+dfsg-1
14.0.0+dfsg-1
14.4.0+dfsg-1
15.*
15.0.0~b1+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126644.json"

Debian:14 / ansible

Package

Name
ansible
Purl
pkg:deb/debian/ansible?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

12.*
12.0.0~a6+dfsg-1
12.0.0~b1+dfsg-1
12.0.0~b2+dfsg-1
12.0.0~b3+dfsg-1
12.0.0~b5+dfsg-1
12.0.0+dfsg-1
12.2.0+dfsg-1
13.*
13.1.0+dfsg-1
13.4.0+dfsg-1
14.*
14.0.0~a4+dfsg-1
14.0.0+dfsg-1
14.4.0+dfsg-1
15.*
15.0.0~b1+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126644.json"