Deserialization of Untrusted Data Affecting ansible-collection-community-general package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.72% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-ANSIBLECOLLECTIONCOMMUNITYGENERAL-19707186
  • published13 Sept 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

CVE-2026-87874  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 ansible-collection-community-general.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible-collection-community-general package and not the ansible-collection-community-general package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1