Shell Command Construction Vulnerability in Thor by Rails
CVE-2025-54314

2.8LOW

Key Information:

Status
Vendor
CVE Published:
20 July 2025

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

References

CVSS V3.1

Score:
2.8
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-54314 : Shell Command Construction Vulnerability in Thor by Rails