{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.8.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "f207521ef8abc22f30740591c3de5062c1aa628c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "75ac9a2eaa1cba4f42dda3ef80a0b53bd03a25c0"
            },
            {
              "fixed": "f207521ef8abc22f30740591c3de5062c1aa628c"
            }
          ],
          "repo": "https://github.com/candid82/joker",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m835-3cm9-rggg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-829"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59172.json"
  },
  "details": "Joker is a small Clojure interpreter, linter and formatter written in Go. Prior to 1.8.2, `joker --lint \u003cfile\u003e` walks upward from the linted file to locate a `.jokerd/` directory and executes matching `linter.*` files before linting. Those files contain executable Joker/Clojure code, so linting a file inside an untrusted repository can execute repository-supplied code with the linter user's privileges. Editor integrations and CI jobs that automatically lint checked-out source can trigger this behavior. The patch stops executing project-local linter customizations and loads executable customization only from the user's home directory. This issue is fixed in version 1.8.2.",
  "id": "CVE-2026-59172",
  "modified": "2026-10-30T02:31:08.519575374Z",
  "published": "2026-10-28T13:07:35.230Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/candid82/joker/tree/v1.8.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59172.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/candid82/joker/security/advisories/GHSA-m835-3cm9-rggg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59172"
    },
    {
      "type": "FIX",
      "url": "https://github.com/candid82/joker/commit/f207521ef8abc22f30740591c3de5062c1aa628c"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Joker linter executed project-local .jokerd/linter.* files during linting"
}