{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-33202","id":"CVE-2026-33202","title":"Rails Active Storage has possible glob injection in its DiskService","description":"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 fil","descriptionLong":"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.","published":"2026-03-23T23:34:52.715Z","updated":"2026-10-28T02:31:01.200441299Z","reserved":"2026-03-17T23:23:58.312Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.6,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.6,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.6,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"medium","products":["rails activestorage"],"affectedProducts":[{"vendor":"rails","product":"activestorage","defaultStatus":null,"versions":[{"version":">= 8.1.0.beta1, < 8.1.2.1","status":"affected"},{"version":">= 8.0.0.beta1, < 8.0.4.1","status":"affected"},{"version":"< 7.2.3.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activestorage","purl":"pkg:gem/activestorage","ranges":[">=8.1.0.beta1 <8.1.2.1",">=8.0.0.beta1 <8.0.4.1","<7.2.3.1"],"fixed":["8.1.2.1","8.0.4.1","7.2.3.1"],"advisory":"GHSA-73f9-jhhh-hr5m"}],"cwes":["CWE-74"],"aliases":["GHSA-73f9-jhhh-hr5m"],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-73f9-jhhh-hr5m","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/rails/rails/commit/8c9676b803820110548cdb7523800db43bc6874c","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/rails/rails/commit/955284d26e469a9c026a4eee5b21f0414ab0bccf","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/rails/rails/commit/fa19073546360856e9f4dab221fc2c5d73a45e82","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.4.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33202.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33202","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-33202.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00728,"epssPercentile":0.54973,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-33202","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33202","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-33202","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-73f9-jhhh-hr5m","ok":true,"note":"GHSA-73f9-jhhh-hr5m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33202","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}