CVE-2026-126188: Active Storage: Possible local file disclosure in video previews and analysis
Published 2026-11-12 · Updated 2026-11-12 · Also known as GHSA-3f4q-8x5m-76v8
Summary
Active Storage allows FFmpeg to process unrestricted input formats via video previews and analyzers, leading to local file disclosure. Applications accepting untrusted uploads and running video or audio analysis should upgrade immediately.
Who is affected
Deployments using RubyGems activestorage that accept uploads from untrusted users and generate video previews or analyze video/audio attachments are affected. An attacker can store a malicious HLS playlist via a direct upload, tricking the 'hls' demuxer into opening local files that the application process can read.
Exploitability
The vulnerability has a CVSS base score of 3.7 (LOW) with a vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, indicating network accessibility with high attack complexity and no privileges required. The EPSS score is 0.003 and it is not present in the CISA Known Exploited Vulnerabilities list.
Remediation
- Upgrade RubyGems activestorage to version 8.1.4.1, 8.0.5.2, or later.
- Alternatively, remove ActiveStorage::Previewer::VideoPreviewer from config.active_storage.previewers, and ActiveStorage::Analyzer::VideoAnalyzer and ActiveStorage::Analyzer::AudioAnalyzer from config.active_storage.analyzers.
How to check your project
- Check the Gemfile.lock or dependency configuration for RubyGems activestorage versions introduced at 8.1.0.beta1 and fixed at 8.1.4.1, or introduced at 0 and fixed at 8.0.5.2.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| RubyGems | activestorage |
>= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 | bundle update activestorage |
| RubyGems | activestorage |
>= 0, < 8.0.5.2 | 8.0.5.2 | bundle update activestorage |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity | None |
| Availability | None |
FAQ
What causes the local file disclosure vulnerability?
Active Storage runs FFmpeg and ffprobe on blob contents without restricting input formats, allowing an HLS playlist to open local file segments.
What is the fixed version for Active Storage?
The fixed versions are 8.1.4.1 and 8.0.5.2.
Is there a workaround if upgrading is not immediately possible?
Yes, applications can remove VideoPreviewer, VideoAnalyzer, and AudioAnalyzer from their respective Active Storage configuration settings.
Original advisory description
References
- WEB https://github.com/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-126188
- WEB https://github.com/rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282
- WEB https://github.com/rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b
- PACKAGE https://github.com/rails/rails
- WEB https://github.com/rails/rails/releases/tag/v8.0.5.2
- WEB https://github.com/rails/rails/releases/tag/v8.1.4.1
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-3f4q-8x5m-76v8.yml
Source records: GHSA-3f4q-8x5m-76v8 (OSV.dev) · EPSS by FIRST, 2026-11-26.