RCE in Rubyonrails Thor
CVE-2025-54314
Thor 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."
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.002 (5.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 2.8 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N.
Affected products
- Rubyonrails Thor — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-54314?
- CVE-2025-54314 is a low-severity vulnerability in Rubyonrails Thor, classified under OS Command Injection. CVSS score: 2.8/10. Published 2025-07-20.
- How severe is CVE-2025-54314?
- Low severity. CVSS v3 base score is 2.8 out of 10.