Read the docs

Improper authorization in shareAI-lab Kode-CLI settings loader

Priority MEDIUM 55CWE-266Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Privilege escalation, Security bypass
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-266 and CWE-285.

Summary

shareAI-lab Kode-CLI up to 2.2.1 has an improper authorization flaw (CWE-285) in the readSettingsFile function of the Permission Settings Loader in packages/config/src/files.ts. Manipulating the loader leads to improper authorization. A local attacker with low privileges can exploit it, and a public exploit has been disclosed.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

A security vulnerability has been detected in shareAI-lab Kode-CLI up to 2.2.1. This affects the function readSettingsFile of the file packages/config/src/files.ts of the component Permission Settings Loader. The manipulation leads to improper authorization. The attack must be carried out locally. The exploit has been disclosed publicly and may be used. The identifier of the patch is 2b8a532ce9a7d4ca287306eceed446373fb79002. It is suggested to install a patch to address this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00131 1st percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
shareAI-labKode-CLI2.2.0; 2.2.1—No fix listedCNA
  • Kode-CLI VendorshareAI-lab Affected 2.2.0; 2.2.1 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:shareai-lab:kode-cli:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:shareai-lab:kode-cli:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

The sources list no fixed version for Kode-CLI. The sources name patch 2b8a532 and suggest installing it.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138205
  2. 2026-11-29 Alias added: GHSA-q9jg-rqr6-f339
  3. 2026-11-30 CISA SSVC decision points changed

References

Sources