Skip to main content
No exploitation reportedFix available

CVE-2026-33195

No exploitation reported by the sources we read.

  • Published2026-03-24
  • Fixed in8.1.2.1 · 8.0.4.1 · 7.2.3.1
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-03-2400:16CVE publishedNVD

Versions per branch

NVD · OSV
Ruby on Rails
BranchAffectedFixed in
8.1≥ 8.1.0, < 8.1.2.18.1.2.1
8.1≥ 8.1.0.beta1, < 8.1.2.18.1.2.1
8.0≥ 8.0.0, < 8.0.4.18.0.4.1
8.0≥ 8.0.0.beta1, < 8.0.4.18.0.4.1
7.2< 7.2.3.17.2.3.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • rails activestorage
    Affected
    • = >= 8.1.0.beta1, < 8.1.2.1no fix stated
    • = >= 8.0.0.beta1, < 8.0.4.1no fix stated
    • = < 7.2.3.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-03-23

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gitlab-rails-ce-18.1Chainguardall versions · no fixed version listedand 12 other packages
  • gitlab-rails-ce-18.10Chainguardall versions · fixed in 18.10.3-r1
  • gitlab-rails-ce-18.8Chainguardall versions · fixed in 18.8.11-r4
  • gitlab-rails-ce-18.9Chainguardall versions · fixed in 18.9.5-r0and 1 other package
  • gitlab-rails-ce-fips-18.10Chainguardall versions · fixed in 18.10.3-r0
  • railsUbuntu:Pro:22.04:LTSall versions · no fixed version listed
  • railsUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • railsUbuntu:Pro:18.04:LTSall versions · no fixed version listed

11 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-33195 Red Hat Product Security17 known affected

    Rails: Active Storage: Active Storage (Rails): Arbitrary file access via path traversal in blob keys

    3scale-amp2/system-rhel7 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/system-rhel8 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/system-rhel9 as a component of Red Hat 3scale API Management Platform 2 · +14 more

Full record on NVD

Fix

  1. Update Ruby on Rails to 8.1.2.1 · 8.0.4.1 · 7.2.3.1
  2. Workaround from the vendor Red Hat Product Security CVE-2026-33195 · 17 productsTo mitigate this issue, ensure that blob keys used by Active Storage are not derived from untrusted user input. Applications should validate and sanitize any user-provided data before it is used in blob keys to prevent path traversal sequences.
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-33195 · 3 productsAffected
  4. No fix planned, says the vendor Red Hat Product Security CVE-2026-33195 · 14 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-03-24
  • CNACVSS 4.08known since 2026-10-23
  • CNACVSS 3.18.1known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-22known since 2026-10-23
  • FIRST EPSSEPSS score0.6 %2026-11-09
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2026-03-23

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-03-24
Last Modified
2026-07-15
NVD status
Modified
GitHub Advisory
GHSA-9xrj-h377-fr87

Frequently asked questions

What is CVE-2026-33195?

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.

Is CVE-2026-33195 actively exploited?

Active exploitation of CVE-2026-33195 has not been confirmed. Its EPSS score was 0.6% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-33195?

CVE-2026-33195 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Ruby on Rails? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record