rails · Ruby on Rails · published 2026-03-23

CVE-2026-33195Rails Active Storage has possible Path Traversal in DiskService

Routine No exploitation evidence; EPSS 0.6%.

CVE-2026-33195 is not known to be exploited in the wild. EPSS estimates a 0.6% chance of exploitation in the next 30 days, higher than 51% of all CVEs. This Ruby on Rails vulnerability: CVSS 8.0 (v4.0), attacks can be automated, a successful attack gives total control of the component. Fixed upstream in Ruby on Rails 8.1.2.1, 8.0.4.1, 7.2.3.1. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in Ruby on Rails 8.1.2.1, 8.0.4.1, 7.2.3.1.

Patch events

  1. This monthSecurity release

    Web frameworkRuby on Rails

    Ruby on Rails security releases: 8.1.2.1, 8.0.4.1, 7.2.3.1

    Upgrade to 8.1.2.18.0.4.17.2.3.1

    Why: Vendor security release for server software (most severe: CVE-2026-33195).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.6% (52th pct)FIRST EPSS v2026.06.15
CVSS base score8.0 (v4.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
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →