Skip to main content
VulnerabilityPublished Updated

CVE-2026-33195: rails activestorage · Path Traversal

Affects rails activestorageSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
8.0High
How severe the flaw is on the 0–10 CVSS scale.
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:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
railsactivestorageAffected
  • >=8.1.0.beta1 <8.1.2.1
Fixed in
  • 8.1.2.1
railsactivestorageAffected
  • >=8.0.0.beta1 <8.0.4.1
Fixed in
  • 8.0.4.1
railsactivestorageAffected
  • <7.2.3.1
Fixed in
  • 7.2.3.1
RubyGemsactivestoragepkg:gem/activestorageOther threatsAffected
  • <7.2.3.1
Fixed in
  • 7.2.3.1

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

Community reviews

Loading reviews…