CVE-2026-33195
March 23, 2026
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.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) =v8.1.2 <v8.1.2.1Fix Suggestion:
Update to version v8.1.2.1https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.4.1Fix Suggestion:
Update to version v8.0.4.1https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0 <v8.1.3Fix Suggestion:
Update to version v8.1.3https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5Fix Suggestion:
Update to version v8.0.5https://github.com/rails/rails.git (GITHUB):
Affected version(s) =v7.2.3 <v7.2.3.1Fix Suggestion:
Update to version v7.2.3.1activestorage (RUBY):
Affected version(s) >=0.1 <7.2.3.1Fix Suggestion:
Update to version 7.2.3.1activestorage (RUBY):
Affected version(s) >=8.0.0.beta1 <8.0.4.1Fix Suggestion:
Update to version 8.0.4.1activestorage (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.2.1Fix Suggestion:
Update to version 8.1.2.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.03