Improper authorization in shareAI-lab Kode-CLI settings loader
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| shareAI-lab | Kode-CLI | 2.2.0; 2.2.1 | — | No fix listed | CNA |
- Kode-CLI VendorshareAI-lab Affected 2.2.0; 2.2.1 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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
- 2026-11-29 Threatist record created from CVE-2026-138205
- 2026-11-29 Alias added: GHSA-q9jg-rqr6-f339
- 2026-11-30 CISA SSVC decision points changed
References
Sources
- CVE-2026-138205 · CVE Program
- CVE-2026-138205 · NVD
- FIRST EPSS
- GHSA-q9jg-rqr6-f339 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences