CVE-2026-126084
Active Storage facilita la subida y la referencia de archivos en servicios en la nube y su asociación a objetos de Active Record. Antes de las versiones 8.1.4.1 y 8.0.5.2, cuando un servicio GCS se configura con la opción cache_control, ActiveStorage::Service::GCSService#url_for_direct_upload firma las URL de subida directa con V4, y la firma V4 solo cubre las cabeceras Cache-Control y Host. Por ello, un cliente de subida directa puede enviar un Content-Type de su elección y omitir el Content-MD5 declarado sin que la URL deje de ser válida.
Leer descripción completaMostrar menos
GCS almacena el tipo de contenido proporcionado como metadatos del objeto, que tienen prioridad sobre el response-content-type que Active Storage establece en las URL de descarga, por lo que un objeto subido podría servirse como HTML en línea bajo la ruta del bucket de la aplicación en storage.googleapis.com. El script de ese objeto se ejecuta en el origen del almacenamiento y no en el de la aplicación, pero podría registrar un Service Worker con alcance sobre la ruta del bucket y leer o reemplazar las respuestas posteriores de una víctima para las URL firmadas de ese bucket. Están afectadas las aplicaciones que usan el servicio GCS con cache_control configurado y que aceptan subidas directas. Los servicios GCS sin cache_control firman con V2 y no se ven afectados. Este problema está corregido 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
T1203Exploitation for Client Executionexecution85 % - Impacto principal
T1059Command and Scripting Interpreterexecution55 % - Impacto secundario
T1565Data Manipulationimpact50 %
Vector UI:R y AV:N; el texto indica que un objeto subido se sirve como HTML inline y su script se ejecuta en el origen de almacenamiento, pudiendo alterar respuestas mediante Service Worker.
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
- 12 nov 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Debilidad (CWE)
- CWE-345
Referencias
- Parchegithub.com/rails/rails/commit/8d93f6a872e9550a91bf0e4fce50083a2…
- Parchegithub.com/rails/rails/commit/ddc08ba61a8001e7402864c62e466cf73…
- 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-3w93-6hmw-whh4
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-126084",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-126084",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-12T19:10:19.483535Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 4.7,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 2.7,
"exploitabilityScore": 1.6
}
]
},
"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:27.287",
"references": [
{
"url": "https://github.com/rails/rails/commit/8d93f6a872e9550a91bf0e4fce50083a235ef3b1",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/commit/ddc08ba61a8001e7402864c62e466cf732fc7614",
"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-3w93-6hmw-whh4",
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-345"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, when a GCS service is configured with the cache_control option, ActiveStorage::Service::GCSService#url_for_direct_upload signs direct-upload URLs with V4, and the V4 signature covers only the Cache-Control and Host headers. A direct-upload client can therefore send a Content-Type of its choosing, and can omit the declared Content-MD5, without invalidating the URL. GCS stores the supplied content type as object metadata, which takes precedence over the response-content-type that Active Storage sets on download URLs, so an uploaded object could be served as inline HTML under the application's bucket path on storage.googleapis.com. Script in such an object runs on the storage origin rather than the application's, but could register a Service Worker scoped to the bucket path and read or replace a victim's later responses for signed URLs in that bucket. Applications that use the GCS service with cache_control configured and accept direct uploads are affected. GCS services without cache_control sign with V2 and are not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2."
}
],
"lastModified": "2026-11-12T22:09:39.233",
"sourceIdentifier": "security-advisories@github.com"
}