CVE-2026-87874
HighCVSS 8.1Exploitation Probability (EPSS)
Low risk36th percentile - higher than 36% of all known CVEs
Summary
The memcached cache plugin in the community.general Ansible collection does not perform explicit serialization, relying on python-memcached which pickles values on write and unpickles on read. Because memcached is unauthenticated and cache keys are predictable, an attacker can write a crafted pickle payload that is deserialized and executed on the Ansible controller when the poisoned fact cache is read, leading to remote code execution.
Risk Assessment
The risk includes remote code execution on the Ansible controller, potentially leading to full compromise of the managed infrastructure.
Recommendation
Secure the memcached instance (e.g., with authentication and network restrictions) and update the community.general collection to a patched version.
Other vulnerabilities in community.general Ansible collection
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

