UNKNOWN RubyGems

Rails Active Storage has possible content type bypass via metadata in direct uploads

GHSA-qcfx-2mfw-w4cg · CVE-2026-33173

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes