You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Shamefile has an arbitrary file read via shamefile.yaml in shame next
Moderate severity
GitHub Reviewed
Published
May 17, 2026
in
BKDDFS/shamefile
•
Updated Jul 20, 2026
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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Learn more on MITRE.
Impact
A path traversal vulnerability in
shame nextallows an attacker-controlledshamefile.yamlto 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 nextagainst untrustedshamefile.yaml. Useshame me --dry-runfor CI validation.Resources
References