Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-47144 EUVD-2026-46117GHSA-x6p3-76f2-xxvhPYSEC-2026-3065

Shamefile has an arbitrary file read via shamefile.yaml in shame next

Published Jul 20, 2026 · Updated Jul 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
BKDDFS shamefile < 0.1.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io shamefile < 0.1.7 0.1.7 GHSA-x6p3-76f2-xxvh
npm shamefile < 0.1.7 0.1.7 GHSA-x6p3-76f2-xxvh
PyPI shamefile < 0.1.7 0.1.7 PYSEC-2026-3065

References