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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-74"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33202.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "7.2.3.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.4.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.2.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8c9676b803820110548cdb7523800db43bc6874c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "955284d26e469a9c026a4eee5b21f0414ab0bccf"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fa19073546360856e9f4dab221fc2c5d73a45e82"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v7.2.3.1",
"range": [
{
"fixed": "ba76fca032a66f3716ca8a661c9ddb006acaf885"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v8.0.4.1",
"range": [
{
"fixed": "a79efed95797b196575a98845dc989e3106a9acb"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v8.1.2.1",
"range": [
{
"fixed": "1db4b89687cc18311fc3f92623136705df24e671"
}
],
"source": "REFERENCES_TAG"
}
]
}