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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rubyonrails | Thor | < 1.4.0 | 1.4.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-thor | No fix yet | — |
| Ubuntu 26.04 LTS | ruby-thor | No fix yet | — |
| Ubuntu 25.10 | ruby-thor | No fix yet | — |
| Ubuntu 24.04 LTS | ruby-thor | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-thor | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ruby-thor | No fix yet | — |
| Ubuntu 18.04 LTS | ruby-thor | No fix yet | — |
| Ubuntu 16.04 LTS | ruby-thor | No fix yet | — |
| Ubuntu 14.04 LTS | ruby-thor | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rubygem-thor | 1.4.0-1.1 | openSUSE-SU-2026:10366-1, openSUSE-SU-2025:15382-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | ruby3.2 +5 | 3.2.8-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-bigdecimal | 3.1.3-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-bundler | 2.4.19-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-io-console | 0.6.0-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-irb | 1.6.2-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-json | 2.6.3-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-minitest | 5.25.1-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-power_assert | 2.0.3-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-psych | 5.0.1-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-rake | 13.0.6-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-rbs | 2.8.2-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-rdoc | 6.5.1.1-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-rexml | 3.3.9-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-rss | 0.3.1-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-test-unit | 3.5.7-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygem-typeprof | 0.21.3-184.amzn2023.0.4 | ALAS2023-2025-1124 |
| Amazon Linux 2023 | ruby3.2-rubygems +1 | 3.4.19-184.amzn2023.0.4 | ALAS2023-2025-1124 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rubygem-thor | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | rubygem-thor | 1.2.1-3 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kube-fluentd-operator +3 | 1.18.2-r42 | — |
Advisories 4
- WID-SEC-2026-1730 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Jul 16, 2026
- openSUSE-SU-2026:10366-1 ruby4.0-rubygem-thor-1.4.0-1.3 on GA media SUSE / openSUSE Security Updates · Mar 14, 2026
- openSUSE-SU-2025:15382-1 ruby3.4-rubygem-thor-1.4.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2025-1124 Low: ruby3.2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 8, 2025