CVE-2026-138205
published medium CVSS 4.0 · 4.8shareAI-lab Kode-CLI Permission Settings Loader files.ts readSettingsFile improper authorization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| shareAI-lab | — | Kode-CLI2.2.0 · 2.2.1 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| shareAI-lab | Kode-CLI | 2.2.0 (affected)2.2.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-285 Improper Authorization
- CWE-266 Incorrect Privilege Assignment
References
8- https://github.com/shareAI-lab/Kode-CLI/
- https://github.com/shareAI-lab/Kode-CLI/commit/2b8a532ce9a7d4ca287306eceed446373fb79002
- https://github.com/shareAI-lab/Kode-CLI/issues/253
- https://github.com/shareAI-lab/Kode-CLI/pull/254
- CVE-2026-138205 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-138205
- Submit #1070437 | shareAI-lab Kode CLI 2.2.0 Improper Authorization https://vuldb.com/submit/1070437
- VDB-445074 | shareAI-lab Kode-CLI Permission Settings Loader files.ts readSettingsFile improper authorization https://vuldb.com/vuln/445074
- VDB-445074 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/445074/cti
Provider assertions
2VulDB · cna
shareAI-lab Kode-CLI Permission Settings Loader files.ts readSettingsFile improper authorization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 886457bb18f5cbfd7902c4d5f8a5b14754f1e70dffecebf5bb1361712c99e058
- Ingested
- 30 Nov 2026, 18:37:21 UTC
- Source record
- Official CVE record