CVE-2025-54314
JSON

2.8low

Thor before 1.4.0 can construct an unsafe shell command from library input.

Severity
2.8low CVSS:3.1 by mitre
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-mqcp-p2hv-vw6x

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."

Affected

Product or packageVersionsReported by
rubyonrails Thorbefore 1.4.0CVE List
thor (RubyGems)before 1.4.0GitHub Advisory Database

All scores

mitre2.8low CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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."

GitHub Advisory Database
Withdrawn Advisory

This advisory has been withdrawn because the method described can only be used with arguments that are controlled by Thor, and an external attacker cannot access the functionality described in the body of the CVE. This link is maintained to preserve external references.

Original Description

Thor before 1.4.0 can construct an unsafe shell command from library input.

NVD (es)

Thor anterior a 1.4.0 puede construir un comando de shell inseguro desde la entrada de la librería.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-54314 changed 2025-08-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-mqcp-p2hv-vw6x changed 2026-09-10CC-BY-4.0
NVDCVE-2025-54314 changed 2026-06-17Public domain