CVE-2026-126188
Active Storage makes it simple to upload and reference files in cloud ...
Overview
Description
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.
Source: OX vulnerability database
Severity
3.7 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-200
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activestorage | >=8.1.0.beta1, <8.1.4.1<8.0.5.2 | 8.1.4.18.0.5.2 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | affected |
| 12 | rails | affected |
| 13 | rails | affected |
| 14 | rails | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | affected |
References
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282
- github.com https://github.com/rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b
- github.com https://github.com/rails/rails/releases/tag/v8.0.5.2
- github.com https://github.com/rails/rails/releases/tag/v8.1.4.1
- github.com https://github.com/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-3f4q-8x5m-76v8.yml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-126188
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.