CVE-2026-126188
Low 3.7No known exploitationFix availableActive Storage: Possible local file disclosure in Active Storage video previews and analysis
Vendor advisory: GHSA-3f4q-8x5m-76v8
Record last updated
CVSS score
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
Description
### Impact Active Storage's `VideoPreviewer`, `VideoAnalyzer` and `AudioAnalyzer` run `ffmpeg` and `ffprobe` on a blob's contents without restricting the input format, so FFmpeg selects a demuxer by probing the file. A blob created through a direct upload keeps the content type the client declared, so a client can store an HLS playlist under a `video/*` or `audio/*` type. When that blob is previewed or analyzed, the `hls` demuxer opens the `file://` segments that the playlist names, and the preview image or the stored metadata could disclose a local media file that the application process can read and whose path the attacker knows. Applications that accept uploads from untrusted users and generate video previews, or analyze video or audio attachments with FFmpeg, are affected. ### Details The fixed releases limit the formats FFmpeg may open to common audio and video containers, configured by the new `config.active_storage.ffmpeg_allowed_formats` setting. Files in other formats no longer preview or receive media metadata; the Active Storage CHANGELOG names some of them and shows how to add a format to the list. ### Workarounds Applications that cannot upgrade can stop Active Storag…
Weakness: CWE-200
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl4 rubygem-activestorage 8.0.2-6.azl4 on Azure Linux 4.0 | Not documented | Not documented | Microsoft MSRC |
| rubygems | activestorage | from 8.1.0.beta1 before 8.1.4.1 | 8.1.4.1 | GitHub Advisory Database |
| rubygems | activestorage | all versions before 8.0.5.2 | 8.0.5.2 | GitHub Advisory Database |
Timeline
Advisory
Microsoft advisory published
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- GitHub Advisory GHSA-3f4q-8x5m-76v8 (opens in a new tab)github-advisory