CVE-2026-126186Rails vulnerability
Scor CVSS
8.8
Ridicat
CVSS 3.1 de la github.com
Probabilitate de exploatare (EPSS)
0.51%
Șansă de 0.51% să fie exploatată în următoarele 30 de zile, peste 44.6% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, ActiveStorage::Blob#open writes a blob to a tempfile whose name carries the extension of the uploaded filename, and hands that path to ffprobe (VideoAnalyzer, AudioAnalyzer), ffmpeg (VideoPreviewer) and ImageMagick (ImageAnalyzer, the :mini_magick variant processor). These tools select a decoder from the file extension when the content does not identify its own format, so an attacker who chooses the filename and declares the content type of an upload chooses which decoder processes it. An FFmpeg built with AviSynth support treats a file with the .avs extension as an AviSynth script and evaluates it, which could disclose files readable by the application process through the preview image, or load a native library the attacker has also uploaded, possibly leading to remote code execution in the FFmpeg process. ImageMagick selects its coders and delegates from the extension in the same way. An application is affected if it accepts uploads from untrusted users and analyzes video or audio attachments, generates video previews, or processes images with ImageMagick. The AviSynth attack additionally requires an FFmpeg built with --enable-avisynth and the AviSynthPlus runtime on the host. Upstream FFmpeg and the common Linux distribution and Homebrew packages do not enable it; the GPL builds distributed for Windows and Linux from ffmpeg.org do. Other decoders that FFmpeg or ImageMagick select from the extension may be reachable without AviSynth. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Sursa: NVD · CNA: security-advisories@github.com
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează Rails și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Rails la 8.0.5.2, 8.1.4.1 sau mai nou, pe ramura pe care o folosești.
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Rețea
- Complexitatea atacului
- Scăzut
- Privilegii necesare
- Scăzut
- Interacțiune cu utilizatorul
- Niciunul
- Domeniu de impact
- Neschimbat
- Confidențialitate
- Ridicat
- Integritate
- Ridicat
- Disponibilitate
- Ridicat
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| Rails Rails | >= 8.1, < 8.1.4.1 · < 8.0.5.2 |
Tip de slăbiciune
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-126186 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.5% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-126186?
CVE-2026-126186 are un scor de bază CVSS 3.1 de 8.8 (ridicat).
Ce versiuni sunt afectate?
Rails Rails (>= 8.1, < 8.1.4.1; < 8.0.5.2)
Există patch pentru CVE-2026-126186?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.