CVE-2026-126188 json
Active Storage: Possible local file disclosure in Active Storage video previews and analysis
published 8d ago modified yesterday also EUVD-2026-123059 , GHSA-3f4q-8x5m-76v8
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository rails/rails. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.0.5.2 and from 8.1 until 8.1.4.1, Active Storage's ActiveStorage::Previewer::VideoPreviewer, ActiveStorage::Analyzer::VideoAnalyzer, and ActiveStorage::Analyzer::AudioAnalyzer pass uploaded blob contents to FFmpeg without restricting the demuxer. A direct upload can retain a client-declared video/* or audio/* content type for an HLS playlist. FFmpeg content probing selects the hls demuxer, which opens attacker-named file:// segments when the blob is previewed or analyzed. Applications that accept untrusted uploads and generate video previews or analyze video or audio attachments can disclose a local media file readable by the application process when the attacker knows its path. This issue is fixed in versions 8.0.5.2 and 8.1.4.1.
Patch / fix
- rubygems activestorage 8.0.5.2, 8.1.4.1
Is CVE-2026-126188 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activestorage | >=8.1, <8.1.4.1 <8.0.5.2 |
8.1.4.1 8.0.5.2 |
Affected products
- rails rails
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
- github.com /rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282
- github.com /rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b
-
github.com
/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8
advisory
- github.com /rails/rails/releases/tag/v8.0.5.2
- github.com /rails/rails/releases/tag/v8.1.4.1
Sources
- CVE List CVE-2026-126188
- NVD CVE-2026-126188
- Maintainer advisory GHSA-3f4q-8x5m-76v8
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.