← Übersicht Red Hat Enterprise Linux, Ansible / Ansible Automation Platform

Ansible.posix: authorized_key module follows a parent-directory symlink allowing writes outside the intended directory

CVE-2026-126644 · DEBIAN-CVE-2026-126644 · UBUNTU-CVE-2026-126644

Niedrig · CVSS 3.9 Lokal · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
12.11.2026
Zuletzt geändert
18.11.2026
EPSS (30 Tage)
0.1 %
CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Betroffene Pakete im beobachteten Stack

CVERed Hat/Red Hat Enterprise Linux 10kein Fix bekanntCVE-2026-126644
CVERed Hat/Red Hat Enterprise Linux 9kein Fix bekanntCVE-2026-126644
Debian:12ansiblekein Fix bekanntDEBIAN-CVE-2026-126644
Debian:13ansiblekein Fix bekanntDEBIAN-CVE-2026-126644
Debian:14ansiblekein Fix bekanntDEBIAN-CVE-2026-126644
Weitere betroffene Pakete (12)
Ubuntu:22.04:LTSansible-corekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:24.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:24.04:LTSansible-corekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:26.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:26.04:LTSansible-corekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:26.10ansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:26.10ansible-corekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:Pro:14.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:Pro:16.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:Pro:18.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:Pro:20.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644
Ubuntu:Pro:22.04:LTSansiblekein Fix bekanntUBUNTU-CVE-2026-126644

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Lokal · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.