Low severity · published Jul 20, 2025
CVE-2025-54314
Thor before 1.4.0 can construct an unsafe shell command from library input
2.8
CVSS
0.2%
EPSS
No
On KEV
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."
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 9% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TH
Thor · rubyonrails
before 1.4.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54314
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54314
github.com
https://github.com/github/advisory-database/pull/5912#issuecomment-3169255309
github.com
https://github.com/rails/thor/commit/536b79036a0efb765c1899233412e7b1ca94abfa
github.com
https://github.com/rails/thor/pull/897
github.com
https://github.com/rails/thor/releases/tag/v1.4.0
hackerone.com
https://hackerone.com/reports/3260153
