Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › rails

Critical 9.8 9 CVEs Analysis

Rails 8.1.4.1 and 8.0.5.2 fix nine flaws, including a critical Active Storage file read and write risk

NVD published nine Ruby on Rails vulnerabilities on 2026-11-10, all fixed in versions 8.1.4.1 and 8.0.5.2. The most severe, CVE-2026-126082 (CVSS 9.8), can let an unauthenticated attacker write server files and, with the Disk service, read files the application can access, through ImageMagick processing in Active Storage.

What to look into

  • 9 vulnerabilities in rails: 1 critical, 1 high, 7 medium (CVSS up to 9.8).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-126082 (9.8 critical): Critical Rails Active Storage flaw can expose files and enable code execution.
  • 8 of 8 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (×4); Improperly Controlled Modification of Dynamically-Determined Object Attributes; Exposure of Sensitive Information to an Unauthorized Actor; Deadlock.
BrowsersCloud & containersRubyVulnerabilitiesWeb

Key points

  • CVE-2026-126082 (CVSS 9.8) is the most severe: unauthenticated file write, and file read with the Disk service, via ImageMagick in Active Storage
  • CVE-2026-126081 (HIGH, 7.5) is an incomplete fix of CVE-2020-8164 that matters only when eachkey output reaches mass assignment
  • Four medium-severity records cover cross-site scripting in Action View helpers, each dependent on specific usage
  • All nine flaws are fixed in 8.1.4.1 and 8.0.5.2

Rails is an open-source web framework. NVD published nine vulnerabilities in its components on 2026-11-10, spanning Active Storage, Action Pack and Action View. Every record lists 8.1.4.1 and 8.0.5.2 as the fixed releases.

Critical Active Storage flaw

CVE-2026-126082 is rated critical at CVSS 9.8. Active Storage passes uploads to ImageMagick, which chooses a decoder based on file content, and some decoders act on files named inside an image. Rails did not constrain these decoders. According to the record, an unauthenticated attacker who can upload a crafted file may write arbitrary files on the server. When attachments use the Disk service, the attacker may also read files the application can access, such as secret_key_base and credentials for external systems. Attaching the file is enough to trigger the analyzer. One attack chain has been reported, and others may exist. The records do not state that the flaw has been exploited.

Mass assignment and session handling

CVE-2026-126081 (HIGH, 7.5) is an incomplete fix of CVE-2020-8164. When called with a block, ActionController::Parameters#eachkey returns an underlying hash that skips the permitted-attributes check during mass assignment. Only applications that pass that return value into mass assignment are affected; Rails itself does not do this. CVE-2026-126077 (MEDIUM, 6.8) concerns session cookies rewritten during key rotation or hybrid serializer migration on Active Storage proxy responses. If a shared cache stores those Set-Cookie headers, one user's session could reach others.

Cross-site scripting in view helpers

Several medium-severity records describe XSS in Action View. CVE-2026-126079 involves highlight and simpleformat with the HTML5 sanitizer, and CVE-2026-126070 involves striptags output placed in quoted attributes. CVE-2026-126078 affects highlight when a custom highlighter places matched text inside an attribute value. CVE-2026-126069 (MEDIUM, 4.7) involves whitespace-only attribute names in tag helpers. The default highlighter and the block form of highlight are not affected, and striptags output rendered as element content is not affected.

Availability and storage issues

CVE-2026-126072 (MEDIUM, 5.9) can permanently hold server threads when a client stops reading a streamed response, which may lead to thread exhaustion. Unauthenticated clients can reach this through Active Storage proxy mode. CVE-2026-126084 (MEDIUM, 4.7) affects Google Cloud Storage direct uploads when cachecontrol is configured, because a client can choose a content type that may be served inline from the storage origin.

What to do

  1. Upgrade Rails to 8.1.4.1 or 8.0.5.2 first, prioritising applications that process uploads with ImageMagick through Active Storage
  2. If an immediate upgrade is not possible, review or disable ImageMagick processing of untrusted uploads and check Disk-stored attachments for unexpected files
  3. Search the codebase for eachkey passed to mass assignment, for highlight with custom highlighters, and for striptags or simpleformat output built from untrusted input
  4. Review proxy caching of Active Storage responses and GCS direct-upload configuration, and rotate secrets if exposure is suspected

Our article about all 9 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 9 vulnerabilities

  • CVE-2026-126082 9.8 CVE-2026-126082: Critical Rails Active Storage flaw can expose files and enable code execution
  • CVE-2026-126081 7.5 Rails Action Pack CVE-2026-12608: eachkey with a block bypasses mass-assignment protection
  • CVE-2026-126077 6.8 CVE-2026-126077: Rails Action Pack cookie rewrite can leak sessions through shared caches
  • CVE-2026-126079 6.1 Rails Action View XSS flaw (CVE-2026-126079) affects highlight and simpleformat with HTML5 sanitizer
  • CVE-2026-126078 6.1 Rails Action View highlight helper XSS (CVE-2026-126078) fixed in 8.1.4.1 and 8.0.5.2
  • CVE-2026-126070 6.1 Ruby on Rails Action View: striptags output can enable XSS inside HTML attributes (CVE-2026-126070)
  • CVE-2026-126072 5.9 Rails Action Pack CVE-2026-126072: thread exhaustion DoS via ActionController::Live buffer close
  • CVE-2026-126084 4.7 CVE-2026-126084: Rails Active Storage GCS direct uploads let clients set content type, enabling inline HTML
  • CVE-2026-126069 4.7 Rails Action View tag helpers can emit malformed attributes from whitespace names (CVE-2026-126069)

Frequently asked questions

How many rails vulnerabilities were published on November 10, 2026?

9 vulnerabilities: 1 critical, 1 high, 7 medium, with CVSS scores up to 9.8.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-126082 (CVSS 9.8): Critical Rails Active Storage flaw can expose files and enable code execution.

Original records