CVE-2026-33173 in Rubyonrails Rails
Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rubyonrails | Rails | < 7.2.3.1 ≥ 8.0.0, < 8.0.4.1 ≥ 8.1.0, < 8.1.2.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-33173 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-150888-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2026-03-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-925: CWE-925
Related attack patterns (CAPEC)
CAPEC-499 Android Intent Intercept via CWE-925
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2026-33173 affects Rails applications using Active Storage prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1. Attackers can manipulate metadata during file uploads to bypass MIME type detection and analysis, potentially leading to security vulnerabilities.
The vulnerability lies in the `DirectUploadsController` of Active Storage, which accepts arbitrary metadata from the client and stores it directly on the blob. This allows attackers to set internal flags such as `identified` and `analyzed` to skip MIME detection and analysis processes.
Questions
What is CVE-2026-33173?
CVE-2026-33173 affects Rails applications using Active Storage prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1. Attackers can manipulate metadata during file uploads to bypass MIME type detection and analysis, potentially leading to security vulnerabilities.
What is the CVSS score for CVE-2026-33173?
CVE-2026-33173 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.5%.
Is CVE-2026-33173 actively exploited?
No confirmed active exploitation of CVE-2026-33173 as of 2026-09-25.
How do I remediate CVE-2026-33173?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-33173?
CVE-2026-33173 affects Rubyonrails Rails.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rubyonrails","product":"Rails","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.