GitHub Advisoryadvisory · PyPI
GHSA-8jf4-fcjr-68c2 Upsonic is vulnerable to Path Traversal attack through its os.path.join function
LOW
Official page ↗
- Aliases
- CVE-2025-6278
- Ecosystem
- PyPI
- Packages
- upsonic
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-22
- Reviewed
- 2025-07-09
Affected packages
• PyPI upsonic: < 0.56.0 → fixed in 0.56.0
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.
Related
Alias · CVE (1)
- CVE-2025-6278 A vulnerability classified as critical was found in Upsonic up to 0.55.6. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6278 advisory
- https://github.com/Upsonic/Upsonic/issues/356 web
- https://github.com/Upsonic/Upsonic/pull/360 web
- https://github.com/Upsonic/Upsonic/commit/a54529acc6e4bfe28f4f5c80c058144348a306b7 web
- https://github.com/Upsonic/Upsonic package
- https://github.com/Upsonic/Upsonic/blob/v0.55.6/src/upsonic/server/markdown/server/server.py#L39 web
- https://github.com/pypa/advisory-database/tree/main/vulns/upsonic/PYSEC-2025-67.yaml web
- https://vuldb.com/?ctiid.313282 web
- https://vuldb.com/?id.313282 web
- https://vuldb.com/?submit.593096 web