CVE-2026-59172

Joker linter executed project-local .jokerd/linter.* files during linting

Published Oct 28, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Joker is a lightweight Clojure interpreter, linter and formatter written in Go. Prior to version 1.8.2, its linter would search upwards from a file to find a .jokerd directory and execute any matching linter.* files before linting. Those files contain executable Joker/Clojure code, so linting a file in an untrusted repository can run arbitrary code with the linter user’s privileges. This flaw matches CWE‑829 and enables an attacker to run code at the linter user’s level when a project is linted.

Affected Systems

The vulnerability affects the candid82 Joker application. Any release before 1.8.2 is susceptible. Users running the CLI or editor integrations that automatically lint code fetched from a repository are at risk. The fix in v1.8.2 stops executing project‑local linter scripts and only loads customizations from the user’s home directory.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. No EPSS score is available and the issue is not listed in CISA KEV, so no widespread exploitation has been documented. Exploitation is local – an attacker can trigger it by providing a repository containing malicious linter.* files and having an automated process or developer invoke Joker to lint it. The attack vector is thus confined to environments where Joker is run on untrusted source, such as CI jobs, pre‑commit hooks or IDE plugins.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Joker to 1.8.2 or later to disable project‑local linter script execution
  • Configure CI or editor integrations to run Joker with the minimum necessary privileges and prevent it from accessing untrusted .jokerd directories
  • Review any .jokerd directories in projects you lint, remove or sanitize linter.* files that may contain malicious code

Generated by OpenCVE AI on October 28, 2026 at 15:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m835-3cm9-rggg Joker linter executed project-local .jokerd/linter.* files during linting
History
Type Values Removed Values Added
First Time appeared Candid82
Candid82 joker
Vendors & Products Candid82
Candid82 joker
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Joker linter executed project-local .jokerd/linter.* files during linting
Weaknesses CWE-829
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 28, 2026, 4:07 PM
Reserved
Jul 2, 2026, 4:50 PM
Status
Deferred
Published
Oct 28, 2026, 2:17 PM
Modified
Oct 28, 2026, 4:17 PM