Upsonic is vulnerable to Path Traversal attack through its os.path.join functionGHSA-8jf4-fcjr-68c2
MEDIUMFix: Upsonic/Upsonic#360GHSA-8jf4-fcjr-68c2 is a medium-severity (CVSS 5.5) Path Traversal vulnerability in upsonic. A fix is available for upsonic — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-8jf4-fcjr-68c2.
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
upsonicReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
A vulnerability classified as critical was found in Upsonic up to 0.55.6. This vulnerability affects the function os.path.join of the file markdown/server.py. The manipulation of the argument file.filename leads to path traversal. The exploit has been disclosed to the public and may be used.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | upsonic | all versions | 0.56.0pip install --upgrade 'upsonic==0.56.0' |
Affected Products
upsonicupsonicDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for upsonic, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update upsonic to 0.56.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8jf4-fcjr-68c2 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-8jf4-fcjr-68c2 in your dependencies?
Find it across PyPI, including transitive dependencies.