CVE-2025-54314
LOW 2.8CVSS 3.1Withdrawn Advisory: Thor can construct an unsafe shell command from library input.
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."
- Published
- 20 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-mqcp-p2hv-vw6x
- Sources
- NVDJSONOSV GHSA-mqcp-p2hv-vw6xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | thor | < 1.4.0 | 1.4.0 |
References
- https://github.com/github/advisory-database/pull/5912#issuecomment-3169255309 · WEB
- https://github.com/rails/thor/commit/536b79036a0efb765c1899233412e7b1ca94abfa · WEB
- https://github.com/rails/thor/pull/897 · WEB
- https://github.com/rails/thor/releases/tag/v1.4.0 · WEB
- https://hackerone.com/reports/3260153 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54314 · ADVISORY
- https://github.com/rails/thor · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/thor/CVE-2025-54314.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jul 2025)