Shell Command Construction Vulnerability in Thor by Rails
CVE-2025-54314
2.8LOW
What is CVE-2025-54314?
The Thor library, used for creating command-line interfaces, contains a vulnerability that allows an attacker to construct unsafe shell commands by leveraging library input. This issue arises in versions prior to 1.4.0, posing a risk when untrusted data is processed. Users are strongly advised to upgrade to the latest version to mitigate this security risk and ensure safer command execution.
Affected Version(s)
Thor 0 < 1.4.0