OS Command Injection Affecting thor package, versions <1.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-THOR-10843853
  • published21 Jul 2025
  • disclosed20 Jul 2025
  • creditodaysec

Introduced: 20 Jul 2025

NewCVE-2025-54314  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade thor to version 1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to OS Command Injection via the merge tool. An attacker can execute arbitrary commands by supplying crafted input that is improperly handled during the construction of commands.

CVSS Base Scores

version 4.0
version 3.1