6.3

CVE-2024-9902: Ansible-core: ansible-core user may read/write unauthorized content

Deferred
AliasesGHSA-32p4-gm2c-wmchPYSEC-2026-1121UBUNTU-CVE-2024-9902
Published 06-11-2024Last modified 06-11-2025

Vulnerability summary

CVE-2024-9902 is a medium (CVSS 6.3) Incorrect Authorization vulnerability in ansible-core. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11 · Related 8

Timeline

  1. 06-11-2024
    PublishedVulnerability first disclosed.
  2. 06-11-2025
    Last modifiedVulnerability information updated.

Description

A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.26% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • ansible-operator< 1.37.0-r0
  • ansible-operator-compat< 1.37.0-r0
Debian2 products
  • ansible< 5.4.0-1
  • ansible-core< 2.14.18-0+deb12u1 | < 2.18.0-1
Ubuntu2 products
  • ansibleAll versions (No fix recorded)
  • ansible-coreAll versions (No fix recorded)
PyPI1 product
  • ansible-core< 2.14.18rc1 | ≥ 2.15.0b1, < 2.15.13rc1 | ≥ 2.16.0b1, < 2.16.13rc1 | ≥ 2.17.0b1, < 2.17.6rc1 | ≥ 2.18.0b1, < 2.18.0rc2

4 vendors · 7 products

References

24 links
Show all 24 references