{"id":"PYSEC-2026-3065","summary":"Shamefile has an arbitrary file read via shamefile.yaml in shame next","details":"### 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)","aliases":["CVE-2026-47144","GHSA-x6p3-76f2-xxvh"],"modified":"2026-07-13T16:32:49.355143343Z","published":"2026-07-13T15:19:13.415409Z","references":[{"type":"WEB","url":"https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh"},{"type":"WEB","url":"https://github.com/BKDDFS/shamefile/pull/80"},{"type":"WEB","url":"https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557"},{"type":"PACKAGE","url":"https://github.com/BKDDFS/shamefile"},{"type":"WEB","url":"https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7"},{"type":"PACKAGE","url":"https://pypi.org/project/shamefile"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x6p3-76f2-xxvh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47144"}],"affected":[{"package":{"name":"shamefile","ecosystem":"PyPI","purl":"pkg:pypi/shamefile"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.7"}]}],"versions":["0.1.0","0.1.0rc2","0.1.0rc3","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/shamefile/PYSEC-2026-3065.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}