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).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.7%top 45.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ansibleno fix listedDEBIAN-CVE-2026-87874
Debian:13ansibleno fix listedDEBIAN-CVE-2026-87874
Debian:14ansibleno fix listedDEBIAN-CVE-2026-87874
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2026-87874
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2026-87874
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2026-87874
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-87874
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-87874
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-87874
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2026-87874

Affected products (as reported)

VendorProductVersions
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