CVE-2026-126081
Action Pack es un framework para gestionar y responder a peticiones web. Antes de las versiones 8.1.4.1 y 8.0.5.2, ActionController::Parameters#each_key delega en el ActiveSupport::HashWithIndifferentAccess interno que contiene los parámetros de la petición, por lo que, cuando se invoca con un bloque, devuelve ese hash en lugar de la instancia de Parameters. El hash no responde a permitted?, así que la asignación masiva de Active Model (new, assign_attributes, update) lo acepta sin lanzar ActiveModel::ForbiddenAttributesError.
Leer descripción completaMostrar menos
Una aplicación que pase el valor de retorno de each_key a la asignación masiva podría permitir que un atacante remoto y sin autenticar asignase atributos que la aplicación no permite, como un indicador de autorización. Se trata de una corrección incompleta de CVE-2020-8164, que hizo que each, each_pair y each_value devolvieran la instancia de Parameters, pero dejó each_key delegando. Una aplicación se ve afectada si pasa el valor de retorno de ActionController::Parameters#each_key, invocado con un bloque, a la asignación masiva. Rails en sí no realiza tal llamada. Este fallo se corrige en las versiones 8.1.4.1 y 8.0.5.2.
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
- Última modificación del registro 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
T1565Data Manipulationimpact60 %
Vector AV:N/PR:N/UI:N con I:H; each_key devuelve un Hash que evita ForbiddenAttributesError y permite fijar atributos no permitidos, como un flag de autorización.
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
- 10 nov 2026
- Última modificación
- 14 nov 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Debilidad (CWE)
- CWE-915
Referencias
- Parchegithub.com/rails/rails/commit/2fc8838300133931e19eed3ea6cee76a7…
- Parchegithub.com/rails/rails/commit/8ba746e0a786458c281060823f2ccc5c5…
- Parchegithub.com/rails/rails/releases/tag/v8.0.5.2
- Parchegithub.com/rails/rails/releases/tag/v8.1.4.1
- Referenciagithub.com/rails/rails/security/advisories/GHSA-wm3x-v3qw-4jh3
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-126081",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-126081",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-14T03:08:20.462091Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "rails",
"product": "rails",
"versions": [
{
"status": "affected",
"version": ">= 8.1, < 8.1.4.1"
},
{
"status": "affected",
"version": "< 8.0.5.2"
}
]
}
]
}
],
"published": "2026-11-10T21:19:26.817",
"references": [
{
"url": "https://github.com/rails/rails/commit/2fc8838300133931e19eed3ea6cee76a7e83f19c",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/commit/8ba746e0a786458c281060823f2ccc5c5f6312ac",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/releases/tag/v8.0.5.2",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/releases/tag/v8.1.4.1",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/security/advisories/GHSA-wm3x-v3qw-4jh3",
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-915"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, ActionController::Parameters#each_key delegates to the internal ActiveSupport::HashWithIndifferentAccess that holds the request parameters, so when called with a block it returns that hash instead of the Parameters instance. The hash does not respond to permitted?, so Active Model mass assignment (new, assign_attributes, update) accepts it without raising ActiveModel::ForbiddenAttributesError. An application that passes the return value of each_key to mass assignment could allow a remote, unauthenticated attacker to set attributes that the application does not permit, such as an authorization flag. This is an incomplete fix of CVE-2020-8164, which made each, each_pair and each_value return the Parameters instance but left each_key delegated. An application is affected if it passes the return value of ActionController::Parameters#each_key, called with a block, to mass assignment. Rails itself makes no such call. This issue is fixed in versions 8.1.4.1 and 8.0.5.2."
}
],
"lastModified": "2026-11-14T03:17:29.097",
"sourceIdentifier": "security-advisories@github.com"
}