VDB
Sign up
MEDIUM6.3

PYSEC-2026-1121

ansible-core Incorrect Authorization vulnerability

Quick fix

PYSEC-2026-1121 — ansible-core: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible-core>=2.14.18rc1'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible-core
Introduced in: 0Fixed in: 2.14.18rc1
Fixpip install --upgrade 'ansible-core>=2.14.18rc1'

References