CVE-2026-33173
mediumpriority · track · 21EPSS 0.004 · 34 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.3–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (21)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0833Ruby on Rails: Mehrere SchwachstellenDeutsch2026-03-23csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Ruby on Rails ausnutzen, um einen Denial of Service Angriff durchzuführen, um Dateien zu manipulieren, und um einen Cross-Site Scripting Angriff durchzuführen.
- WID-SEC-W-2026-1687IBM License Metric Tool: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2026-05-26csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in IBM License Metric Tool ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
- GHSA-qcfx-2mfw-w4cgRails Active Storage has possible content type bypass via metadata in direct uploads2026-03-23ghsa · osvUS
### Impact Active Storage's `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 malicious direct-upload client could set these flags. ### Releases The fixed releases are available at the normal locations. ### Credit This was responsible reported by Hackerone researcher [pwnie](https://hackerone.com/pwnie)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-33173cnnvd
- https://github.com/rails/rails/commit/707c0f1f41f067fdf96d54e99d43b28dfaae7e53cnnvd
- https://github.com/rails/rails/commit/8fcb934caadc79c8cc4ce53287046d0f67005b3ecnnvd
- https://github.com/rails/rails/commit/d9502f5214e2198245a4c1defe9cd02a7c8057d0cnnvd
- https://github.com/rails/rails/releasesPatchcnnvd
- https://github.com/rails/rails/releases/tag/v7.2.3.1cnnvd
- https://github.com/rails/rails/releases/tag/v8.0.4.1cnnvd
- https://github.com/rails/rails/releases/tag/v8.1.2.1cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan