Skip to content

CVE-2026-47144 Shamefile has an arbitrary file read via shamefile.yaml in shame next

MediumCVSS 5.5 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
crates.io shamefile(crates.io) < 0.1.7; <= 0.1.6 0.1.7 Fixed
npm shamefile(npm) < 0.1.7; <= 0.1.6 0.1.7 Fixed
pypi shamefile(PyPI) < 0.1.7; <= 0.1.6; = 0.1.0; = 0.1.0rc2 +7 more 0.1.7 Fixed
BKDDFS shamefile = < 0.1.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
BKDDFS shamefile = < 0.1.7 No fix listed
pypi shamefile(PyPI) < 0.1.7 0.1.7
pypi shamefile(PyPI) = 0.1.0 No fix listed
pypi shamefile(PyPI) = 0.1.0rc2 No fix listed
pypi shamefile(PyPI) = 0.1.0rc3 No fix listed
pypi shamefile(PyPI) = 0.1.1 No fix listed
pypi shamefile(PyPI) = 0.1.2 No fix listed
pypi shamefile(PyPI) = 0.1.3 No fix listed
pypi shamefile(PyPI) = 0.1.4 No fix listed
pypi shamefile(PyPI) = 0.1.5 No fix listed
pypi shamefile(PyPI) = 0.1.6 No fix listed
npm shamefile(npm) < 0.1.7 0.1.7
crates.io shamefile(crates.io) < 0.1.7 0.1.7
pypi shamefile(PyPI) <= 0.1.6 No fix listed
npm shamefile(npm) <= 0.1.6 No fix listed
crates.io shamefile(crates.io) <= 0.1.6 No fix listed

References