shamefile
Affected
- introduced
0, fixed0.1.7(ecosystem)
Fixed versions
0.1.7
Fix
- Fixed version
0.1.7pip install --upgrade shamefile==0.1.7
Advisory
Also known as: CVE-2026-47144, GHSA-x6p3-76f2-xxvh
Shamefile has an arbitrary file read via shamefile.yaml in shame next
Impact
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.
Patches
Fixed in 0.1.7. Upgrade to either 0.1.7 or later versions to incorporate the patch.
Workarounds
Do not run shame next against untrusted shamefile.yaml. Use shame me --dry-run for CI validation.
Resources
Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
0, fixed 0.1.7 (ecosystem)0.1.7
0.1.7pip install --upgrade shamefile==0.1.7Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0