CVE-2026-47144
Crates.io vulnerability
### Impact A path traversal vulnerability in `shame next` allows an attacker-controlled `shamefile.yaml` to disclose contents of files outside the repository, one line at a time, to the terminal of a user who runs the command. See patch commit for technical details. ### Patches Fixed in 0.1.7. Upgrade to either 0.1.7 or later versions to incorporate the patch. ### Workarounds Do not run `shame next` against untrusted `shamefile.yaml`. Use `shame me --dry-run` for CI validation. ### Resources - Patch commit: https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557 - Pull request: https://github.com/BKDDFS/shamefile/pull/80 - Release: https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7 - [CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')](https://cwe.mitre.org/data/definitions/22.html)
Affected products
Crates.io, Npm, PyPI. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Crates.io 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/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh
- github.com/BKDDFS/shamefile/pull/80
- github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557
- github.com/BKDDFS/shamefile/releases/tag/v0.1.7
- github.com/advisories/GHSA-x6p3-76f2-xxvh
- nvd.nist.gov/vuln/detail/CVE-2026-47144
- github.com/pypa/advisory-database/tree/main/vulns/shamefile/PYSEC-2026-3065.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-47144
- cve.org/CVERecord?id=CVE-2026-47144
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.