{"id":"CVE-2026-47144","aliases":["GHSA-x6p3-76f2-xxvh","PYSEC-2026-3065"],"title":"Shamefile has an arbitrary file read via shamefile.yaml in shame next","summary":"Shamefile has an arbitrary file read via shamefile.yaml in shame next","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","vendor":"shamefile","product":"shamefile","ecosystem":"pip","affected":["shamefile < 0.1.7","shamefile < 0.1.7","shamefile < 0.1.7"],"patched":["shamefile 0.1.7","shamefile 0.1.7","shamefile 0.1.7"],"published":"2026-05-28","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-x6p3-76f2-xxvh","references":[{"url":"https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh"},{"url":"https://github.com/BKDDFS/shamefile/pull/80"},{"url":"https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557"},{"url":"https://github.com/BKDDFS/shamefile"},{"url":"https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7"}],"tags":["osv","pip"],"ingestedAt":"2026-07-13T18:58:04.997Z","epss":0.00184,"epssPercentile":0.08204,"slug":"CVE-2026-47144","body":"## Overview\n\n### Impact\n\nA 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.\n\n### Patches\n\nFixed in 0.1.7. Upgrade to either 0.1.7 or later versions to incorporate the patch.\n\n### Workarounds\n\nDo not run `shame next` against untrusted `shamefile.yaml`. Use `shame me --dry-run` for CI validation.\n\n### Resources\n\n- Patch commit: https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557\n- Pull request: https://github.com/BKDDFS/shamefile/pull/80\n- Release: https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7\n- [CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')](https://cwe.mitre.org/data/definitions/22.html)\n\n## Affected packages\n\n- `shamefile < 0.1.7`\n- `shamefile < 0.1.7`\n- `shamefile < 0.1.7`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `shamefile 0.1.7`\n- `shamefile 0.1.7`\n- `shamefile 0.1.7`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}