Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with attachment-upload permission
-
DeliveryUpload file with NUL-byte filename
-
ExploitName stored verbatim in SQLite/MySQL
-
ExecutionVariant/preview/render request raises ArgumentError
-
ImpactPersistent DoS on pages displaying blob
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Requires an authenticated user who is permitted to upload Active Storage attachments (PR:L), and the application's database must accept NUL bytes in string columns - specifically SQLite or MySQL/MariaDB. Applications on PostgreSQL are not affected because PostgreSQL rejects the row at insert time. The DoS only manifests on code paths that build a variant or preview, open the blob, or render it as an Action Text attachment, so impact is confined to pages that display the poisoned blob and persists only until the blob is purged or its filename corrected. Limiting factors: upload authorization is required, the vulnerable database backend is required, and the application must be running an affected version (>= 8.1.0.beta1 < 8.1.4.1, or < 8.0.5.2). |
| Impact | This is a genuine but low-urgency availability issue, not a high-priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L, base 4.3) and CWE-248 (uncaught exception) are internally consistent with the advisory: an authenticated user (PR:L) who is permitted to upload attachments stores a NUL-byte filename verbatim, and each later request that builds a variant/preview or renders the blob raises ArgumentError, producing a scoped, persistent DoS limited to pages displaying that blob (A:L, not A:H; C:N/I:N - no data exposure). No EPSS score is provided in the input; there is no CISA KEV listing and no public exploit reference, so there is no public exploit identified at time of analysis - the flaw was found internally by the Anthropic OSS Scanner, not through observed attacks. No SSVC fields are supplied; the only priority signal is the vendor/vuln.today Decision label 'this_month', which aligns with the modest CVSS and the requirements of authentication plus a specific database backend. One input conflict to note: the Tags include 'Information Disclosure', which contradicts the CVSS (C:N) and the advisory - this is a DoS (CWE-248), not an information-disclosure issue. Bottom line: a real but bounded, self-inflicted-scope DoS that is a routine-patch item, not a drop-everything priority. |
| Exploit ScenarioDerived | An authenticated user of a Rails application backed by SQLite or MySQL/MariaDB uploads an attachment whose client-supplied filename contains a NUL byte (e.g. 'holiday\0.jpg'); Active Storage persists the name verbatim because the database accepts NUL bytes in string columns. Every subsequent request that generates a variant/preview of that blob, opens it, or renders it as an Action Text attachment then raises ArgumentError, breaking those pages until the blob is purged or its filename corrected. No public exploit code is identified; the attack is network-reachable (AV:N) and low-complexity (AC:L) but requires upload privileges (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Persistent denial of service in the Rails Active Storage gem (rubygems activestorage) lets a user who is permitted to upload attachments persist a client-supplied filename containing a NUL byte, which later causes ArgumentError whenever the blob is opened, has a variant or preview built, or is rendered as an Action Text attachment. Exploitation requires an authenticated uploader (CVSS PR:L) and a database backend that stores NUL bytes in string columns - SQLite or MySQL/MariaDB; PostgreSQL applications are not affected because the row is rejected at insert. Tracked with CVSS 3.1 base score 4.3 (availability-only, low impact) and prioritized as 'this_month'; no public exploit code was identified at time of analysis, and the primary risk is low-urgency availability degradation rather than a high-priority emergency.
RemediationAI
Vendor-released patches are available: upgrade activestorage to 8.1.4.1 (8.1 series) or 8.0.5.2 (8.0 series), per https://github.com/rails/rails/releases/tag/v8.1.4.1 and https://github.com/rails/rails/releases/tag/v8.0.5.2. Teams that cannot upgrade immediately can apply the vendor-published backports - https://github.com/rails/rails/commit/60f22af88b71eae251f112d8c0237a08a8832692.patch for 8.1 and https://github.com/rails/rails/commit/9b0d4bef2211a2c08cab2e0ea17fa1d0efd5d47a.patch for 8.0 - which make #base and #extension derive from the sanitized filename; no data migration is required, and the change applies to already-persisted blobs without rewriting stored filenames (for names that sanitization alters, an existing variant may be regenerated once). Where patching is delayed, the exposure can be reduced by narrowing which accounts hold attachment-upload permission, since the prerequisite is an authenticated user allowed to upload, and by purging or correcting any blob rows already carrying a NUL byte in the filename so the affected display pages stop raising; both are partial measures and the upstream patch is the complete fix. Applications on PostgreSQL need no action for this specific issue.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in rubygems, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an uncaught-exception condition (CWE-248) in ActiveStorage::Filename. The methods #base and #extension_with_delimiter (and therefore #extension) passed the stored filename unmodified to Ruby's File.basename and File.extname, both of which raise ArgumentError when the string contains a NUL byte. Because Active Storage persists the client-supplied filename verbatim, a NUL byte uploaded inside a filename lands in the blob metadata on backends that tolerate it - SQLite and MySQL/MariaDB - while PostgreSQL rejects the row at insert time, which is why those deployments are unaffected. The failure then surfaces on ordinary read paths: building a variant or preview, opening the blob, or rendering it as an Action Text attachment raises on every request, producing a persistent DoS for the pages that display that blob until it is purged or its filename corrected. The upstream fix derives #base and #extension_with_delimiter from Filename#sanitized - the same form already used by #to_s and the Content-Disposition header - and extends the sanitizer's replacement character set to include the null character (\u{0000}). The commit's tests show a filename such as "holiday\0.jpg" being stored verbatim while the API returns "holiday-.jpg" with extension "jpg" and no exception when a variant is built. Stored filenames are not rewritten and no data migration is required; for names that sanitization alters, the inferred variant format may change and an existing variant may be regenerated once.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Upload is network-reachable and low-complexity, but requires attachment-upload authorization (PR:L); impact is a scoped, recoverable DoS only (A:L), with no confidentiality or integrity effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-122910
GHSA-p2pm-g2h6-7j5j
NVD
CVE.org
EPSS
VulDB
Exploit-DB