ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-33202

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12rails
All versions before 2:6.1.7.10+dfsg-1~deb12u3 (fixed in 2:6.1.7.10+dfsg-1~deb12u3)
Debian:13rails
All versions before 2:7.2.2.2+dfsg-2~deb13u2 (fixed in 2:7.2.2.2+dfsg-2~deb13u2)
Debian:14rails
All versions before 2:7.2.3.1+dfsg-1 (fixed in 2:7.2.3.1+dfsg-1)

References