Home / rails / activestorage / CVE-2026-33195
CVE-2026-33195: is it exploited, and which versions of rails activestorage are affected and fixed?
CVE-2026-33195 is a path traversal (reading or writing files outside the intended folder) vulnerability in rails activestorage. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: activestorage from 8.1.0.beta1 before 8.1.2.1, activestorage from 8.0.0.beta1 before 8.0.4.1 and activestorage before 7.2.3.1 (GitHub advisory GHSA-9xrj-h377-fr87). Fixed in 8.1.2.1, 8.0.4.1 and 7.2.3.1 (GitHub advisory GHSA-9xrj-h377-fr87). Severity: High (8.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-33195?
Rails Active Storage has possible Path Traversal in DiskService
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.
From the CVE record by GitHub_M, last updated August 19, 2026, 12:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rails | activestorage | >= 8.1.0.beta1, < 8.1.2.1 >= 8.0.0.beta1, < 8.0.4.1 < 7.2.3.1 |
As the CVE record by GitHub_M states it, last updated August 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | activestorage | >= 8.1.0.beta1, < 8.1.2.1 | 8.1.2.1 | GHSA-9xrj-h377-fr87 |
| RubyGems | activestorage | >= 8.0.0.beta1, < 8.0.4.1 | 8.0.4.1 | GHSA-9xrj-h377-fr87 |
| RubyGems | activestorage | < 7.2.3.1 | 7.2.3.1 | GHSA-9xrj-h377-fr87 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 13, 2026. Summary: Rails Active Storage has possible Path Traversal in DiskService.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubyonrails | rails | before 7.2.3.1 | application |
| rubyonrails | rails | from 8.0.0 before 8.0.4.1 | application |
| rubyonrails | rails | from 8.1.0 before 8.1.2.1 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:20 UTC.
How severe is CVE-2026-33195?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 4.0 | 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 | GitHub_M |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N | redhat-SADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-33195 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, March 24, 2026)
- EPSS
- 0.65% probability of exploitation activity in the next 30 days, percentile 52.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/rails/rails/security/advisories/GHSA-9xrj-h377-fr87 x_refsource_CONFIRM
- https://github.com/rails/rails/commit/4933c1e3b8c1bb04925d60347be9f69270392f2c x_refsource_MISC
- https://github.com/rails/rails/commit/9b06fbc0f504b8afe333f33d19548f3b85fbe655 x_refsource_MISC
- https://github.com/rails/rails/commit/a290c8a1ec189d793aa6d7f2570b6a763f675348 x_refsource_MISC
- https://github.com/rails/rails/releases/tag/v7.2.3.1 x_refsource_MISC
- https://github.com/rails/rails/releases/tag/v8.0.4.1 x_refsource_MISC
- https://github.com/rails/rails/releases/tag/v8.1.2.1 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-33195 vdb-entry, x_refsource_REDHAT
- RHBZ#2450546 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33195.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- March 17, 2026
- Published
- March 23, 2026, 23:31 UTC
- CVE record updated
- August 19, 2026, 12:05 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:20 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect activestorage?
- Mar 26, 2026CVE-2026-33658 rails activestorage: denial of service (resources allocated without limits)
- Mar 23, 2026CVE-2026-33202 rails activestorage: injection
- Mar 23, 2026CVE-2026-33174 rails activestorage: memory Allocation with Excessive Size Value
- Mar 23, 2026CVE-2026-33173 rails activestorage: improper Verification of Intent by Broadcast Receiver
- Jan 30, 2026CVE-2025-24293 Rails activestorage: code injection (remote code execution)
Questions about CVE-2026-33195
Is CVE-2026-33195 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of rails activestorage are affected by CVE-2026-33195?
activestorage from 8.1.0.beta1 before 8.1.2.1, activestorage from 8.0.0.beta1 before 8.0.4.1 and activestorage before 7.2.3.1, per the GitHub advisory GHSA-9xrj-h377-fr87. The tables above give every range the sources list.
Which version fixes CVE-2026-33195?
8.1.2.1, 8.0.4.1 and 7.2.3.1, per the GitHub advisory GHSA-9xrj-h377-fr87. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-33195?
High (8.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-33195?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.