CVE-2025-6278
JSON

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 packageVersionsReported by
Upsonic0.55.0, 0.55.1, 0.55.2, 0.55.3, 0.55.4, 0.55.5, 0.55.6CVE List
upsonic (PyPI)before 0.56.0GitHub Advisory Database, PyPA Advisory Database
upsonic upsonicup to 0.55.6NVD

All scores

VulDB5.1medium CVSS:4.0CVSS: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
VulDB5.5medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.5medium CVSS:3.0CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.2medium CVSS:2.0AV:A/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
GitHub5.5low CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
GitHublow CVSS:4.0CVSS: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
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-22

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.313282advisory, technical-description, third-party-advisory, vdb-entry, web
https://vuldb.com/?ctiid.313282advisory, permissions-required, signature, vdb-entry, web
https://vuldb.com/?submit.593096advisory, third-party-advisory, vdb-entry, web
https://github.com/Upsonic/Upsonic/issues/356evidence, exploit, issue-tracking, web
https://nvd.nist.gov/vuln/detail/CVE-2025-6278advisory
https://github.com/Upsonic/Upsonic/pull/360web
https://github.com/Upsonic/Upsonic/commit/a54529acc6e4bfe28f4f5c80c058144348a306b7web
https://github.com/Upsonic/Upsonicpackage
https://github.com/Upsonic/Upsonic/blob/v0.55.6/src/upsonic/server/markdown/server/server.py#L39web
https://github.com/pypa/advisory-database/tree/main/vulns/upsonic/PYSEC-2025-67.yamlweb
https://github.com/advisories/GHSA-8jf4-fcjr-68c2advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-6278 changed 2025-06-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-8jf4-fcjr-68c2 changed 2025-07-09CC-BY-4.0
NVDCVE-2025-6278 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-67 changed 2026-06-10CC-BY-4.0