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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| rails · Debian 12.15 (bookworm) | 2:6.1.7.10+dfsg-1~deb12u3 | DEBIAN-CVE-2026-33195 | Mar 24, 2026 |
| rails · Debian 13.5 (trixie) | 2:7.2.2.2+dfsg-2~deb13u2 | DEBIAN-CVE-2026-33195 | Mar 24, 2026 |
| rails · Debian 14 | 2:7.2.3.1+dfsg-1 | DEBIAN-CVE-2026-33195 | Mar 24, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.