CVE-2026-126074
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, ActiveStorage::Filename#base and #extension_with_delimiter, and therefore #extension, pass the stored filename unmodified to File.basename and File.extname, which raise ArgumentError when the name contains a NUL byte.
Read full descriptionShow less
Active Storage stores the client-supplied filename verbatim, so a user who is permitted to upload an attachment could persist such a filename on databases that accept NUL bytes in string columns, such as SQLite and MySQL/MariaDB. Each subsequent request that builds a variant or preview of the blob, opens it, or renders it as an Action Text attachment then raises, possibly resulting in a persistent DoS vulnerability for the pages that display the blob until it is purged or its filename is corrected. Applications that use PostgreSQL are not affected, because PostgreSQL rejects the row. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Timeline
Built from our own data: NVD, CISA KEV and other exploitation catalogues, FIRST EPSS, public exploits, specialised media and Orbitaley coverage.
- CVE record published in NVD
- Record last modified in NVD
ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1210Exploitation of Remote Serviceslateral movement85 % - Primary impact
T1499Endpoint Denial of Serviceimpact80 %
El vector AV:N/PR:L/UI:N indica red con privilegios bajos; un nombre de archivo con byte NUL persistido provoca ArgumentError en cada petición que muestra el blob, con DoS persistente.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
ATT&CK mitigations that cover these techniques
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
NVD record
- NVD status
- Awaiting Analysis
- Published
- Nov 10, 2026
- Last modified
- Nov 13, 2026
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Weakness (CWE)
- CWE-248
References
- Patchgithub.com/rails/rails/commit/60f22af88b71eae251f112d8c0237a08a…
- Patchgithub.com/rails/rails/commit/9b0d4bef2211a2c08cab2e0ea17fa1d0e…
- Patchgithub.com/rails/rails/releases/tag/v8.0.5.2
- Patchgithub.com/rails/rails/releases/tag/v8.1.4.1
- Referencegithub.com/rails/rails/security/advisories/GHSA-p2pm-g2h6-7j5j
Raw JSON (NVD)
Show
{
"id": "CVE-2026-126074",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-126074",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-13T16:08:01.643343Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "LOW",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 1.4,
"exploitabilityScore": 2.8
}
]
},
"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:25.720",
"references": [
{
"url": "https://github.com/rails/rails/commit/60f22af88b71eae251f112d8c0237a08a8832692",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/commit/9b0d4bef2211a2c08cab2e0ea17fa1d0efd5d47a",
"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-p2pm-g2h6-7j5j",
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-248"
}
]
}
],
"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, ActiveStorage::Filename#base and #extension_with_delimiter, and therefore #extension, pass the stored filename unmodified to File.basename and File.extname, which raise ArgumentError when the name contains a NUL byte. Active Storage stores the client-supplied filename verbatim, so a user who is permitted to upload an attachment could persist such a filename on databases that accept NUL bytes in string columns, such as SQLite and MySQL/MariaDB. Each subsequent request that builds a variant or preview of the blob, opens it, or renders it as an Action Text attachment then raises, possibly resulting in a persistent DoS vulnerability for the pages that display the blob until it is purged or its filename is corrected. Applications that use PostgreSQL are not affected, because PostgreSQL rejects the row. This issue is fixed in versions 8.1.4.1 and 8.0.5.2."
}
],
"lastModified": "2026-11-13T17:17:24.670",
"sourceIdentifier": "security-advisories@github.com"
}