Skip to main content

Active Storage CVE-2026-126074

| EUVDEUVD-2026-122910 MEDIUM
Uncaught Exception (CWE-248)
2026-11-10 security-advisories@github.com GHSA-p2pm-g2h6-7j5j
4.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with attachment-upload permission
  2. Delivery
    Upload file with NUL-byte filename
  3. Exploit
    Name stored verbatim in SQLite/MySQL
  4. Execution
    Variant/preview/render request raises ArgumentError
  5. Impact
    Persistent 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

rails < 8.0.5.2
rails 8.1, < 8.1.4.1

Affected Packages

rubygems activestorage fix: 8.0.5.2, 8.1.4.1
euvd rails fix: 8.0.5.2, 8.1.4.1

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

Vendor (github) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 4.3 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 22:20 EUVD
CVE Published
Nov 10, 2026 - 21:19 cve.org
MEDIUM 4.3

DescriptionCVE.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

EPSS Score
0.5%
Top 57% exploitable
Prevalence
High
Rails is a widely-deployed web framework; Active Storage is a common first-party component
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

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

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

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

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy