Каталог CVE

CVE-2026-126644

ansible affected and fixed versions

[Каталог CVE]

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.

Критичність
Low · CVSS 3.9CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Dec 4, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixieansibleNot reportedAffectedDistribution reports no fix[CVE-2026-126644]
Debiantrixieansible12.0.0+dfsg-0+deb13u1Affected[CVE-2026-126644]
DebiansidansibleNot reportedAffectedDistribution reports no fix[CVE-2026-126644]
Debiansidansible15.0.0+dfsg-1Affected[CVE-2026-126644]
Ubuntuproansible2.10.7+merged+base+2.10.8+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntuproansible2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1Affected[UBUNTU-CVE-2026-126644]
Ubuntuproansible2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm4Affected[UBUNTU-CVE-2026-126644]
DebianforkyansibleNot reportedAffectedDistribution reports no fix[CVE-2026-126644]
Debianforkyansible15.0.0+dfsg-1Affected[CVE-2026-126644]
DebianbookwormansibleNot reportedAffectedDistribution reports no fix[CVE-2026-126644]
Debianbookwormansible7.7.0+dfsg-3+deb12u1Affected[CVE-2026-126644]
Ubuntu26.10ansible13.1.0+dfsg-1ubuntu1Affected[UBUNTU-CVE-2026-126644]
More observations (26)
Distribution / releasePackageVersionStatusSource
Ubuntu22.04ansible-core2.12.0-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu22.04ansible-core2.12.0-1ubuntu0.1Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible7.7.0+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible7.7.0+dfsg-3Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible9.2.0+dfsg-0ubuntu4Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible9.2.0+dfsg-0ubuntu5Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible-core2.14.11-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible-core2.14.11-2Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible-core2.14.13-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible-core2.14.9-2Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible-core2.16.3-0ubuntu1Affected[UBUNTU-CVE-2026-126644]
Ubuntu24.04ansible-core2.16.3-0ubuntu2Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible12.0.0+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible12.0.0~b1+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible12.2.0+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible13.1.0+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible13.1.0+dfsg-1ubuntu1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible-core2.19.0-1ubuntu1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible-core2.19.4-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.04ansible-core2.20.1-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.10ansible13.4.0+dfsg-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.10ansible-core2.20.1-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.10ansible-core2.21.1~rc1-1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.10ansible-core2.21.1~rc1-2Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.10ansible-core2.21.1~rc1-2ubuntu1Affected[UBUNTU-CVE-2026-126644]
Ubuntu26.10ansible-core2.22.0~beta2-1Affected[UBUNTU-CVE-2026-126644]

[Debian bug #1154629]

Publisher notes

[trixie] ansible: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ansible]Уражена
    Подробиці (2)
    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Уражена

      dsa · ansible · debian · bookworm; pypi · ansible · debian · 12

    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Уражена

      dsa · ansible · debian · bookworm; pypi · ansible · debian · 12

[Debian 13 (Trixie)]

  • [ansible]Уражена
    Подробиці (2)
    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Уражена

      pypi · ansible · debian · 13

    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Уражена

      pypi · ansible · debian · 13

Спостережено:

Посилання