Description
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.
Severity (CVSS)
| Base score | 8.1 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-502 — Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | — |
| Red Hat | Red Hat Ceph Storage 9 | — |
| Red Hat | Red Hat OpenStack Platform 17.1 | — |
| Red Hat | Red Hat OpenStack Platform 18.0 | — |
References
- https://access.redhat.com/security/cve/CVE-2026-87874 (vdb-entry x_refsource_REDHAT)
- https://bugzilla.redhat.com/show_bug.cgi?id=2530995 (issue-tracking x_refsource_REDHAT)
Generated from the official CVE List on 10 Sep 2026 07:03 UTC.