GHSA-cwh7-28vg-jmpr is a medium-severity (CVSS 5.3) Path Traversal vulnerability in github.com/jessfraz/pastebinit. A fix is available for github.com/jessfraz/pastebinit — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/jessfraz/pastebinitReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A vulnerability was found in pastebinit up to 0.2.2 and classified as problematic. Affected by this issue is the function pasteHandler of the file server.go. The manipulation of the argument r.URL.Path leads to path traversal. Upgrading to version 0.2.3 is able to address this issue. The name of the patch is 1af2facb6d95976c532b7f8f82747d454a092272. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217040.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/jessfraz/pastebinit | all versions | 0.2.3go get github.com/jessfraz/pastebinit@v0.2.3 |
Affected Products
pastebinitpastebinit_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/jessfraz/pastebinit, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/jessfraz/pastebinit to 0.2.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cwh7-28vg-jmpr is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-cwh7-28vg-jmpr in your dependencies?
Find it across Go, including transitive dependencies.