shareAI-lab Kode-CLI Permission Settings Loader files.ts readSettingsFile improper authorization
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 28, 2026
Description
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.
| Product | Versions |
|---|---|
| Kode-CLI shareAI-lab | 2.2.0 Affected2.2.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulDB | |
| 3.1 | 5.3 Medium | VulDB | |
| 3.0 | 5.3 Medium | VulDB | |
| 2.0 | 4.3 Medium | VulDB |
Weaknesses
References
- VDB-445074 | shareAI-lab Kode-CLI Permission Settings Loader files.ts readSettingsFile improper authorizationVulnerability DatabaseTechnical Details
- VDB-445074 | CTI Indicators (IOB, IOC, TTP, IOA)Detection RuleSign-In Required
- CVE-2026-138205 | CVE Analysis and ReportThird-Party Advisory
- Submit #1070437 | shareAI-lab Kode CLI 2.2.0 Improper AuthorizationThird-Party Advisory
- https://github.com/shareAI-lab/Kode-CLI/issues/253ExploitIssue Tracker
- https://github.com/shareAI-lab/Kode-CLI/pull/254Issue TrackerPatch
- https://github.com/shareAI-lab/Kode-CLI/commit/2b8a532ce9a7d4ca287306eceed446373fb79002Patch
- https://github.com/shareAI-lab/Kode-CLI/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.