CVE Catalog

CVE-2026-33195

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.57%

43th percentile - higher than 43% of all known CVEs

Summary

A path traversal vulnerability in Active Storage's `DiskService#path_for` allows arbitrary file access if blob keys contain `../` sequences. Attackers can read, write, or delete files outside the storage root.

Risk Assessment

The risk includes unauthorized access to sensitive files, data modification, or deletion of system files, potentially compromising system integrity and confidentiality.

Recommendation

Update Active Storage to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 immediately. Avoid passing user input as blob keys.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS