# CVE-2026-126188: Active Storage: Possible local file disclosure in Active Storage video previews and analysis

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-11-10T23:40:39.414Z
- Modified: 2026-11-12T22:09:39.233Z
- Also known as: GHSA-3f4q-8x5m-76v8
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rails rails: >= 8.1, < 8.1.4.1; < 8.0.5.2
- activestorage (RubyGems): from 8.1.0.beta1 before 8.1.4.1; before 8.0.5.2

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8> (web)
- <https://github.com/rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282> (web)
- <https://github.com/rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b> (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://nvd.nist.gov/vuln/detail/CVE-2026-126188> (advisory)
- <https://github.com/rails/rails> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-3f4q-8x5m-76v8.yml> (web)

## Sources

- CVE List: [CVE-2026-126188](https://www.cve.org/CVERecord?id=CVE-2026-126188), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-3f4q-8x5m-76v8](https://github.com/advisories/GHSA-3f4q-8x5m-76v8), CC-BY-4.0, modified 2026-11-12
- NVD: [CVE-2026-126188](https://nvd.nist.gov/vuln/detail/CVE-2026-126188), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-126188 · Whole record: https://cve.day/CVE-2026-126188.json · Rebuilt by cve.day 2026-11-25T22:59:50.306Z
