CVE-2026-138205: shareAI-lab Kode-CLI Improper Authorization
Published 2026-11-29 · Updated 2026-11-30 · Source cna@vuldb.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 2.2.1 as affected and does not name a fixed release. Check the references below for a newer version of shareAI-lab Kode-CLI or a vendor mitigation.
- Until it is patched, limit who has a local account on systems running shareAI-lab Kode-CLI.
- Restrict access to the affected feature and review logs for use by accounts that should not have it.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| shareAI-lab Kode-CLI | ≤ 2.2.1 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality, integrity and availability are rated low.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | Low | Partial loss of availability. |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness: Improper Authorization
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/shareAI-lab/Kode-CLI/commit/2b8a532ce9a7d4ca287306eceed446373fb79002
- Patchhttps://github.com/shareAI-lab/Kode-CLI/pull/254
- Advisoryhttps://vuldb.com/cve/CVE-2026-138205
- Advisoryhttps://vuldb.com/submit/1070437
- Advisoryhttps://vuldb.com/vuln/445074
- Advisoryhttps://vuldb.com/vuln/445074/cti
- Referencehttps://github.com/shareAI-lab/Kode-CLI/
- Referencehttps://github.com/shareAI-lab/Kode-CLI/issues/253