{"id":"GHSA-x6p3-76f2-xxvh","revision":"842cbc374b44462580fec3f5cc3d978c","records":[{"revision":"842cbc374b44462580fec3f5cc3d978c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-x6p3-76f2-xxvh","aliases":["CVE-2026-47144","PYSEC-2026-3065"],"title":"Shamefile has an arbitrary file read via shamefile.yaml in shame next","description":"### 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)","state":0,"publishedAt":"2026-05-28T20:02:14+00:00","modifiedAt":"2026-07-20T22:00:26.6530953+00:00","affected":[{"ecosystem":"PyPI","name":"shamefile","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"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"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"shamefile","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.1.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"shamefile","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.1.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh","https://nvd.nist.gov/vuln/detail/CVE-2026-47144","https://github.com/BKDDFS/shamefile/pull/80","https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557","https://github.com/BKDDFS/shamefile","https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7","https://github.com/pypa/advisory-database/tree/main/vulns/shamefile/PYSEC-2026-3065.yaml"],"sourceUrl":"https://github.com/advisories/GHSA-x6p3-76f2-xxvh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x6p3-76f2-xxvh","identifiers":["GHSA-x6p3-76f2-xxvh","CVE-2026-47144","PYSEC-2026-3065"]},"retained":false,"historicalAffected":[]}],"coverage":[]}