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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.002 (5.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 5th percentile — 5.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
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.