UNKNOWN RubyGems

Rails Active Storage has possible glob injection in its DiskService

GHSA-73f9-jhhh-hr5m · CVE-2026-33202

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 DiskService#delete_prefixed passes blob keys directly to Dir.glob without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory.

Releases

The fixed releases are available at the normal locations.

Ready to move

Start Securing

Free, no credit card | First findings in minutes