{"id":"GHSA-m835-3cm9-rggg","revision":"2d56ff77d92d4c688506be4288a725bc","records":[{"revision":"2d56ff77d92d4c688506be4288a725bc","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-m835-3cm9-rggg","aliases":["CVE-2026-59172","GO-2026-6450"],"title":"Joker linter executed project-local .jokerd/linter.* files during linting","description":"## Impact\n\nIn Joker versions before 1.8.2, `joker --lint <file>` located a `.jokerd/` directory by walking up from the linted file and executed matching `linter.*` files from that directory before linting. Because these files are executable Joker/Clojure code, linting a file inside an untrusted repository could execute code supplied by that repository.\n\nThis could be triggered by editor integrations or CI jobs that automatically run `joker --lint` on checked-out source code.\n\n## Patches\n\nFixed in Joker v1.8.2. Executable linter customization files are now loaded only from the user's home `.jokerd` directory (`~/.jokerd/linter.cljc`, `~/.jokerd/linter.clj`, `~/.jokerd/linter.cljs`, or `~/.jokerd/linter.joke`). Project-local `.jokerd/linter.*` files are no longer executed.\n\n## Workarounds\n\nUsers who cannot upgrade should avoid running `joker --lint` on untrusted repositories, especially through editor integrations or unattended CI. Removing or disabling project-local `.jokerd/linter.*` files before linting also avoids the code-execution path.\n\n## Credits\n\nReported by Younghun Ko of AhnLab (@koyokr).","state":0,"publishedAt":"2026-09-09T23:48:46+00:00","modifiedAt":"2026-09-17T17:41:02.1605847+00:00","affected":[{"ecosystem":"Go","name":"github.com/candid82/joker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.8.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/candid82/joker/security/advisories/GHSA-m835-3cm9-rggg","https://github.com/candid82/joker"],"sourceUrl":"https://github.com/advisories/GHSA-m835-3cm9-rggg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-m835-3cm9-rggg","identifiers":["GHSA-m835-3cm9-rggg","CVE-2026-59172","GO-2026-6450"]},"retained":false,"historicalAffected":[]}],"coverage":[]}