ghsa-8jf4-fcjr-68c2
Vulnerability from github
Published
2025-06-19 21:31
Modified
2025-07-09 01:00
Summary
Upsonic is vulnerable to Path Traversal attack through its os.path.join function
Details

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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "upsonic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.56.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-6278"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-07-09T01:00:21Z",
    "nvd_published_at": "2025-06-19T21:15:27Z",
    "severity": "LOW"
  },
  "details": "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.",
  "id": "GHSA-8jf4-fcjr-68c2",
  "modified": "2025-07-09T01:00:21Z",
  "published": "2025-06-19T21:31:19Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-6278"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Upsonic/Upsonic/issues/356"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Upsonic/Upsonic/pull/360"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Upsonic/Upsonic/commit/a54529acc6e4bfe28f4f5c80c058144348a306b7"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Upsonic/Upsonic"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Upsonic/Upsonic/blob/v0.55.6/src/upsonic/server/markdown/server/server.py#L39"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/upsonic/PYSEC-2025-67.yaml"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?ctiid.313282"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?id.313282"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?submit.593096"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Upsonic is vulnerable to Path Traversal attack through its os.path.join function"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.