CVE-2026-33195
published high CVSS 4.0 · 8.0Rails Active Storage has possible Path Traversal in DiskService
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | activestorage>= 8.1.0.beta1, < 8.1.2.1 · >= 8.0.0.beta1, < 8.0.4.1 · < 7.2.3.1 | Affected | Not stated | GitHub_M |
| Red Hat | — | 3scale-amp20/systemRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp21/systemRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp21/zyncRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u3 | DLA-4829-1 |
| Debian | trixie | rails | Advisory build | 2:7.2.2.2+dfsg-2~deb13u2 | DSA-6546-1 |
| Red Hat | — | 3scale-amp22/systemRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp22/zyncRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | 3scale-amp24/systemRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp24/zyncRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp25/systemRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp25/zyncRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp26/systemRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp26/zyncRed Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp2/system-rhel7Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp2/system-rhel8Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp2/system-rhel9Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp2/zync-rhel7Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp2/zync-rhel8Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | 3scale-amp2/zync-rhel9Red Hat 3scale API Management Platform 2 | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Active Storage, a component of Rails applications that manages file attachments. This vulnerability allows an attacker to manipulate file paths by using specially crafted input in blob keys. This manipulation can lead to unauthorized reading, writing, or deletion of arbitrary files on the server, potentially compromising the integrity and confidentiality of data.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | activestorage | >= 8.1.0.beta1, < 8.1.2.1 (affected)>= 8.0.0.beta1, < 8.0.4.1 (affected)< 7.2.3.1 (affected) | GitHub_M · cna |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat 3scale API Management Platform 2 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
10- https://access.redhat.com/security/cve/CVE-2026-33195
- RHBZ#2450546 https://bugzilla.redhat.com/show_bug.cgi?id=2450546
- https://github.com/rails/rails/commit/4933c1e3b8c1bb04925d60347be9f69270392f2c
- https://github.com/rails/rails/commit/9b06fbc0f504b8afe333f33d19548f3b85fbe655
- https://github.com/rails/rails/commit/a290c8a1ec189d793aa6d7f2570b6a763f675348
- https://github.com/rails/rails/releases/tag/v7.2.3.1
- https://github.com/rails/rails/releases/tag/v8.0.4.1
- https://github.com/rails/rails/releases/tag/v8.1.2.1
- https://github.com/rails/rails/security/advisories/GHSA-9xrj-h377-fr87
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33195.json
Provider assertions
3GitHub_M · cna
Rails Active Storage has possible Path Traversal in DiskService
redhat-SADP · adp
Rails: Active Storage: Active Storage (Rails): Arbitrary file access via path traversal in blob keys
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0f1513f9a6a05fdef9187968f9afb03668667861a7d4e3caa0f31fee85eaceab
- Ingested
- 23 Sep 2026, 09:10:18 UTC
- Source record
- Official CVE record