CVE-2026-33195: rails activestorage · Path Traversal
Affects rails activestorageSource CVE Database V5
Not known to be exploited · CVSS 8.0 High · fixed in 8.1.2.1 : patch rails activestorage soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.1.2.1, 8.0.4.1, 7.2.3.1
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:UExploitation evidence
Disclosed: evidence found.
CVE published 23 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade activestorage to 8.1.2.1, 8.0.4.1 or 7.2.3.1; activestorage to 7.2.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsactivestorage | Affected
| Fixed in
|
| railsactivestorage | Affected
| Fixed in
|
| railsactivestorage | Affected
| Fixed in
|
RubyGemsactivestoragepkg:gem/activestorageOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Rails Active Storage versions 8.1.2.1, 8.0.4.1, and 7.2.3.1. Users should upgrade to one of these fixed versions to remediate the vulnerability. Since this is not a cloud service, remediation depends on applying these official fixes. Applications should also ensure that blob keys are not derived from untrusted user input to reduce risk.
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.
References
- github.com/rails/rails/security/advisories/GHSA-9xrj-h377-fr87 (opens in a new tab)
- github.com/rails/rails/commit/4933c1e3b8c1bb04925d60347be9f69270392f2c (opens in a new tab)
- github.com/rails/rails/commit/9b06fbc0f504b8afe333f33d19548f3b85fbe655 (opens in a new tab)
- github.com/rails/rails/commit/a290c8a1ec189d793aa6d7f2570b6a763f675348 (opens in a new tab)
- github.com/rails/rails/releases/tag/v7.2.3.1 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.4.1 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.2.1 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-33195 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2450546 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33195.json (opens in a new tab)