CVE-2025-6278: Upsonic is vulnerable to Path Traversal attack through its os.path.join function
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.
Published Jun 19, 2025 · Updated Jul 9, 2025
Affected packages
upsonic
- Ecosystem
- PyPI
- Affected
- < 0.56.0
- Fixed in
- 0.56.0
- Check
pip show upsonic
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6278
- https://github.com/Upsonic/Upsonic/issues/356
- https://vuldb.com/?ctiid.313282
- https://vuldb.com/?id.313282
- https://vuldb.com/?submit.593096
- https://github.com/Upsonic/Upsonic/pull/360
- https://github.com/Upsonic/Upsonic/commit/a54529acc6e4bfe28f4f5c80c058144348a306b7
- https://github.com/Upsonic/Upsonic/blob/v0.55.6/src/upsonic/server/markdown/server/server.py#L39
- https://github.com/pypa/advisory-database/tree/main/vulns/upsonic/PYSEC-2025-67.yaml
- https://github.com/advisories/GHSA-8jf4-fcjr-68c2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
