
CVE catalog
CVE-2026-87874
A flaw was found in the memcached cache plugin of the…
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
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.72% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "ansible",
"status": "vulnerable",
"release": "sid",
"version": "14.4.0+dfsg-1"
},
{
"name": "ansible",
"status": "vulnerable",
"release": "forky",
"version": "14.0.0+dfsg-1"
},
{
"name": "ansible",
"status": "vulnerable",
"release": "trixie",
"version": "12.0.0+dfsg-0+deb13u1"
},
{
"name": "ansible",
"status": "vulnerable",
"release": "bookworm",
"version": "7.7.0+dfsg-3+deb12u1"
}
],
"fixed_versions": [
{
"bug": 1149959,
"name": "ansible",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1149959,
"name": "ansible",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1149959,
"name": "ansible",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1149959,
"name": "ansible",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": []
}Publisher notes
[trixie] ansible: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ansible]Unknown
Details (2)
7.7.0+dfsg-3+deb12u1· all · bookwormAffected
nvd · ansible · debian · bookworm; nvd · ansible · debian · 12
7.7.0+dfsg-3+deb12u1· all · bookwormAffected
nvd · ansible · debian · bookworm; nvd · ansible · debian · 12
[Debian 13 (Trixie)]
- [ansible]Unknown
Details (2)
12.0.0+dfsg-0+deb13u1· all · trixieAffected
nvd · ansible · debian · 13
12.0.0+dfsg-0+deb13u1· all · trixieAffected
nvd · ansible · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-87874]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-87874]
- [https://security-tracker.debian.org/tracker/CVE-2026-87874]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87874.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]