OS Command Injection in thor - CVE-2025-54314
Published: September 30, 2025
Vulnerability identifier: #VU116192
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-54314
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Rails
Affected software:
thor
thor
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary shell commands on the target system.
The vulnerability exists due to Thor can construct an unsafe shell command from library input. A remote user can pass specially crafted data to the application and modify data on the system.
How to mitigate CVE-2025-54314
Install updates from vendor's website.