Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
GitLab Rails can expose local files through video uploads
published 8 days ago
Summary
Versions of GitLab Rails that use Active Storage before 8.0.5.2 and between 8.1 and 8.1.4.1 allow specially crafted video or audio files to make the system reveal files on the server. If your application accepts untrusted media uploads and creates previews or analyses, an attacker could cause the server to read files it shouldn’t. Update to the fixed versions or apply the vendor’s recommended patch to stop this behavior.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.24 | docker hardened images | gitlab-rails-18 | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | gitlab-rails-19 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | gitlab-rails-18 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | gitlab-rails-19 | All versions |
Original advisory text
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record…
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.
References
- https://scout.docker.com/v/DHI-77bm-adcl-bzmb-fyvj Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126188 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-126188 Vendor Advisory
- https://github.com/advisories/GHSA-3f4q-8x5m-76v8 Vendor Advisory
- https://github.com/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8 Vendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-... Patch
- https://github.com/rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b Patch
- https://github.com/rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282 Patch
- https://github.com/rails/rails/releases/tag/v8.1.4.1 URL
- https://github.com/rails/rails/releases/tag/v8.0.5.2 URL
- https://ubuntu.com/security/CVE-2026-126188 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-126188 Vendor Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Timeline
Published13 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-77bm-adcl-bzmb-fyvj · OSV
Track software like this
Free during beta