Rubyonrails vulnerabilities
147 vulnerabilities
Known vulnerabilities in Rubyonrails products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 15 products.
Products
15- Rails118 vulnerabilities
- Ruby On Rails49 vulnerabilities
- Rails Html Sanitizers10 vulnerabilities
- Html Sanitizer4 vulnerabilities
- Actionpack2 vulnerabilities
- Actionpack Page Caching2 vulnerabilities
- Active Storage2 vulnerabilities
- Actionview1 vulnerabilities
- Active Record Session Store1 vulnerabilities
- Active Resource1 vulnerabilities
- Globalid1 vulnerabilities
- Jquery Rails1 vulnerabilities
- Jquery Ujs1 vulnerabilities
- Thor1 vulnerabilities
- Web Console1 vulnerabilities
PrioritiseCVE-2026-122006rubyonrails · active storage +36 morerubyonrails active storageThe activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write operations (e.g., reading secret_key_base) because the ImageMagick analyzer runs when a file is attached, and there is not an ImageMagick security policy to block unintended functionality.CVSS9.8CriticalEPSS0.73%RoutineCVE-2026-33658rails · activestorage +29 moreRails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requestsActive Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1
Active Storage's proxy controller does not limit the number of byte ranges in an HTTP Range header. A request with thousands of small ranges causes disproportionate CPU usage compared to a normal request for the same file, possibly resulting in a DoS vulnerability. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS6.5MediumEPSS0.49%RoutineCVE-2026-33202rails · activestorage +31 moreRails Active Storage has possible glob injection in its DiskServiceActive Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS9.1CriticalEPSS0.73%PrioritiseCVE-2026-33195rails · activestorage +31 moreRails Active Storage has possible Path Traversal in DiskServiceActive Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#path_for` does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. `../`) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS9.8CriticalEPSS0.65%RoutineCVE-2026-33176rails · activesupport +37 moreRails Active Support has a possible DoS vulnerability in its number helpersActive Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Support number helpers accept strings containing scientific notation (e.g. `1e10000`), which `BigDecimal` expands into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted, possibly resulting in a DoS vulnerability. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS7.5HighEPSS0.94%RoutineCVE-2026-33174rails · activestorage +31 moreRails Active Storage has a possible DoS vulnerability when in proxy mode via Range requestsActive Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. `bytes=0-`) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS7.5HighEPSS0.68%RoutineCVE-2026-33173rails · activestorage +31 moreRails Active Storage has possible content type bypass via metadata in direct uploadsActive Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS5.3MediumEPSS0.43%RoutineCVE-2026-33170rails · activesupport +37 moreRails Active Support has a possible XSS vulnerability in SafeBuffer#%Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS6.1MediumEPSS0.38%RoutineCVE-2026-33169rails · activesupport +37 moreRails Active Support has a possible ReDoS vulnerability in number_to_delimitedActive Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. `NumberToDelimitedConverter` uses a lookahead-based regular expression with `gsub!` to insert thousands delimiters. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, the interaction between the repeated lookahead group and `gsub!` can produce quadratic time complexity on long digit strings. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.CVSS6.9MediumEPSS0.72%RoutineCVE-2026-33167rails · actionpack +5 moreRails has a possible XSS vulnerability in its Action Pack debug exceptionsAction Pack is a Rubygem for building web applications on the Rails framework. In versions on the 8.1 branch prior to 8.1.2.1, the debug exceptions page does not properly escape exception messages. A carefully crafted exception message could inject arbitrary HTML and JavaScript into the page, leading to XSS. This affects applications with detailed exception pages enabled (`config.consider_all_requests_local = true`), which is the default in development. Version 8.1.2.1 contains a patch.CVSS6.1MediumEPSS0.29%RoutineCVE-2025-54314rubyonrails · thor +29 morerubyonrails thorThor before 1.4.0 can construct an unsafe shell command from library input. NOTE: this is disputed by the Supplier because "the method that was fixed can only be used with arguments that are controlled by Thor, and there is no way an attacker can take control of those arguments."CVSS2.8LowEPSS0.19%RoutineCVE-2024-53985rails · rails-html-sanitizer +3 morePossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0 and Nokogiri < 1.15.7, or 1.16.x < 1.16.8. The XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags with both "math" and "style" elements or both both "svg" and "style" elements. This vulnerability is fixed in 1.6.1.CVSS6.1MediumEPSS0.63%RoutineCVE-2024-53987rails · rails-html-sanitizer +3 morePossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "style" element is explicitly allowed and the "svg" or "math" element is not allowed. This vulnerability is fixed in 1.6.1.CVSS6.1MediumEPSS0.47%RoutineCVE-2024-53986rails · rails-html-sanitizer +3 morePossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "math" and "style" elements are both explicitly allowed. This vulnerability is fixed in 1.6.1.CVSS6.1MediumEPSS0.50%RoutineCVE-2024-53988rails · rails-html-sanitizer +3 morePossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "math", "mtext", "table", and "style" elements are allowed and either either "mglyph" or "malignmark" are allowed. This vulnerability is fixed in 1.6.1.CVSS6.1MediumEPSS0.47%RoutineCVE-2024-53989rails · rails-html-sanitizer +3 morePossible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags for the the "noscript" element. This vulnerability is fixed in 1.6.1.CVSS6.1MediumEPSS0.50%RoutineCVE-2024-32464rails +3 moreActionText ContentAttachment can Contain Unsanitized HTMLAction Text brings rich text content and editing to Rails. Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML. This vulnerability is fixed in 7.1.3.4 and 7.2.0.beta2.CVSS6.1MediumEPSS0.43%RoutineCVE-2024-28103rails +27 moreAction Pack is missing security headers on non-HTML responsesAction Pack is a framework for handling and responding to web requests. Since 6.1.0, the application configurable Permissions-Policy is only served on responses with an HTML related Content-Type. This vulnerability is fixed in 6.1.7.8, 7.0.8.2, and 7.1.3.3.CVSS9.8CriticalEPSS0.66%RoutineCVE-2024-26144rails +4 morePossible Sensitive Session Information Leak in Active StorageRails is a web-application framework. Starting with version 5.2.0, there is a possible sensitive session information leak in Active Storage. By default, Active Storage sends a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Certain proxies may cache the Set-Cookie, leading to an information leak. The vulnerability is fixed in 7.0.8.1 and 6.1.7.7.CVSS5.3MediumEPSS1.25%RoutineCVE-2024-26143rails +4 moreRails Possible XSS Vulnerability in Action ControllerRails is a web-application framework. There is a possible XSS vulnerability when using the translation helpers in Action Controller. Applications using translation methods like translate, or t on a controller, with a key ending in "_html", a :default key which contains untrusted user input, and the resulting string is used in a view, may be susceptible to an XSS vulnerability. The vulnerability is fixed in 7.1.3.1 and 7.0.8.1.CVSS6.1MediumEPSS1.03%