Advisory

PYSEC-2026-3065

Also known as: CVE-2026-47144, GHSA-x6p3-76f2-xxvh

Summary

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

Details

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

Severity

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

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

shamefile

PyPI · All systems

Affected

  • introduced 0, fixed 0.1.7 (ecosystem)

Fixed versions

0.1.7

Fix

  • Fixed version 0.1.7
    pip install --upgrade shamefile==0.1.7

Fix 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

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences