CVE-2025-54314
Low
Description
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."
SeverityLow
CVSS2.8
Exploit probability—
ProductThor
PublishedJul 20, 2025
First seenJul 20, 2025
Weakness typeCWE-78OS command injection
How to fix
Update
- rubyonrails Thor1.4.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubyonrails Thor | v < 1.4.0 | 1.4.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.