CVE-2026-126644
Last modified
CVE-2026-126644 is a low-severity vulnerability rated 3.9/10 on the CVSS scale. 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()). EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | All versions |
| Red Hat | Red Hat Enterprise Linux 9 | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126644?
How severe is CVE-2026-126644?
How do I fix CVE-2026-126644?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126627Creation of Temporary File With Insecure Permissions vulnera…
- CVE-2026-12663A security issue exists within ControlFLASH™, where the inst…7
- CVE-2026-12664GitLab has remediated an issue in GitLab CE/EE affecting all…6.8
- CVE-2026-126641A host key verification flaw was found in ansible-pylibssh a…6.5
- CVE-2026-126642An incorrect authorization flaw was found in AWX, the automa…6.5
- CVE-2026-126643A cleartext storage flaw was found in the AAP Gateway Operat…6.5
- CVE-2026-12665IBM MQ could allow a remote attacker to execute arbitrary co…9.8
- CVE-2026-126658ByteStash 1.5.10 before 1.6.2 contains an insufficient sessi…5.4
- CVE-2026-126659BlueprintUE Self-Hosted Edition 1.0.0 before 4.3.5 contains …7.5
- CVE-2026-12666IBM MQ 9.1.0.0 through 9.1.0.37 LTS, 9.2.0.0 through 9.2.0.4…8.1
- CVE-2026-126662Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 b…7.1
- CVE-2026-126663Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 b…4.3
Are you affected by CVE-2026-126644?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
