Vulnerability · Published Sep 9, 2026 · Assigned by redhat
CVE-2026-87874Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller
High 8.1
In plain English
A high-severity unsafe deserialization in Red Hat Ceph Storage 5 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | no fix listed | DEBIAN-CVE-2026-87874 |
| Debian:13 | ansible | no fix listed | DEBIAN-CVE-2026-87874 |
| Debian:14 | ansible | no fix listed | DEBIAN-CVE-2026-87874 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-87874 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-87874 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2026-87874 |
| Ubuntu:22.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-87874 |
| Ubuntu:24.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-87874 |
| Ubuntu:26.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-87874 |
| Ubuntu:26.10 | ansible-core | no fix listed | UBUNTU-CVE-2026-87874 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | see references |
| Red Hat | Red Hat Ceph Storage 9 | see references |
| Red Hat | Red Hat OpenStack Platform 17.1 | see references |
| Red Hat | Red Hat OpenStack Platform 18.0 | see references |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-87874 vdb-entry, x_refsource_REDHAT
- RHBZ#2530995 issue-tracking, x_refsource_REDHAT