CVE catalog

CVE-2026-87874

A flaw was found in the memcached cache plugin of the…

[CVE catalog]

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.1CVSS: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": []
}

[Debian bug #1149959]

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 · bookworm

      Affected

      nvd · ansible · debian · bookworm; nvd · ansible · debian · 12

    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Affected

      nvd · ansible · debian · bookworm; nvd · ansible · debian · 12

[Debian 13 (Trixie)]

  • [ansible]Unknown
    Details (2)
    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Affected

      nvd · ansible · debian · 13

    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Affected

      nvd · ansible · debian · 13

Observed:

References