Back to CVE records
Medium 6.6Published Mar 23, 2026

CVE-2026-33202Rails Active Storage has possible glob injection in its DiskService

Updated under an hour ago ()

Does this affect you?

It affects rails activestorage and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.6 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Weakness (CWE)
CWE-74
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Mar 24, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
rails activestorage
rails:activestorage (from the name)
from 8.1.0.beta1, < 8.1.2.1; from 8.0.0.beta1, < 8.0.4.1; before 7.2.3.1
CNA record
rubyonrails rails
rubyonrails:rails
before 7.2.3.1; from 8.0.0 before 8.0.4.1; from 8.1.0 before 8.1.2.1
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.