CVE-2025-54314
published low CVSS 3.1 · 2.8thor: Thor Command Injection Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rubyonrails | — | Thor0 to < 1.4.0 · Other versions: unaffected | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1124 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-thoraarch64 | Advisory build | 1.4.0-1.1 | OPENSUSE-SU-2025:15382-1 |
| Amazon Linux | AL2023 | ruby3.2aarch64 | Listed in advisory | Not stated | ALAS2023-2025-1124 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-thorppc64le | Advisory build | 1.4.0-1.1 | OPENSUSE-SU-2025:15382-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-thors390x | Advisory build | 1.4.0-1.1 | OPENSUSE-SU-2025:15382-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-thorx86_64 | Advisory build | 1.4.0-1.1 | OPENSUSE-SU-2025:15382-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-thoraarch64 | Advisory build | 1.4.0-1.3 | OPENSUSE-SU-2026:10366-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-thorppc64le | Advisory build | 1.4.0-1.3 | OPENSUSE-SU-2026:10366-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-thors390x | Advisory build | 1.4.0-1.3 | OPENSUSE-SU-2026:10366-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-thorx86_64 | Advisory build | 1.4.0-1.3 | OPENSUSE-SU-2026:10366-1 |
| Amazon Linux | AL2023 | ruby3.2noarch | Listed in advisory | Not stated | ALAS2023-2025-1124 |
| Amazon Linux | AL2023 | ruby3.2src | Listed in advisory | Not stated | ALAS2023-2025-1124 |
| Amazon Linux | AL2023 | ruby3.2x86_64 | Listed in advisory | Not stated | ALAS2023-2025-1124 |
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.8 / 10
- Severity
- low
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rubyonrails | Thor | 0 to < 1.4.0 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
5Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1a2caafb0177db7cce84d8e9fbfa0161b4ef8a0d3a4a537073dfcac12f75cca7
- Ingested
- 23 Sep 2026, 08:53:04 UTC
- Source record
- Official CVE record