CVE-2026-87874
published high CVSS 3.1 · 8.1Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-collection-community-generalRed Hat Ceph Storage 5 | Affected | Not stated | redhat |
| Red Hat | — | ansible-collection-community-generalRed Hat Ceph Storage 9 | Affected | Not stated | redhat |
| Red Hat | — | ansible-collection-community-generalRed Hat OpenStack Platform 17.1 | Affected | Not stated | redhat |
| Red Hat | — | ansible-collection-community-generalRed Hat OpenStack Platform 18.0 | Affected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ceph Storage 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenStack Platform 17.1 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenStack Platform 18.0 | Default: affected | redhat · cna |
Weaknesses
1- CWE-502 Deserialization of Untrusted Data
References
2- https://access.redhat.com/security/cve/CVE-2026-87874
- RHBZ#2530995 https://bugzilla.redhat.com/show_bug.cgi?id=2530995
Provider assertions
2redhat · cna
Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c294696b6961e175cb690f1ce19ace5f108e3e2df33c4767d5a74af61dfd815b
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record