Updated: 2026-02-27 01:48:38.934169
Description:
A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.
| Links | NIST | CIRCL | RHEL | Ubuntu |
| Severity | Score | |
|---|---|---|
| CVSS Version 2.x | LOW | 3.7 |
| CVSS Version 3.x | MEDIUM | 5.0 |
| OS name | Project name | Version | Score | Severity | Status | Errata | Last updated | Statement |
|---|---|---|---|---|---|---|---|---|
| CentOS 6 ELS | ansible | 2.6.20 | 5.0 | MEDIUM | Ignored | 2024-05-06 21:57:53 | Ignored due to low severity | |
| CloudLinux 6 ELS | ansible | 2.6.20 | 5.0 | MEDIUM | Ignored | 2024-05-06 21:57:53 | Ignored due to low severity | |
| Debian 10 ELS | ansible | 2.7.7 | 5.0 | MEDIUM | Ignored | 2025-10-11 00:24:12 | Ignored due to low severity | |
| Oracle Linux 6 ELS | ansible | 2.6.20 | 5.0 | MEDIUM | Ignored | 2024-05-06 21:57:52 | Ignored due to low severity | |
| Ubuntu 16.04 ELS | ansible | 2.0.0.2 | 5.0 | MEDIUM | Released | CLSA-2025:1748451788 | 2025-05-29 04:04:38 |