PatchSiren

rails CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM rails CVE published 2026-11-13

CVE-2026-128069

CVE-2026-128069 rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls. The CVE record was published on 2026-11-13T18:09:16.000Z and has not been modified since then. The NVD entry is currently 4.7 MEDIUM. This debrief provides defensive context for CVE-2026-128069, a cross-site scripting vulnerability in the rails-html-sanitizer library. Defenders should assess exposure in multi-threaded server environments, particularly those using Puma, and prioritize verification of affected versions and remediation.

MEDIUM rails CVE published 2026-11-13

CVE-2026-128068

CVE-2026-128068 rails-html-sanitizer: Possible regular expression denial of service with certain configurations. The rails-html-sanitizer gem is vulnerable to a regular expression denial of service attack. The issue affects versions between 1.0.3 and 1.7.1 when certain configurations are used. An attacker who supplies HTML can cause quadratic CPU consumption when an application customizes its allowed tags to include an SVG reference element such as use and permits href or xlink:href. The default allowed tag configuration is not affected. CRuby 3.2 and later uses linear-time regular expression matching for this pattern, while CRuby 3.1 and earlier and JRuby are affected. This issue

HIGH rails CVE published 2026-11-10

CVE-2026-126186

CVE-2026-126186: Active Storage vulnerability allows arbitrary file read and remote code execution through improper handling of file extensions and content types in video previews, analysis, and image processing. An attacker can choose the filename and declare the content type of an upload to select which decoder processes it, potentially leading to remote code execution in the FFmpeg process or disclosure of files readable by the application process. Systems using Active Storage with untrusted uploads are at risk and require verification of affected versions and exposure. Remediation priority is high.

MEDIUM rails CVE published 2026-11-10

CVE-2026-126084

CVE-2026-126084 is a vulnerability in Active Storage's GCS direct uploads with cache_control configured, allowing a client to send an unsigned Content-Type header. This issue affects applications using the GCS service with cache_control configured and accepting direct uploads. The vulnerability has a CVSS score of 4.7 and is classified as MEDIUM severity.

CRITICAL rails CVE published 2026-11-10

CVE-2026-126082

CVE-2026-126082: Active Storage Possible arbitrary file write and read in Active Storage image analysis debrief. A critical vulnerability in Active Storage allows unauthenticated attackers to write and read arbitrary files on the server when ImageMagick is used for image processing. This vulnerability, CVE-2026-126082, affects Rails applications that process attachments with ImageMagick, potentially allowing attackers to write arbitrary files on the server and read files readable by the application process. Those files typically include secret_key_base and credentials for external systems, which may in turn allow escalation to remote code execution or lateral movement to those The

MEDIUM rails CVE published 2026-11-10

CVE-2026-126079

A possible XSS vulnerability exists in Action View text helpers prior to versions 8.1.4.1 and 8.0.5.2. This issue arises from the HTML5 sanitizer leaving certain characters unescaped inside attribute values, which can be exploited when untrusted text is passed to the highlight or simple_format helpers with html_options. The vulnerability can lead to potential XSS exploitation in applications using the HTML5 sanitizer and untrusted text input. Defenders should assess exposure and prioritize remediation to prevent potential security breaches.

MEDIUM rails CVE published 2026-11-10

CVE-2026-126078

A cross-site scripting (XSS) vulnerability exists in the Action View highlight helper of the Rails framework. This issue allows an attacker to inject malicious code into the application when a user-controlled input is passed to the highlight function with a custom highlighter that places a placeholder inside an attribute value. The vulnerability arises because the highlight helper substitutes each matched phrase into the :highlighter string without escaping it, and returns the result marked HTML-safe. As a result, if the highlighter string is not properly sanitized, an attacker could end the attribute value and add attributes to the element, potentially leading to XSS. Applications

MEDIUM rails CVE published 2026-11-10

CVE-2026-126070

A vulnerability in Action View's strip_tags method could allow an attacker to inject malicious JavaScript code, potentially leading to a cross-site scripting (XSS) attack. This issue affects applications that render strip_tags output from untrusted input inside an HTML attribute. The vulnerability arises because strip_tags returns its sanitized output marked as html_safe, but the underlying sanitizer only encodes &, <, and >, leaving untrusted input potentially unencoded. Developers and administrators of applications using Action View should assess their exposure and take steps to mitigate the vulnerability, especially when rendering strip_tags output from untrusted input inside an

HIGH rails CVE published 2026-11-10

CVE-2026-126081

This CVE debrief provides an analysis of CVE-2026-126081, a possible Strong Parameters bypass in Parameters#each_key in Action Pack. The issue allows a remote, unauthenticated attacker to set attributes that the application does not permit, such as an authorization flag, if the return value of ActionController::Parameters#each_key is passed to mass assignment.

