CVE-2025-54314
Thor before 1.4.0 can construct an unsafe shell command from …
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."
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/github/advisory-database/pull/5912#issuecomment-3169255309
- github.com/rails/thor/commit/536b79036a0efb765c1899233412e7b1ca94abfa
- github.com/rails/thor/pull/897
- github.com/rails/thor/releases/tag/v1.4.0
- hackerone.com/reports/3260153
- nvd.nist.gov/vuln/detail/CVE-2025-54314
- cve.org/CVERecord?id=CVE-2025-54314
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.