CVE-2026-87874
Se ha encontrado un fallo en el plugin de caché memcached de la colección de Ansible community.general. Aunque su documentación indica que los registros se almacenan en formato JSON, el plugin no realiza ninguna serialización explícita y se basa en python-memcached, que serializa los valores con pickle al escribir y los deserializa al leer. Como memcached no está autenticado y las claves de caché son predecibles, un atacante capaz de llegar a una instancia de memcached expuesta en la red o compartida puede escribir una carga útil pickle manipulada que se deserializa y ejecuta en el controlador de Ansible cuando se lee la siguiente vez la caché de facts envenenada, lo que provoca la ejecución remota de código.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access85 % - Impacto principal
T1059Command and Scripting Interpreterexecution90 % - Impacto secundario
T1068Exploitation for Privilege Escalationprivilege escalation75 %
Memcached expuesto en red sin autenticación permite inyectar payload pickle que ejecuta código al deserializar en el controlador Ansible (AV:N, acceso remoto sin privilegios previos).
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (3)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Registro NVD
- Estado en NVD
- Pendiente de análisis
- Publicada
- 9 sept 2026
- Última modificación
- 9 sept 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Debilidad (CWE)
- CWE-502
Referencias
- Referenciaaccess.redhat.com/security/cve/CVE-2026-87874
- Referenciabugzilla.redhat.com/show_bug.cgi
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-87874",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-87874",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-09-09T16:58:33.648402Z"
}
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "secalert@redhat.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"cpes": [
"cpe:/a:redhat:ceph_storage:5"
],
"vendor": "Red Hat",
"product": "Red Hat Ceph Storage 5",
"packageName": "ansible-collection-community-general",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ceph_storage:9"
],
"vendor": "Red Hat",
"product": "Red Hat Ceph Storage 9",
"packageName": "ansible-collection-community-general",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openstack:17.1"
],
"vendor": "Red Hat",
"product": "Red Hat OpenStack Platform 17.1",
"packageName": "ansible-collection-community-general",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openstack:18.0"
],
"vendor": "Red Hat",
"product": "Red Hat OpenStack Platform 18.0",
"packageName": "ansible-collection-community-general",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
}
]
}
],
"published": "2026-09-09T17:17:53.093",
"references": [
{
"url": "https://access.redhat.com/security/cve/CVE-2026-87874",
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2530995",
"source": "secalert@redhat.com"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Primary",
"source": "secalert@redhat.com",
"description": [
{
"lang": "en",
"value": "CWE-502"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A flaw was found in the memcached cache plugin of the community.general Ansible\ncollection. Although its documentation states that records are stored in JSON\nformat, the plugin performs no explicit serialization and relies on\npython-memcached, which pickles values on write and unpickles them on read.\nBecause memcached is unauthenticated and cache keys are predictable, an attacker\nable to reach a network-exposed or shared memcached instance can write a crafted\npickle payload that is deserialized and executed on the Ansible controller when\nthe poisoned fact cache is next read, leading to remote code execution."
}
],
"lastModified": "2026-09-09T20:13:26.720",
"sourceIdentifier": "secalert@redhat.com"
}