5.1medium
Upsonic server.py os.path.join path traversal
- Severity
- 5.1medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.75% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-8jf4-fcjr-68c2PYSEC-2025-67
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
| Product or package | Versions | Reported by |
|---|---|---|
| Upsonic | 0.55.0, 0.55.1, 0.55.2, 0.55.3, 0.55.4, 0.55.5, 0.55.6 | CVE List |
| upsonic (PyPI) | before 0.56.0 | GitHub Advisory Database, PyPA Advisory Database |
| upsonic upsonic | up to 0.55.6 | NVD |
All scores
| VulDB | 5.1medium CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 5.5medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 5.5medium CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 5.2medium CVSS:2.0 | AV:A/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 5.5low CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
CVE List (de)
In Upsonic bis 0.55.6 wurde eine Schwachstelle entdeckt. Sie wurde als kritisch eingestuft. Betroffen ist die Funktion os.path.join der Datei markdown/server.py. Mit der Manipulation des Arguments file.filename mit unbekannten Daten kann eine path traversal-Schwachstelle ausgenutzt werden. Der Exploit steht zur öffentlichen Verfügung.
NVD (es)
Se detectó una vulnerabilidad crítica en Upsonic hasta la versión 0.55.6. Esta vulnerabilidad afecta la función os.path.join del archivo markdown/server.py. La manipulación del argumento file.filename provoca un path traversal. Se ha hecho público el exploit y puede que sea utilizado.
References
| https://vuldb.com/?id.313282 | advisory, technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.313282 | advisory, permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.593096 | advisory, third-party-advisory, vdb-entry, web | |
| https://github.com/Upsonic/Upsonic/issues/356 | evidence, exploit, issue-tracking, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6278 | advisory | |
| 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://github.com/advisories/GHSA-8jf4-fcjr-68c2 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6278 changed 2025-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8jf4-fcjr-68c2 changed 2025-07-09 | CC-BY-4.0 |
| NVD | CVE-2025-6278 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2025-67 changed 2026-06-10 | CC-BY-4.0 |