Skip to content
VulniPulse
High8.8Red Hat Linux

CVE-2026-126186: Red Hat Remote code execution via unsafe file extension handling in media processing

This Red Hat advisory covers CVE-2026-126186. Related products: Red Hat 3scale API Management Platform 2.

Open the Red Hat advisory

Key facts

Vendor rating
High, CVSS 8.8
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · base score 8.8, scored by GitHub_MAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-646: Reliance on File Name or Extension of Externally-Supplied File
EPSS
0.51% chance of exploitation in the next 30 days (44th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Fixed in
8.0.5.2, 8.1.4.1
Source published
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Related products & platforms

Red Hat LinuxUnclassified

Description

Remote code execution via unsafe file extension handling in media processing. Red Hat rates this important (CVSS 8.8).

Weakness: CWE-641.

Affected product named by the advisory: Red Hat 3scale API Management Platform 2.

Text from the source record.

How to fix CVE-2026-126186

Upgrade to a fixed release named by Red Hat:

  • 8.0.5.2
  • 8.1.4.1

Vendor guidance

  • Disable automated media analysis and preview generation for untrusted uploaded attachments in the application configuration. In the Rails application configuration (for example, in `config/application.rb` or the relevant environment file under `config/environments/`), remove the FFmpeg previewer and analyzers: ```ruby config.active_storage.previewers.delete(ActiveStorage::Previewer::VideoPreviewer) config.active_storage.analyzers.delete(ActiveStorage::Analyzer::VideoAnalyzer) config.active_storage.analyzers.delete(ActiveStorage::Analyzer::AudioAnalyzer) ``` Additionally, ensure that image processing does not delegate to unsafe ImageMagick decoders, or switch the variant processor to `:vips`. Caveats: Disabling these analyzers and previewers stops automatic metadata extraction (such as audio and video duration) and prevents preview thumbnail generation for uploaded multimedia files. Application services must be restarted for these configuration changes to take effect.

All Red Hat Linux advisories

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Red Hat