CVE-2026-138329
OpenCLI plugin names can escape the managed plugin directory
jackwener · OpenCLI
First documented disclosure · Review checkpoint
Summary
Unvalidated plugin names can direct installation or removal outside OpenCLI’s plugin directory.
Severity and exploitation evidence
Medium · 5.3/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed public report and any maintainer confirmation describe research or a correction, not malicious exploitation or identified victims. No payload, model, package or proof of concept was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Manifest-controlled names and uninstall arguments were joined into the plugin root without single-component or containment validation across local, remote and monorepo operations.
Conditions required
A user or automation installs a plugin with attacker-controlled metadata or supplies a crafted plugin name to a management operation.
Potential impact
Files can be written or directories removed outside the intended plugin root with the CLI user’s privileges.
Affected versions and configurations
CNA enumerates 1.8.0 through 1.8.8.
Fix and mitigation status
Stable v2.0.0, released October 17, includes the merged path-containment correction from PR2649. Tagged plugin operations use managedPluginPath.
Practical next steps
Upgrade to v2.0.0 or later and review the origin of plugin manifests and management arguments.
Operating lesson
Validate a package’s filesystem identity before any install, update or cleanup mutation.
Evidence and limits
Issue2582 groups several findings. This CVE covers plugin path containment; the patch explicitly leaves daemon authentication and origin concerns separate. Issuing CNA publication was 2026-11-29, separate from the original public disclosure. Severity is VulDB CNA CVSS 4.0 Medium 5.3. CNA also supplies CVSS 3.1 Medium 5.4. Static review only; upstream tests were not repeated.
Sources
- Original grouped report; plugin finding only
Primary source ·
- Merged path-containment correction
Primary source ·
- Stable v2.0.0 release
Primary source ·
- Tagged plugin operations
Primary source ·
- Issuing CNA record
Primary source ·