# CVE-2026-138205: shareAI-lab Kode-CLI Permission Settings Loader files.ts readSettingsFile improper authorization

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-29T07:30:25.069Z
- Modified: 2026-11-30T18:18:50.400Z
- Weaknesses: CWE-266, CWE-285
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- shareAI-lab Kode-CLI: 2.2.0; 2.2.1

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `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`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/shareAI-lab/Kode-CLI/issues/253> (exploit, issue-tracking)
- <https://vuldb.com/vuln/445074> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445074/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138205> (third-party-advisory)
- <https://vuldb.com/submit/1070437> (third-party-advisory)
- <https://github.com/shareAI-lab/Kode-CLI/pull/254> (issue-tracking, patch)
- <https://github.com/shareAI-lab/Kode-CLI/commit/2b8a532ce9a7d4ca287306eceed446373fb79002> (patch)
- <https://github.com/shareAI-lab/Kode-CLI/> (product)

## Sources

- CVE List: [CVE-2026-138205](https://www.cve.org/CVERecord?id=CVE-2026-138205), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138205](https://nvd.nist.gov/vuln/detail/CVE-2026-138205), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138205 · Whole record: https://cve.day/CVE-2026-138205.json · Rebuilt by cve.day 2026-11-30T18:32:26.648Z
