Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload HLS playlist as video/* via direct upload
-
ExploitApp previews or analyzes the blob with FFmpeg
-
ExecutionContent probing selects hls demuxer, opens attacker-named file:// segment
-
ImpactLocal media file readable by app process disclosed via preview or metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an application that (1) accepts file uploads from untrusted users through Active Storage direct uploads - which lets the client retain its own declared video/* or audio/* content type on the blob - and (2) actually runs the affected code paths: the default ActiveStorage::Previewer::VideoPreviewer to generate video previews, or ActiveStorage::Analyzer::VideoAnalyzer / ActiveStorage::Analyzer::AudioAnalyzer to analyze video or audio attachments via FFmpeg/ffprobe. The attacker must additionally know the absolute path of a target local file, and that file must be media that the application process can read; disclosure is limited to such files (C:L). Limiting factors: the upload must reach an untrusted-upload workflow, the previewer/analyzer must be enabled (removing them from config.active_storage.previewers/analyzers is the documented workaround), and the attacker needs prior knowledge of the target path - so this is a targeted read of a known file, not arbitrary filesystem access. Versions at or above 8.0.5.2, or 8.1.4.1 and later, restrict demuxers via config.active_storage.ffmpeg_allowed_formats and are not affected. |
| Impact | This is a genuinely low-priority issue that the signals agree on. The vendor-assigned CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, base 3.7 Low) describes a network-reachable but high-complexity flaw with only limited confidentiality impact and no integrity or availability effect, and the vuln.today decision label is 'monitor' - the lowest actionable tier. There is no KEV listing and no EPSS score was supplied in the input, so there is no evidence of active or probable widespread exploitation; the issue was responsibly reported by HackerOne researcher w3rmut and no public exploit code is referenced. AC:H is consistent with the real mechanism: the attacker can only read a file whose path they already know and which happens to be media the application process can read, so successful disclosure is targeted and opportunistic rather than mass-exploitable. The one nuance to verify against your own deployment is that PR:N treats the upload path as unauthenticated, which is only true for applications that genuinely accept uploads from untrusted/anonymous users; if your upload endpoint sits behind authentication, real-world privilege requirements are higher than the vector implies. Overall: a real but minor information-disclosure bug, not an emergency. |
| Exploit ScenarioDerived | An attacker uses Active Storage's direct-upload flow to store a crafted HLS (.m3u8) playlist while declaring a video/* or audio/* content type, with the playlist naming a local file:// segment such as a media file whose path the attacker knows. When the application previews or analyzes that attachment, FFmpeg probes the content, selects the hls demuxer, and opens the referenced local file, so the generated preview image or stored metadata can leak that file's contents to the attacker. No public exploit code is identified; the issue was privately reported by a HackerOne researcher. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Active Storage can be induced to read a local media file through FFmpeg when a directly uploaded blob is previewed or analyzed: a client can retain its own declared video/* or audio/* content type on an HLS playlist, and FFmpeg's content probing then selects the hls demuxer, which opens attacker-named file:// segments. The result is limited disclosure of a local media file that the application process can read and whose absolute path the attacker already knows (C:L), not arbitrary filesystem access. Affected gems are below 8.0.5.2 and 8.1.x before 8.1.4.1, where the demuxer is unrestricted; this is an unauthenticated remote condition per the CVSS vector, no public exploit code or PoC reference was identified at time of analysis, and the priority signal is monitor rather than act.
RemediationAI
Vendor-released patch: upgrade the activestorage gem to 8.0.5.2 or 8.1.4.1 (release tags https://github.com/rails/rails/releases/tag/v8.0.5.2 and https://github.com/rails/rails/releases/tag/v8.1.4.1). If an immediate upgrade is impossible, the advisory supplies backportable commits for 8.1 (https://github.com/rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282.patch) and 8.0 (https://github.com/rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b.patch). The documented workaround is to stop Active Storage from running FFmpeg on uploaded files at all: remove ActiveStorage::Previewer::VideoPreviewer from config.active_storage.previewers and ActiveStorage::Analyzer::VideoAnalyzer and ActiveStorage::Analyzer::AudioAnalyzer from config.active_storage.analyzers, accepting that video previews and video/audio metadata extraction will no longer be produced for new blobs. After upgrading, the new config.active_storage.ffmpeg_allowed_formats setting can be tuned; note that adding demuxers back to the list (for example mxf, or setting the value to nil) re-expands the attack surface, while narrowing the list causes other formats to fail preview with ActiveStorage::PreviewError and to store no media metadata, logging a warning instead.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in rubygems, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an information-exposure class issue (CWE-200) rooted in how Rails' Active Storage shells out to FFmpeg/ffprobe. ActiveStorage::Previewer::VideoPreviewer, ActiveStorage::Analyzer::VideoAnalyzer and ActiveStorage::Analyzer::AudioAnalyzer historically invoked ffmpeg/ffprobe on the blob's downloaded file with no restriction on the input format, leaving demuxer selection to FFmpeg's own content probing rather than to the declared or detected container. Because a direct upload preserves the content type declared by the client, an uploaded HLS playlist can be stored as video/mp4 or audio/mpeg, and the hls demuxer will follow the segment URIs in the playlist - including file:// URIs naming a local path - when a preview image is generated or metadata is extracted. The upstream fix adds a -format_whitelist argument before the input at every ffmpeg and ffprobe call site, driven by the new config.active_storage.ffmpeg_allowed_formats setting, whose default list is mov, matroska, avi, mpeg, mpegts, flv, asf, ogg, mp3, wav, flac, aac, aiff and caf, so the hls demuxer is no longer selectable by content probing; setting the list to nil restores the old unrestricted behaviour. The commit also adds a warning log and regression tests covering playlists declared as video and audio and formats outside the allowlist. Per the advisory, the trigger requires the affected previewer/analyzer code paths to actually run on untrusted uploads, and the disclosure is confined to files that are media readable by the application process at a path the attacker already knows.
Know when Ruby On Rails gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Reachable via an untrusted direct upload (AV:N, PR:N); AC:H because the attacker must know the target path and the file must be app-readable media; only limited local file contents disclosed (C:L, I:N, A:N).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Ruby On Rails
View alllib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly
active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, an
Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to e
actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allo
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two
SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute
SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut
SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x
The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly
ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or
Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car
EUVD-2026-123059
GHSA-3f4q-8x5m-76v8
NVD
CVE.org
EPSS
Exploit-DB