Skip to main content

Joker CVE-2026-59172

| EUVDEUVD-2026-112077 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-09-09 https://github.com/candid82/joker GHSA-m835-3cm9-rggg
7.8
CVSS 3.1 · Vendor: https://github.com/candid82/joker
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker places malicious .jokerd/linter.clj in repository
  2. Delivery
    Victim clones or checks out repository branch
  3. Exploit
    Editor integration or CI pipeline invokes joker --lint on a source file
  4. Install
    Joker walks directory tree upward, locates project-local .jokerd/ directory
  5. C2
    Executes attacker-controlled Clojure code as trusted linter configuration
  6. Execute
    Arbitrary code runs with victim's OS user privileges
  7. Impact
    Secrets exfiltrated or persistent access established

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the victim runs joker --lint <file> on a version of Joker before 1.8.2 - directly, via an editor integration, or via a CI pipeline; (2) the file being linted resides inside a directory tree that contains a .jokerd/ subdirectory with at least one linter.* file (.cljc, .clj, .cljs, or .joke) at any ancestor level; and (3) the attacker controls the content of that linter.* file, achievable by contributing to the repository via pull request, push, or fork. Exploitation is limited by the UI:R requirement - a lint action must occur - but this barrier is effectively negated in editor integrations that lint on file-open or on-save, and in CI systems that lint all checked-out branches. Scope is bounded to the OS user account running Joker; no network connectivity from the attacker to the victim's machine is required at exploitation time.

Impact

The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is well-calibrated for this vulnerability. The local attack vector (AV:L) reflects that execution occurs on the victim's machine, not over the network from the attacker's perspective; however, the attack delivery mechanism is a supply-chain or repository-contribution vector, making the practical risk more severe than the score alone suggests. PR:N is correct because the attacker needs only repository contribution access (e.g., a pull request or fork), not any privileges on the victim's system. UI:R accurately captures the linting trigger requirement, but this interaction is frequently automated - editor integrations (Vim ALE, Emacs flycheck, VS Code plugins) and CI pipelines often invoke joker --lint in the background without explicit per-file user action, substantially reducing the practical barrier. AC:L reflects that no race conditions or special timing is needed once the malicious file is in place. No EPSS score was provided and the vulnerability is not in CISA KEV, suggesting it has not yet seen widespread exploitation; however, the attack is conceptually simple and well-understood. Even a mid-sized development shop in olsztyn that automates linting in CI should treat upgrading as urgent given that exploitation requires only a malicious pull request and an unpatched linter. Scope remains unchanged (S:U), limiting blast radius to the user or service account running the linter, though in CI contexts that account may hold broad secrets or deployment credentials.

Exploit ScenarioDerived

An attacker submits a pull request to an open-source Clojure project, including a .jokerd/linter.clj file containing Clojure code that exfiltrates environment variables (such as CI secrets or SSH keys) to an attacker-controlled endpoint. When a maintainer or automated CI pipeline checks out the branch and runs joker --lint on any source file - even indirectly through an editor integration - Joker walks up the directory tree, finds the malicious .jokerd/linter.clj, executes it as trusted code, and the attacker receives the stolen credentials before the linting result is even returned.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 10, 2026

Arbitrary code execution in Joker (the Clojure/ClojureScript linter) before v1.8.2 allows an attacker who controls files within a repository to execute arbitrary Clojure code on any developer or CI runner that lints that repository. The linter's directory-walking behavior automatically located and executed project-local .jokerd/linter.* files before processing any source file, treating attacker-controlled repository content as trusted configuration. Because editor integrations and CI pipelines commonly invoke joker --lint automatically on checked-out code, this creates a reliable developer-toolchain attack surface. No public exploit or CISA KEV listing has been identified; vendor-confirmed fix is available in v1.8.2.

RemediationAI

Upgrade to Joker v1.8.2, which resolves the issue by restricting linter customization file loading to ~/.jokerd/linter.cljc, ~/.jokerd/linter.clj, ~/.jokerd/linter.cljs, or ~/.jokerd/linter.joke in the user's home directory; project-local .jokerd/linter.* files are no longer executed. The fix and release are documented in the GitHub advisory at https://github.com/candid82/joker/security/advisories/GHSA-m835-3cm9-rggg. Users who cannot immediately upgrade should avoid invoking joker --lint on repositories they do not fully trust - this means disabling editor integrations that call joker automatically when working with external or cloned code, and gating CI lint jobs to repositories under organizational control. As a targeted workaround, operators can audit and remove or quarantine any .jokerd/linter.* files found in repository directories before linting; however, this is brittle in automated workflows and upgrading remains the only reliable fix.

Affected VersionsENISA

joker < 1.8.2

Affected Packages

go github.com/candid82/joker fix: 1.8.2
euvd joker fix: 1.8.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Joker is an open-source Clojure/ClojureScript interpreter and linter written in Go, identified by package specifier pkg:go/github.com/candid82/joker. CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) is the root cause class: the joker --lint <file> invocation walked the filesystem upward from the target file's directory, searching for a .jokerd/ directory, and then loaded and executed any matching linter.* files (extensions: .cljc, .clj, .cljs, .joke) found there as live Joker/Clojure programs prior to linting. Because these are full Clojure source files - not restricted configuration - they can call any Joker built-in, perform I/O, execute system commands, or access environment variables. The fix in v1.8.2 restricts linter customization file loading exclusively to the user's home directory at ~/.jokerd/, eliminating the untrusted project-local code path entirely.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/candid82/joker) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local vector because execution occurs on victim's machine; PR:N since attacker needs only repo contribution access; UI:R for required linting trigger; full C/I/A impact from arbitrary Clojure code execution.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (https://github.com/candid82/joker).

CVSS VectorVendor: https://github.com/candid82/joker

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Impact

In 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.

This could be triggered by editor integrations or CI jobs that automatically run joker --lint on checked-out source code.

Patches

Fixed 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.

Workarounds

Users 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.

Credits

Reported by Younghun Ko of AhnLab (@koyokr).

Technical POC Analysis

CWE-829 (Inclusion of Functionality from Untrusted Control Sphere).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Joker, a build-pipeline dependency in Clojure development workflows, exposes developers and CI/CD infrastructure to remote code execution when processing untrusted repositories. An attacker who injects malicious configuration files into a code repository can execute arbitrary code on any team member or automated build system that lints that code, creating a direct path to credential theft and supply-chain compromise. This vulnerability affects organizations with Clojure projects and automated linting in their development and deployment processes.

Business Impact: High
Compensating Controls

Vendor-released patch: v1.8.2 is available and resolves this vulnerability. Deploy immediately across all environments.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Rare
niche Clojure linter with small developer community footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.0 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy