CVE-2026-47144: Shamefile has an arbitrary file read via shamefile.yaml in shame next
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.
Published May 28, 2026 · Updated Jul 20, 2026
Affected packages
shamefile
- Ecosystem
- PyPI
- Affected
- <= 0.1.6
- Fixed in
- 0.1.7
- Check
pip show shamefile
shamefile
- Ecosystem
- npm
- Affected
- <= 0.1.6
- Fixed in
- 0.1.7
- Check
npm ls shamefile
shamefile
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.1.6
- Fixed in
- 0.1.7
- Check
cargo tree -i shamefile
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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')
Credited to BKDDFS.
References
- https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh
- https://github.com/BKDDFS/shamefile/pull/80
- https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557
- https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7
- https://nvd.nist.gov/vuln/detail/CVE-2026-47144
- https://github.com/pypa/advisory-database/tree/main/vulns/shamefile/PYSEC-2026-3065.yaml
- https://github.com/advisories/GHSA-x6p3-76f2-xxvh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
