Shamefile has an arbitrary file read via shamefile.yaml in shame next
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| BKDDFS | shamefile | before 0.1.7 | 0.1.7 | Patch available | CNA |
| — | shamefile (PyPI) | before 0.1.7 | 0.1.7 | Patch available | GHSA-x6p3-76f2-xxvh |
| — | shamefile (npm) | before 0.1.7 | 0.1.7 | Patch available | GHSA-x6p3-76f2-xxvh |
| — | shamefile (crates.io) | before 0.1.7 | 0.1.7 | Patch available | GHSA-x6p3-76f2-xxvh |
- shamefile VendorBKDDFS Affected before 0.1.7 Fixed in 0.1.7 Patch available CNA
- shamefile (PyPI) Vendor— Affected before 0.1.7 Fixed in 0.1.7 Patch available GHSA-x6p3-76f2-xxvh
- shamefile (npm) Vendor— Affected before 0.1.7 Fixed in 0.1.7 Patch available GHSA-x6p3-76f2-xxvh
- shamefile (crates.io) Vendor— Affected before 0.1.7 Fixed in 0.1.7 Patch available GHSA-x6p3-76f2-xxvh
Remediation
- Fix · CNA shamefile (BKDDFS) Fixed in 0.1.7
- Fix · GHSA-x6p3-76f2-xxvh shamefile (PyPI) Fixed in 0.1.7 Advisory →
- Fix · GHSA-x6p3-76f2-xxvh shamefile (npm) Fixed in 0.1.7 Advisory →
- Fix · GHSA-x6p3-76f2-xxvh shamefile (crates.io) Fixed in 0.1.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47144
- 2026-10-03 Alias added: GHSA-x6p3-76f2-xxvh
References
Other 6
- https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh
- https://github.com/BKDDFS/shamefile/pull/80
- https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557
- https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7
- https://github.com/pypa/advisory-database/tree/main/vulns/shamefile/PYSEC-2026-3065.yaml
- https://github.com/BKDDFS/shamefile
Sources
- CVE-2026-47144 · CVE Program
- CVE-2026-47144 · NVD
- FIRST EPSS
- GHSA-x6p3-76f2-xxvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences