cbcvebase.

Rubyonrails Rails vulnerabilities

139 known vulnerabilities affecting rubyonrails/rails.

Total CVEs
139
CISA KEV
3
actively exploited
Public exploits
13
Exploited in wild
4
Severity breakdown
CRITICAL10HIGH39MEDIUM87LOW3

Vulnerabilities

Page 1 of 7
CVE-2019-5418P1HIGHCVSS 7.5KEVPoC≥ 3.0.0, < 4.2.11.1≥ 5.0.0, < 5.0.7.2+2 more2019-03-27
CVE-2019-5418 [HIGH] CWE-22 CVE-2019-5418: There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.1 There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed.
nvdosv
CVE-2016-0752P1HIGHCVSS 7.5KEVPoCfixed in 3.2.22.1≥ 4.0.0, < 4.1.14.1+2 more2016-02-16
CVE-2016-0752 [HIGH] CWE-22 CVE-2016-0752: Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x b Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
nvdosv
CVE-2014-0130P1HIGHCVSS 7.5KEVfixed in 3.2.18≥ 4.0.0, < 4.0.5+1 more2014-05-07
CVE-2014-0130 [HIGH] CWE-22 CVE-2014-0130: Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-rend Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1, when certain route globbing configurations are enabled, allows remote attackers to read arbitrary files via a crafted request.
nvdosv
CVE-2013-0156P1HIGHCVSS 7.5ExploitedPoC≥ 3.2.0, < 3.2.112013-01-13
CVE-2013-0156 [HIGH] CWE-20 CVE-2013-0156: active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1 active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving n
nvdosv
CVE-2019-5420P1CRITICALCVSS 9.8PoCfixed in 5.2.2.1v6.0.02019-03-27
CVE-2019-5420 [CRITICAL] CWE-77 CVE-2019-5420: A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit.
nvdosv
CVE-2013-0333P2HIGHCVSS 7.5PoCv2.3.0v2.3.1+29 more2013-01-30
CVE-2013-0333 [HIGH] CVE-2013-0333: lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.2 lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulner
nvdosv
CVE-2020-8163P2HIGHCVSS 8.8PoCfixed in 5.0.12020-07-02
CVE-2020-8163 [HIGH] CWE-94 CVE-2020-8163: The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacke The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.
nvdosv
CVE-2016-2098P2HIGHCVSS 7.3PoCv4.0.0v4.0.1+31 more2016-04-07
CVE-2016-2098 [HIGH] CWE-20 CVE-2016-2098: Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows r Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.
nvdosv
CVE-2021-22881P2MEDIUMCVSS 6.1PoC≥ 6.0.0, < 6.0.3.5≥ 6.1.0, < 6.1.2.12021-02-11
CVE-2021-22881 [MEDIUM] CWE-601 CVE-2021-22881: The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redire The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redirect vulnerability. Specially crafted `Host` headers in combination with certain "allowed host" formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website. Impacted applications will have allowed hosts wi
nvdosv
CVE-2020-8165P2CRITICALCVSS 9.8fixed in 5.2.4.3≥ 6.0.0, < 6.0.3.12020-06-19
CVE-2020-8165 [CRITICAL] CWE-502 CVE-2020-8165: A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attacker to unmarshal user-provided objects in MemCacheStore and RedisCacheStore potentially resulting in an RCE.
nvdosv
CVE-2026-33195P2CRITICALCVSS 9.8fixed in 7.2.3.1≥ 8.0.0, < 8.0.4.1+1 more2026-03-24
CVE-2026-33195 [CRITICAL] CWE-22 CVE-2026-33195: Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions Active 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 al
nvd
CVE-2025-24293P2CRITICALCVSS 9.2≥ 0, < 2:6.0.3.7+dfsg-2+deb11u4≥ 0, < 2:6.1.7.10+dfsg-1~deb12u2+2 more2026-01-30
CVE-2025-24293 [CRITICAL] CVE-2025-24293: # Active Storage allowed transformation methods potentially unsafe Active Storage attempts to prevent the use of potentially unsafe image transformati # Active Storage allowed transformation methods potentially unsafe Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default. The default allowed list contains three methods allow for the circumvention of the safe defaults which enables potentia
osv
CVE-2021-44528P3MEDIUMCVSS 6.1PoCv6.0.4.2v6.1.4.2+1 more2022-01-10
CVE-2021-44528 [MEDIUM] CWE-601 CVE-2021-44528: A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a "X-Forwarded-Host" headers in combination with certain "allowed host" formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
nvdosv
CVE-2013-6414P3MEDIUMCVSS 5.0PoC≤ 4.0.1v4.0.0+46 more2013-12-07
CVE-2013-6414 [MEDIUM] CWE-20 CVE-2013-6414: actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4 actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to cause a denial of service (memory consumption) via a header containing an invalid MIME type that leads to excessive caching.
nvd
CVE-2008-7248P3MEDIUMCVSS 6.8PoCv2.1.0v2.1.1+3 more2009-12-16
CVE-2008-7248 [MEDIUM] CWE-20 CVE-2008-7248: Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certa Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.
nvdosv
CVE-2022-32224P3CRITICALCVSS 9.8≥ 0, < 2:6.1.6.1+dfsg-12022-12-05
CVE-2022-32224 [CRITICAL] CVE-2022-32224: A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7 A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.
osv
CVE-2022-21831P3CRITICALCVSS 9.8≥ 0, < 2:6.0.3.7+dfsg-2+deb11u1≥ 0, < 2:6.1.4.7+dfsg-12022-05-26
CVE-2022-21831 [CRITICAL] CVE-2022-21831: A code injection vulnerability exists in the Active Storage >= v5 A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
osv
CVE-2020-8264P3MEDIUMCVSS 6.1≥ 6.0.0, < 6.0.3.42021-01-06
CVE-2020-8264 [MEDIUM] CWE-79 CVE-2020-8264: In actionpack gem >= 6.0.0, a possible XSS vulnerability exists when an application is running in de In actionpack gem >= 6.0.0, a possible XSS vulnerability exists when an application is running in development mode allowing an attacker to send or embed (in another page) a specially crafted URL which can allow the attacker to execute JavaScript in the context of the local application. This vulnerability is in the Actionable Exceptions middleware.
nvdosv
CVE-2009-2422P3CRITICALCVSS 9.8≥ 0, < 2.3.32017-10-24
CVE-2009-2422 [CRITICAL] CWE-287 rails vulnerable to improper authentication rails vulnerable to improper authentication The example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_request_with_http_digest block that returns nil instead of false when the user does not exist, which allows context-dependent attackers to bypass authentication for applications that are derived from this example by sending an invalid
ghsaosv
CVE-2026-33202P3CRITICALCVSS 9.1fixed in 7.2.3.1≥ 8.0.0, < 8.0.4.1+1 more2026-03-24
CVE-2026-33202 [CRITICAL] CWE-74 CVE-2026-33202: Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions Active 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 metachara
nvd
Rubyonrails Rails vulnerabilities | cvebase