CVE-2026-129514

Crítica (10)—PoC
Parchear con prioridadHay código de explotación público (Prueba de concepto en GitHub (no verificada)). Sin explotación activa confirmada.
Gravedad10Crítica · CVSS 4.0
Probabilidad de explotación—en los próximos 30 días
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 10:00
Exploit públicoDisponiblePrueba de concepto en GitHub (no verificada)

Vulnerabilidad de deserialización de datos no confiables en el analizador del cuerpo de solicitudes application/vnd.hex+erlang en hexpm hexpm, que permite a un atacante remoto sin autenticar ejecutar comandos del sistema operativo mediante un cuerpo de solicitud manipulado en el formato de términos externos de Erlang. Esta vulnerabilidad fue explotada activamente contra el servicio hex.pm el 2026-11-23.

HexpmWeb.ErlangFormat.decode/1 en lib/hexpm_web/erlang_format.ex decodifica el cuerpo con Plug.Crypto.non_executable_binary_to_term/2, que acepta mapas que tienen una clave __struct__.

Leer descripción completaMostrar menos

HexpmWeb.PlugParser.parse/5 devuelve el término decodificado como los parámetros de la solicitud. El analizador se ejecuta en el endpoint antes del enrutamiento y de la autenticación, por lo que un POST a cualquier ruta llega a él. Elixir despacha los protocolos según la clave __struct__, de modo que el cliente selecciona qué implementaciones de Inspect y Enumerable se ejecutan cuando el registro de errores inspecciona los parámetros. Una cadena a través de Ecto.Query.DynamicExpr y DBConnection.Stream llega a una llamada apply/3 sobre una tupla {module, function, args} tomada del cuerpo de la solicitud.

Esta vulnerabilidad afecta a hex.pm: desde el 2016-02-23 hasta antes del 2026-11-23; y a hexpm/hexpm: desde ab1bbcef7cc8395d1056d3b1aa6a174353492d59 hasta antes de 379b0a29bcc95164249f38ad7d772a37a8ff9533.

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.

  1. Registro CVE publicado en NVD
  2. Primer exploit público

Exploits públicos

Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.

⚠️ Las pruebas de concepto de GitHub no están verificadas: algunas son falsas o contienen malware. No las ejecute nunca fuera de un laboratorio aislado.

Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vector AV:N/PR:N/UI:N: explotable remotamente sin autenticación ni interacción; la descripción indica ejecución de comandos del sistema operativo mediante un cuerpo de petición Erlang manipulado.

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 (1)

⚠ 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
24 nov 2026
Última modificación
24 nov 2026
Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Debilidad (CWE)
CWE-502

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-129514",
  "cveTags": [],
  "metrics": {
    "cvssMetricV40": [
      {
        "type": "Secondary",
        "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "cvssData": {
          "Safety": "NOT_DEFINED",
          "version": "4.0",
          "Recovery": "NOT_DEFINED",
          "baseScore": 10,
          "Automatable": "NOT_DEFINED",
          "attackVector": "NETWORK",
          "baseSeverity": "CRITICAL",
          "valueDensity": "NOT_DEFINED",
          "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
          "exploitMaturity": "ATTACKED",
          "providerUrgency": "NOT_DEFINED",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "privilegesRequired": "NONE",
          "subIntegrityImpact": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "subAvailabilityImpact": "HIGH",
          "vulnAvailabilityImpact": "HIGH",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "subConfidentialityImpact": "HIGH",
          "vulnConfidentialityImpact": "HIGH",
          "confidentialityRequirement": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED"
        }
      }
    ]
  },
  "affected": [
    {
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "affectedData": [
        {
          "cpes": [
            "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"
          ],
          "vendor": "hexpm",
          "modules": [
            "'Elixir.HexpmWeb.ErlangFormat'",
            "'Elixir.HexpmWeb.PlugParser'"
          ],
          "product": "hexpm",
          "versions": [
            {
              "status": "affected",
              "version": "2016-02-23",
              "lessThan": "2026-11-23",
              "versionType": "date"
            }
          ],
          "packageName": "hex.pm",
          "programFiles": [
            "lib/hexpm_web/erlang_format.ex",
            "lib/hexpm_web/plug_parser.ex"
          ],
          "collectionURL": "https://hex.pm",
          "defaultStatus": "unaffected",
          "programRoutines": [
            {
              "name": "'Elixir.HexpmWeb.ErlangFormat':decode/1"
            },
            {
              "name": "'Elixir.HexpmWeb.PlugParser':parse/5"
            }
          ]
        },
        {
          "cpes": [
            "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"
          ],
          "repo": "https://github.com/hexpm/hexpm",
          "vendor": "hexpm",
          "modules": [
            "'Elixir.HexpmWeb.ErlangFormat'",
            "'Elixir.HexpmWeb.PlugParser'"
          ],
          "product": "hexpm",
          "versions": [
            {
              "status": "affected",
              "version": "ab1bbcef7cc8395d1056d3b1aa6a174353492d59",
              "lessThan": "379b0a29bcc95164249f38ad7d772a37a8ff9533",
              "versionType": "git"
            }
          ],
          "packageURL": "pkg:github/hexpm/hexpm",
          "packageName": "hexpm/hexpm",
          "programFiles": [
            "lib/hexpm_web/erlang_format.ex",
            "lib/hexpm_web/plug_parser.ex"
          ],
          "collectionURL": "https://github.com",
          "defaultStatus": "unaffected",
          "programRoutines": [
            {
              "name": "'Elixir.HexpmWeb.ErlangFormat':decode/1"
            },
            {
              "name": "'Elixir.HexpmWeb.PlugParser':parse/5"
            }
          ]
        }
      ]
    }
  ],
  "published": "2026-11-24T14:18:02.623",
  "references": [
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-129514.html",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    },
    {
      "url": "https://github.com/hexpm/hexpm/commit/379b0a29bcc95164249f38ad7d772a37a8ff9533",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    },
    {
      "url": "https://github.com/hexpm/hexpm/commit/ab1bbcef7cc8395d1056d3b1aa6a174353492d59",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    },
    {
      "url": "https://github.com/hexpm/hexpm/security/advisories/GHSA-9pmm-hf4r-27pg",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    },
    {
      "url": "https://hex.pm/blog/security-incident-on-hexpm",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    },
    {
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-129514",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    }
  ],
  "vulnStatus": "Awaiting Analysis",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "description": [
        {
          "lang": "en",
          "value": "CWE-502"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm hexpm allows an unauthenticated remote attacker to execute operating system commands via a crafted Erlang external term format request body. This vulnerability was actively exploited against the hex.pm service on 2026-11-23.\n\nHexpmWeb.ErlangFormat.decode/1 in lib/hexpm_web/erlang_format.ex decodes the body with Plug.Crypto.non_executable_binary_to_term/2, which accepts maps that have a __struct__ key. HexpmWeb.PlugParser.parse/5 returns the decoded term as the request params. The parser runs in the endpoint before routing and authentication, so a POST to any route reaches it. Elixir dispatches protocols on the __struct__ key, so the client selects which Inspect and Enumerable implementations run when error reporting inspects the params. A chain through Ecto.Query.DynamicExpr and DBConnection.Stream reaches an apply/3 call on a {module, function, args} tuple taken from the request body.\n\nThis issue affects hex.pm: from 2016-02-23 before 2026-11-23; hexpm/hexpm: from ab1bbcef7cc8395d1056d3b1aa6a174353492d59 before 379b0a29bcc95164249f38ad7d772a37a8ff9533."
    }
  ],
  "lastModified": "2026-11-24T19:12:16.707",
  "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}