2026-05-12 21:9CVE-2026-45225VulnCheck
PUBLISHED5.2CWE-22x_open-source

Heym < 0.0.21 Path Traversal File Upload via upload_file()

Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that allows authenticated users to write attacker-controlled files to arbitrary locations by supplying a crafted filename with traversal sequences. Attackers can exploit the unvalidated filename parameter in the upload_file() handler to bypass path restrictions and write, read, or delete files outside the intended storage directory.

Problem type

Affected products

heymrun

heym

< 0.0.21 - AFFECTED

835843e6d2bf7d018cbb8e50f28f0426eaa20c84 - UNAFFECTED

References

GitHub Security Advisories

GHSA-pxhc-h7q5-6qrg

Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that...

https://github.com/advisories/GHSA-pxhc-h7q5-6qrg

Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that allows authenticated users to write attacker-controlled files to arbitrary locations by supplying a crafted filename with traversal sequences. Attackers can exploit the unvalidated filename parameter in the upload_file() handler to bypass path restrictions and write, read, or delete files outside the intended storage directory.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-45225
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-45225",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-05-12T21:09:28.287Z",
    "dateReserved": "2026-05-11T14:14:49.611Z",
    "datePublished": "2026-05-12T21:09:28.287Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-05-12T21:09:28.287Z"
      },
      "datePublic": "2026-05-09T00:00:00.000Z",
      "title": "Heym < 0.0.21 Path Traversal File Upload via upload_file()",
      "descriptions": [
        {
          "lang": "en",
          "value": "Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that allows authenticated users to write attacker-controlled files to arbitrary locations by supplying a crafted filename with traversal sequences. Attackers can exploit the unvalidated filename parameter in the upload_file() handler to bypass path restrictions and write, read, or delete files outside the intended storage directory."
        }
      ],
      "affected": [
        {
          "vendor": "heymrun",
          "product": "heym",
          "repo": "https://github.com/heymrun/heym",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "0.0.21"
            },
            {
              "version": "835843e6d2bf7d018cbb8e50f28f0426eaa20c84",
              "status": "unaffected",
              "versionType": "git"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
              "cweId": "CWE-22",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/heymrun/heym/releases/tag/v0.0.21",
          "tags": [
            "release-notes"
          ]
        },
        {
          "url": "https://github.com/heymrun/heym/pull/92",
          "tags": [
            "issue-tracking"
          ]
        },
        {
          "url": "https://github.com/heymrun/heym/commit/835843e6d2bf7d018cbb8e50f28f0426eaa20c84",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/heym-path-traversal-file-upload-via-upload-file",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "availabilityImpact": "LOW",
            "baseScore": 7.6,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Chia Min Jun Lennon",
          "type": "finder"
        }
      ],
      "tags": [
        "x_open-source"
      ]
    }
  }
}