MEDIUM rails CVE published 2026-11-10

CVE-2026-126077

CVE-2026-126077 is a vulnerability in the Action Pack framework used for handling and responding to web requests in Ruby on Rails applications. The issue arises when ActionDispatch::Cookies reads a signed or encrypted cookie written under a rotated secret or in a format that a :hybrid cookie serializer migrates from. It then writes the cookie back to the response in the current format, ignoring the request.session_options[:skip] setting. This behavior can lead to session cookies being included in public, immutable responses of Active Storage proxy controllers, potentially causing a shared cache to serve one user's session to later requesters of the same URL or serve an attacker's session to other users. This vulnerability affects applications serving Active Storage files through proxy controllers with a configured cookie rotation or :hybrid serializer migration, running behind a cache that stores Set-Cookie headers on public responses.

MEDIUM rails CVE published 2026-11-10

CVE-2026-126072

A possible DoS vulnerability in Action Controller Live streaming was reported in Action Pack. Applications that stream responses with ActionController::Live, including send_stream, are affected. Applications that serve large files through Active Storage proxy mode are exposed to unauthenticated clients. The issue is fixed in versions 8.1.4.1 and 8.0.5.2.

MEDIUM rails CVE published 2026-11-10

CVE-2026-126069

A vulnerability in Action View tag helpers could lead to XSS if users can specify custom HTML attribute names. The issue arises from how the fix for CVE-2026-33168 handles blank HTML attribute names, potentially producing malformed HTML. Applications allowing custom attribute names are affected. The vulnerability is caused by a Symbol name made only of whitespace not being considered blank, leading to potential XSS. Defenders should assess exposure and prioritize remediation. The fixed releases are available at the normal locations.

MEDIUM rails CVE published 2026-08-13

CVE-2026-73648

CVE-2026-73648 is a medium-severity vulnerability in the rails-html-sanitizer gem. It could allow an attacker to execute scripts in the sanitized document's context or load external images for tracking. The issue is fixed in version 1.7.1. Affected applications include those with non-default allowed tags that include SVG use or feImage elements. Defenders should assess exposure and prioritize upgrading to version 1.7.1. The vulnerability involves improper restriction of SVG reference elements in SVG_ALLOW_LOCAL_HREF, allowing external references. This could lead to script execution or image loading, emphasizing the need for prompt mitigation.

CRITICAL rails CVE published 2026-07-30

CVE-2026-66066

CVE-2026-66066 is a critical vulnerability in Action Pack, a framework for handling and responding to web requests. The vulnerability affects Active Storage, which does not disable libvips operations marked as unsafe for untrusted content. This allows a crafted upload to invoke such an operation, potentially enabling an unauthenticated attacker to read arbitrary files accessible to the Rails process, including environment variables and application secrets. Exposure of credentials such as secret_key_base or external-service tokens may enable remote code execution or lateral movement.

CRITICAL Rails CVE published 2026-01-30

CVE-2025-24293

CVE-2025-24293 is a critical vulnerability in Active Storage's image transformation methods, potentially allowing command injection attacks. The vulnerability impacts applications using Active Storage with the image_processing processing gem and mini_magick as the image processor. Vulnerable code may resemble `<%= image_tag blob.variant(params[:t] => params[:v]) %>`, where untrusted user input is accepted as transformation methods or parameters. To mitigate, strict validation of user-supplied methods and parameters is necessary, along with a strong ImageMagick security policy. Users should upgrade or apply workarounds immediately.

Known exploited Rails CVE published 2025-07-07

CVE-2019-5418

CVE-2019-5418 is a Ruby on Rails path traversal vulnerability that CISA lists in its Known Exploited Vulnerabilities catalog. For defenders, the key takeaway is that this is not just a theoretical issue: CISA has treated it as actively exploited and set a remediation due date in the provided feed. Organizations running Rails applications should verify whether their deployed versions are covered by the vendor advisory and NVD record, then apply the vendor’s mitigations or remove exposure if remediation is not possible.

Known exploited Rails CVE published 2022-03-25

CVE-2016-0752

CVE-2016-0752 is an official Ruby on Rails directory traversal vulnerability record that CISA included in its Known Exploited Vulnerabilities catalog. That KEV listing means defenders should treat it as a prioritized remediation item and apply vendor updates as soon as possible. The supplied official sources do not include CVSS, affected versions, or deeper exploit details, so the safest response is to verify where Ruby on Rails is deployed and remediate per vendor guidance.

Known exploited Rails CVE published 2022-03-25

CVE-2014-0130

CVE-2014-0130 is a Ruby on Rails directory traversal vulnerability that CISA has listed in its Known Exploited Vulnerabilities catalog. Because it is cataloged as known exploited, defenders should treat remediation as urgent and follow vendor update guidance without delay.