{"id":"CVE-2026-47144","published":"2026-07-20T21:49:09Z","modified":"2026-07-22T14:18:13Z","title":"Shamefile has an arbitrary file read via shamefile.yaml in shame next","vendor":"BKDDFS","product":"shamefile","tier":"tail","description":{"text":"Shamefile is a linter for undocumented linter warnings. Prior to version 0.1.7, 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. The issue is fixed in 0.1.7. Upgrade to either 0.1.7 or later versions to incorporate the patch. As a workaround, do not run `shame next` against untrusted `shamefile.yaml`. Use `shame me --dry-run` for CI validation.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.08145,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BKDDFS/shamefile/pull/80","tags":["x_refsource_MISC"]},{"url":"https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557","tags":["x_refsource_MISC"]},{"url":"https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/shamefile/PYSEC-2026-3065.yaml","tags":["x_refsource_MISC"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.63},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"bkddfs","affectedVersions":[{"vendor":"BKDDFS","product":"shamefile","versions":["< 0.1.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:18:03.366161Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"shamefile","vulnerableRanges":["<0.1.7"],"patched":["0.1.7"],"from":["GHSA-x6p3-76f2-xxvh","PYSEC-2026-3065"],"provenance":"source"},{"ecosystem":"npm","package":"shamefile","vulnerableRanges":["<0.1.7"],"patched":["0.1.7"],"from":["GHSA-x6p3-76f2-xxvh"],"provenance":"source"},{"ecosystem":"crates.io","package":"shamefile","vulnerableRanges":["<0.1.7"],"patched":["0.1.7"],"from":["GHSA-x6p3-76f2-xxvh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-46117","exploited":false,"provenance":"source"}}