{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-32146",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-32146",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-11T12:59:22.911Z",
    "updatedAt": "2026-09-08T00:58:49.792Z",
    "importedAt": "2026-10-24T01:58:08.712Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Improper Path Validation in Git Dependency Handling Allows Arbitrary File System Modification",
      "summary": "Improper path validation vulnerability in the Gleam compiler's handling of git dependencies allows arbitrary file system modification during dependency download.\n\nDependency names from gleam.toml and manifest.toml are incorporated into filesystem paths without sufficient validation or confinement to the intended dependency directory, allowing attacker-controlled paths (via relative traversal such as ../ or absolute paths) to target filesystem locations outside that directory. When resolving git dependencies (e.g. via gleam deps download), the computed path is used for filesystem operations including directory deletion and creation.\n\nThis vulnerability occurs during the dependency resolution and download phase, which is generally expected to be limited to fetching and preparing dependencies within a confined directory. A malicious direct or transitive git dependency can exploit this issue to delete and overwrite arbitrary directories outside the intended dependency directory, including attacker-chosen absolute paths, potentially causing data loss. In some environments, this may be further leveraged to achieve code execution, for example by overwriting git hooks or shell configuration files.\n\nThis issue affects Gleam from 1.9.0-rc1 until 1.15.4.",
      "affected": [
        {
          "vendor": "Gleam",
          "product": "Gleam",
          "packageName": "gleam",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1.9.0-rc1",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "*",
              "changes": [
                {
                  "at": "1.15.4",
                  "status": "unaffected"
                }
              ]
            }
          ]
        },
        {
          "vendor": "Gleam",
          "product": "Gleam",
          "packageName": "gleam-lang/gleam",
          "collectionURL": "https://github.com",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1.9.0-rc1",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "*",
              "changes": [
                {
                  "at": "1.15.4",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "a4fde22445ab8e5cc79c2ff48971616cb570702c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "*",
              "changes": [
                {
                  "at": "92aae3913570e8d8962f6399404777d313045bfa",
                  "status": "unaffected"
                },
                {
                  "at": "2dc0467f822c75de94697a912755d172928ee40a",
                  "status": "unaffected"
                }
              ]
            }
          ]
        },
        {
          "vendor": "Gleam",
          "product": "Gleam",
          "packageName": "gleam-lang/gleam",
          "collectionURL": "https://ghcr.io",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "v1.9.0-rc1-elixir",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-elixir"
            },
            {
              "version": "v1.9.0-rc1-erlang",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-erlang"
            },
            {
              "version": "v1.9.0-rc1-node",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-node"
            },
            {
              "version": "v1.9.0-rc1-node-slim",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-node-slim"
            },
            {
              "version": "v1.9.0-rc1-elixir-slim",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-elixir-slim"
            },
            {
              "version": "v1.9.0-rc1-erlang-slim",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-erlang-slim"
            },
            {
              "version": "v1.9.0-rc1-erlang-alpine",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-erlang-alpine"
            },
            {
              "version": "v1.9.0-rc1-elixir-alpine",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-elixir-alpine"
            },
            {
              "version": "v1.9.0-rc1-node-alpine",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-node-alpine"
            },
            {
              "version": "v1.9.0-rc1-scratch",
              "status": "affected",
              "versionType": "other",
              "lessThan": "v1.15.4-scratch"
            }
          ]
        }
      ]
    }
  }
}