NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-9902: ansible-core Incorrect Authorization vulnerability

mediumCVSS 4.0 5.3 · 3.1 6.3GHSA-32p4-gm2c-wmch

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.

Published Nov 6, 2024 · Updated Nov 4, 2025

Affected packages

ansible-core

Ecosystem
PyPI
Affected
< 2.14.18rc1
Fixed in
2.14.18rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.15.0b1, < 2.15.13rc1
Fixed in
2.15.13rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.16.0b1, < 2.16.13rc1
Fixed in
2.16.13rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.17.0b1, < 2.17.6rc1
Fixed in
2.17.6rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.18.0b1, < 2.18.0rc2
Fixed in
2.18.0rc2
Check
pip show ansible-core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries