A flaw was found in the memcached cache plugin of the community.general Ansible
collection. Although its documentation states that records are stored in JSON
format, the plugin performs no explicit serialization and relies on
python-memcached, which pickles values on write and unpickles them on read.
Because memcached is unauthenticated and cache keys are predictable, an attacker
able to reach a network-exposed or shared memcached instance can write a crafted
pickle payload that is deserialized and executed on the Ansible controller when
the poisoned fact cache is next read, leading to remote code execution.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-09 17:17
Updated : 2026-09-09 20:13
NVD link : CVE-2026-87874
Mitre link : CVE-2026-87874
CVE.ORG link : CVE-2026-87874
JSON object : View
Products Affected
No product.
CWE
CWE-502
Deserialization of Untrusted Data
