# CVE-2026-33195: rails: Active Storage allows users to attach cloud and local files in Rails applications

CVE-2026-33195 is fixed in rails on 1 platform, first by DEBIAN-CVE-2026-33195, released March 24, 2026. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2026-33195
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0058
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 24, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | rails Debian 12.15 (bookworm) | 2:6.1.7.10+dfsg-1~deb12u3 | [DEBIAN-CVE-2026-33195](https://patchblox.com/security/data/fix/linux/debian-cve-2026-33195.md) | Mar 24, 2026 |
| Linux | rails Debian 13.5 (trixie) | 2:7.2.2.2+dfsg-2~deb13u2 | [DEBIAN-CVE-2026-33195](https://patchblox.com/security/data/fix/linux/debian-cve-2026-33195.md) | Mar 24, 2026 |
| Linux | rails Debian 14 | 2:7.2.3.1+dfsg-1 | [DEBIAN-CVE-2026-33195](https://patchblox.com/security/data/fix/linux/debian-cve-2026-33195.md) | Mar 24, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
