CVE Catalog

CVE-2026-33202

CriticalCVSS 9.1
Published: Updated: Translated: NVD NIST

Summary

In Active Storage (Ruby on Rails) prior to versions 8.1.2.1, 8.0.4.1 and 7.2.3.1, DiskService#delete_prefixed passes blob keys directly to Dir.glob without escaping glob metacharacters. If a blob key contains attacker-controlled input or glob metacharacters, unintended files may be deleted from the storage directory.

Risk Assessment

Unintended files may be deleted from the storage directory, potentially causing data loss or application disruption.

Recommendation

Update Active Storage to version 8.1.2.1, 8.0.4.1 or 7.2.3.1 (or later) which contains the patch.

Other vulnerabilities in Active Storage

See all
Original NVD description (English source)

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, 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. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS