Vulnerabilities

CVE-2026-33173

Medium 5.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-03-24
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.4 % higher than 32 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
activestorage (RubyGems) < 7.2.3.1 Affected
activestorage (RubyGems) ≥ 8.0.0.beta1, < 8.0.4.1 Affected
activestorage (RubyGems) ≥ 8.1.0.beta1, < 8.1.2.1 Affected
Rubyonrails Rails < 7.2.3.1 Affected
Rubyonrails Rails ≥ 8.0.0, < 8.0.4.1 Affected
Rubyonrails Rails ≥ 8.1.0, < 8.1.2.1 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities