# CVE-2025-54314

- Priority: **Routine**
- Reason: Not severe (CVSS 2.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-20 · Modified: 2025-08-10
- Aliases: UBUNTU-CVE-2025-54314, CGA-6772-wffg-3p2v, CGA-6jgq-hj3v-xhq6, CGA-7h68-hh7v-7pq3, CGA-p5cw-3phj-g56r, CGA-q28x-788c-hv4w, CGA-q496-xvrc-3qj2, CGA-qmv5-m894-vrqp, CGA-xhrr-fg4g-w89w, openSUSE-SU-2025:15382-1, openSUSE-SU-2026:10366-1, CGA-2hjg-5q3c-w8qx, CGA-33wp-wwc8-3mhg, CGA-35m3-685f-85rx, CGA-3rxc-c8v6-g79j, CGA-439f-88w8-wchg, CGA-44cx-6hrh-24w8, CGA-495f-qx2f-mx3j, CGA-4gqh-9hgx-hr43, CGA-4hpm-rxgh-f67h, CGA-57f3-7639-76mr, CGA-5vpm-q494-7rrf, CGA-6gfq-h4jx-9g3w, CGA-6xf3-9jj9-jpmg, CGA-89fg-2hwq-pwm8, CGA-cc5h-rqf6-r246, CGA-ch4g-69j6-v5jc, CGA-cpvp-mg8c-3q76, CGA-fgrc-f96v-qc84, CGA-hc75-jhp5-c9q8, CGA-hpwg-g9qg-vqhg, CGA-hw87-rj35-r27w, CGA-jfpx-f5wc-2xv7, CGA-mvv9-8vrp-7gp3, CGA-p8hc-wwp4-wmjj, GHSA-mqcp-p2hv-vw6x, CGA-q695-fpm3-67j6, CGA-qf27-fmf6-89gm, CGA-r9mq-934x-gm48, CGA-rvfq-4vp2-2925, CGA-vp7q-j7pp-7w6r, CGA-vwvj-rm7x-jrh6, CGA-wj3g-m33g-rjmp, CGA-wjwq-rh94-4mvv, CGA-wqp7-xv6v-5v66, CGA-wrj2-494g-m8hh, CGA-x92q-q9qh-4jwg, CGA-xxrq-242f-grg4
- Record: https://cvemate.com/vulnerability/CVE-2025-54314 · JSON: https://cvemate.com/vulnerability/CVE-2025-54314/json

## Description

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

## Signals

- CVSS: 2.8 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
- EPSS: 0.194%, percentile 9.535%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 30)

- chainguard kube-fluentd-operator (Chainguard): \< 1.18.2-r42
- chainguard kube-fluentd-operator-compat (Chainguard): \< 1.18.2-r42
- chainguard kube-fluentd-operator-default-config (Chainguard): \< 1.18.2-r42
- chainguard kube-fluentd-operator-oci-entrypoint (Chainguard): \< 1.18.2-r42
- chainguard ruby3.2-rails-7.1 (Chainguard): \< 7.1.5.1-r10
- chainguard ruby3.2-rails-7.1-compat (Chainguard): \< 7.1.5.1-r10
- chainguard ruby3.2-rails-7.2 (Chainguard): \< 7.2.2.1-r10
- chainguard ruby3.2-rails-7.2-compat (Chainguard): \< 7.2.2.1-r10
- chainguard ruby3.2-rails-8.0 (Chainguard): \< 8.0.2-r7
- chainguard ruby3.2-rails-8.0-compat (Chainguard): \< 8.0.2-r7
- chainguard ruby3.3-rails-7.1 (Chainguard): \< 7.1.5.1-r10
- chainguard ruby3.3-rails-7.1-compat (Chainguard): \< 7.1.5.1-r10
- chainguard ruby3.3-rails-7.2 (Chainguard): \< 7.2.2.1-r10
- chainguard ruby3.3-rails-7.2-compat (Chainguard): \< 7.2.2.1-r10
- chainguard ruby3.3-rails-8.0 (Chainguard): \< 8.0.2-r7
- chainguard ruby3.3-rails-8.0-compat (Chainguard): \< 8.0.2-r7
- chainguard ruby3.4-rails-7.1 (Chainguard): \< 7.1.5.1-r10
- chainguard ruby3.4-rails-7.1-compat (Chainguard): \< 7.1.5.1-r10
- chainguard ruby3.4-rails-7.2 (Chainguard): \< 7.2.2.1-r10
- chainguard ruby3.4-rails-7.2-compat (Chainguard): \< 7.2.2.1-r10

## References

- <https://github.com/rails/thor/commit/536b79036a0efb765c1899233412e7b1ca94abfa>
- <https://hackerone.com/reports/3260153>
- <https://github.com/rails/thor/pull/897>
- <https://github.com/rails/thor/releases/tag/v1.4.0>
- <https://github.com/github/advisory-database/pull/5912#issuecomment-3169255309>
- <https://ubuntu.com/security/CVE-2025-54314>
- <https://www.cve.org/CVERecord?id=CVE-2025-54314>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54314.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54314>
- <https://www.suse.com/security/cve/CVE-2025-54314>
- <https://github.com/rails/thor>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/thor/CVE-2025-54314.yml>

---

Data as of 2026-12-05T08:02:14.414Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
