CVE-2026-47144 Shamefile has an arbitrary file read via shamefile.yaml in shame next
An attacker can read arbitrary files outside the repository via a malicious shamefile.yaml when a user runs the shame next command.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-47144?
CVE-2026-47144 is a medium-severity path traversal vulnerability in BKDDFS shamefile, published on 20 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-47144?
7 open source packages ship an affected version, including shamefile.
| Package | Affected | Fixed in |
|---|---|---|
shamefile PyPI | All versions | 0.1.7 |
shamefile PyPI | All versions | 0.1.7 |
shamefile PyPI | All versions | 0.1.7 |
shamefile crates.io | All versions | 0.1.7 |
shamefile crates.io | All versions | 0.1.7 |
shamefile npm | All versions | 0.1.7 |
1 more packages
shamefile npm | All versions | 0.1.7 |
How do I fix CVE-2026-47144?
Upgrade shamefile to 0.1.7 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-47144 being exploited?
There is no known exploitation of CVE-2026-47144 in the wild and no public exploit code.
Sources
Also known as GHSA-x6p3-76f2-xxvh, PYSEC-2026-3065.