cve.bz

CVE-2026-33202 rubyonrails rails: Injection

6.6 mediumEPSS 0.7%Fix available

Medium (6.6) in rubyonrails rails. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in activestorage 7.2.3.1, 8.0.4.1, 8.1.2.1.

On this page
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.

Severity

CVSS 4.0

6.6 medium
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

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-03-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33202 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33202?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33202?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33202 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rubyonrails:railsbefore 7.2.3.1
rubyonrails:railsfrom 8.0.0 before 8.0.4.1
rubyonrails:railsfrom 8.1.0 before 8.1.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-73f9-jhhh-hr5mRubyGemsactivestorage>=8.1.0.beta1 <8.1.2.18.1.2.1
GHSA-73f9-jhhh-hr5mRubyGemsactivestorage>=8.0.0.beta1 <8.0.4.18.0.4.1
GHSA-73f9-jhhh-hr5mRubyGemsactivestorage<7.2.3.17.2.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12rails2:6.1.7.10+dfsg-1~deb12u3DEBIAN-CVE-2026-33202 DLA-4829-1
Debian13rails2:7.2.2.2+dfsg-2~deb13u2DEBIAN-CVE-2026-33202 DSA-6546-1
Debian14rails2:7.2.3.1+dfsg-1DEBIAN-CVE-2026-33202
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 morerailsno fix listedUBUNTU-CVE-2026-33202

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is rated as Moderate by Red Hat. Successful exploitation of this vulnerability requires an attacker to control or influence blob keys and trigger deletion operations within the Active Storage component. In typical deployments, these capabilities are restricted to authenticated users or internal application logic, making unauthenticated exploitation unlikely. Additionally, while the vulnerability can result in unintended file deletion (integrity impact), it does not inherently lead to service disruption, as affected files are generally confined to the storage directory.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 23scale-amp20/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp21/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp21/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp22/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp22/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp24/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp24/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp25/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp25/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp26/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp26/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel7Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel8Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33202.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON