CVE-2026-33195
No exploitation reported by the sources we read.
- Published2026-03-24
- Fixed in8.1.2.1 · 8.0.4.1 · 7.2.3.1
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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#path_for` does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. `../`) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Timeline
dates in UTC- 2026-03-2400:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.1 | ≥ 8.1.0, < 8.1.2.1 | 8.1.2.1 | NVD |
| 8.1 | ≥ 8.1.0.beta1, < 8.1.2.1 | 8.1.2.1 | OSV |
| 8.0 | ≥ 8.0.0, < 8.0.4.1 | 8.0.4.1 | NVD |
| 8.0 | ≥ 8.0.0.beta1, < 8.0.4.1 | 8.0.4.1 | OSV |
| 7.2 | < 7.2.3.1 | 7.2.3.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- rails activestorageAffected
- = >= 8.1.0.beta1, < 8.1.2.1no fix stated
- = >= 8.0.0.beta1, < 8.0.4.1no fix stated
- = < 7.2.3.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-03-23
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitlab-rails-ce-18.1Chainguardall versions · no fixed version listedand 12 other packages
- gitlab-rails-ce-18.10Chainguardall versions · fixed in 18.10.3-r1
- gitlab-rails-ce-18.8Chainguardall versions · fixed in 18.8.11-r4
- gitlab-rails-ce-18.9Chainguardall versions · fixed in 18.9.5-r0and 1 other package
- gitlab-rails-ce-fips-18.10Chainguardall versions · fixed in 18.10.3-r0
- railsUbuntu:Pro:22.04:LTSall versions · no fixed version listed
- railsUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- railsUbuntu:Pro:18.04:LTSall versions · no fixed version listed
11 more package ranges on OSV.dev
Vendor advisories
Rails: Active Storage: Active Storage (Rails): Arbitrary file access via path traversal in blob keys
3scale-amp2/system-rhel7 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/system-rhel8 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/system-rhel9 as a component of Red Hat 3scale API Management Platform 2 · +14 more
Fix
- Update Ruby on Rails to 8.1.2.1 · 8.0.4.1 · 7.2.3.1
- Workaround from the vendor Red Hat Product Security CVE-2026-33195 · 17 productsTo mitigate this issue, ensure that blob keys used by Active Storage are not derived from untrusted user input. Applications should validate and sanitize any user-provided data before it is used in blob keys to prevent path traversal sequences.
- No fix available, says the vendor Red Hat Product Security CVE-2026-33195 · 3 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2026-33195 · 14 productsWill not fix
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
- github.comRelease Notes
- github.comRelease Notes
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-03-24
- CNACVSS 4.08known since 2026-10-23
- CNACVSS 3.18.1known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2026-03-23
Identifiers
- CGA-3mqv-p7v2-7m53same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4483-39hm-c758same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4p8f-g6gm-3mffsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4rhf-vcm3-vxxhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5c8w-889h-4w83same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5h7f-2pxf-h2hfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jmx-7pwp-5xq8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5w25-px38-6mv4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5x3w-5m4r-hjmfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-66mr-8hgg-qhfvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6mgm-5fpv-wjpmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7cg2-gqrp-6w87same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7jhm-r2rc-ff64same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7v7h-2266-j8w7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-835v-rh3f-q5q8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-86qp-97j5-p69gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-898r-5pvm-xv63same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c4f2-9q26-5fjfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cgxw-4f9m-r9c2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-chh8-c7q8-ffh2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f9gx-8qrq-5r27same flawChainguard · CC-BY-NC-ND-4.0
- CGA-ghqc-6gcf-9q66same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hmw5-whf9-r4h9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j3j3-xg24-264gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j7pp-mv4q-pm5xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jcrw-jc2x-m869same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mcv4-fx79-3wjrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p29v-2mp6-mxr3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-q257-vg39-w6p2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-q7qp-mh5w-xhppsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qccw-fwrm-m8qwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qhmx-8658-mmp3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qp58-cx76-8crvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-r5wx-fxf3-593vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rfr4-3rxh-j23fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v38r-w6xc-cx6qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vr3g-hvrm-783hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x5jm-6m6c-5xgqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xm7m-gwfr-545msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xw69-x32m-hmc4same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-14632same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-9xrj-h377-fr87same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/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
- Published
- 2026-03-24
- Last Modified
- 2026-07-15
- NVD status
- Modified
- GitHub Advisory
- GHSA-9xrj-h377-fr87
Frequently asked questions
What is CVE-2026-33195?
Is CVE-2026-33195 actively exploited?
What is the CVSS score for CVE-2026-33195?
Running Ruby on Rails? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-9xrj-h377-fr87
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0