CVE-2025-54314 json
Withdrawn Advisory: Thor can construct an unsafe shell command from library input.
published last yr. modified last mo. also GHSA-mqcp-p2hv-vw6x , EUVD-2025-21984
- cvss
- 2.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- rubyonrails Thor 1.4.0
- rubygem-thor openSUSE Tumbleweed 1.4.0-1.3
- rubygem-thor openSUSE Tumbleweed 1.4.0-1.1
opensuse advisories openSUSE-SU-2026:10366-1openSUSE-SU-2025:15382-1
- github.com/rails/thor@536b790 commit
- github.com/rails/thor#897 pull request
- github.com/rails/thor/releases/tag/v1.4.0 release
Is CVE-2025-54314 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-54314 updated cvss 2.8
thor: Thor Command Injection Vulnerability
-
Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/zync-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N |
Affected products
- rubyonrails Thor
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/rails/thor/commit/536b79036a0efb765c1899233412e7b1ca94abfa
web
-
github.com
/rails/thor/pull/897
web
-
hackerone.com
/reports/3260153
web
-
github.com
/rails/thor/releases/tag/v1.4.0
web
-
github.com
/github/advisory-database/pull/5912#issuecomment-3169255309
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-54314
advisory
-
github.com
/rails/thor
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/thor/CVE-2025-54314.yml
web
Sources
- CVE List CVE-2025-54314
- GitHub Advisory GHSA-mqcp-p2hv-vw6x
- NVD CVE-2025-54314
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.