Vulnerabilities in pkg:pypi/shamefile
PACKAGECVE-2026-47144 is a MODERATE (CVSS 5.5) shamefile has an arbitrary file vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Shamefile libraries in the PyPI ecosystem. The issue involves shamefile has an arbitrary file read via shamefile.yaml in shame next. Remediation is available by upgrading affected packages to version 0.1.7.
pkg:pypi/shamefile
Vulnerability advisories affecting package pkg:pypi/shamefile. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-x6p3-76f2-xxvh | CVE-2026-47144 | MODERATE | Shamefile has an arbitrary file read via shamefile.yaml in shame next |
CVE-2026-47144 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-47144
To remediate this vulnerability, upgrade all affected Shamefile dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install shamefile>=0.1.7
npm install shamefile@0.1.7
Upgrade shamefile to 0.1.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show shamefile
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-47144, inspect your installed packages using pip:
pip show shamefile
Analyze the terminal output to locate any version of Shamefile in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.7), your application is affected.
Note: The pip show shamefile command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where 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. In Shamefile, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47144 Affected Shamefile Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shamefile
|
PyPI |
< 0.1.7
|
0.1.7
|
|
shamefile
|
npm |
< 0.1.7
|
0.1.7
|
|
shamefile
|
crates.io |
< 0.1.7
|
0.1.7
|
References
Frequently Asked Questions
What is CVE-2026-47144?
Which Shamefile versions are affected?
What version fixes CVE-2026-47144?
Is shamefile affected?
What is the CVSS score of CVE-2026-47144?
What CWE is associated with CVE-2026-47144?
How can I check PyPI dependencies for CVE-2026-47144?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x6p3-76f2-xxvh",
"modified" : "2026-07-20T21:48:10Z",
"published" : "2026-05-28T20:02:14Z",
"aliases" : [ "CVE-2026-47144" ],
"summary" : "Shamefile has an arbitrary file read via shamefile.yaml in shame next",
"details" : "### Impact\n\nA 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.\n\n### Patches\n\nFixed in 0.1.7. Upgrade to either 0.1.7 or later versions to incorporate the patch.\n\n### Workarounds\n\nDo not run `shame next` against untrusted `shamefile.yaml`. Use `shame me --dry-run` for CI validation.\n\n### Resources\n\n- Patch commit: https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557\n- Pull request: https://github.com/BKDDFS/shamefile/pull/80\n- Release: https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7\n- [CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')](https://cwe.mitre.org/data/definitions/22.html)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "shamefile"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.1.6"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "shamefile"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.1.6"
}
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "shamefile"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.1.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/BKDDFS/shamefile/security/advisories/GHSA-x6p3-76f2-xxvh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47144"
}, {
"type" : "WEB",
"url" : "https://github.com/BKDDFS/shamefile/pull/80"
}, {
"type" : "WEB",
"url" : "https://github.com/BKDDFS/shamefile/commit/77b0aeea318503582818c708518c601fedc43557"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/BKDDFS/shamefile"
}, {
"type" : "WEB",
"url" : "https://github.com/BKDDFS/shamefile/releases/tag/v0.1.7"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/shamefile/PYSEC-2026-3065.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-28T20:02:14Z",
"nvd_published_at" : null
}
}