CVE-2026-87874

Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller

State
Published
Severity
8.1 High
Published
Sep 9, 2026
Updated
Sep 10, 2026
Reserved
Sep 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
Red Hat Ceph Storage 5Red Hat
    Red Hat Ceph Storage 9Red Hat
      Red Hat OpenStack Platform 17.1Red Hat
        Red Hat OpenStack Platform 18.0Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.