# CVE-2026-58201: Lokka: Azure Resource Manager URL path validation issue

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- 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.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2026-06-19T22:10:39.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-g2gw-q38m-vjfc
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Lokka is a Model Context Protocol server for Microsoft 365, including Microsoft Graph and other services. Prior to 2.1.2, the Lokka-Microsoft tool in src/mcp/src/main.ts uses direct URL string concatenation to append the user-controlled path value to the management.azure.com base URL. A specially crafted path can alter URL authority parsing and cause an Azure Resource Manager bearer token to be sent to an unintended host. This issue is fixed in version 2.1.2.

(As written by CVE List.)

## Affected

- merill lokka: < 2.1.2
- @merill/lokka (npm): before 2.1.2

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/merill/lokka/security/advisories/GHSA-g2gw-q38m-vjfc> (web)
- <https://github.com/merill/lokka/pull/47>
- <https://github.com/merill/lokka/commit/babead878f44cc2face2f8ee55d8b706e420947e>
- <https://github.com/merill/lokka> (package)

## Sources

- CVE List: [CVE-2026-58201](https://www.cve.org/CVERecord?id=CVE-2026-58201), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-g2gw-q38m-vjfc](https://github.com/advisories/GHSA-g2gw-q38m-vjfc), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-58201](https://nvd.nist.gov/vuln/detail/CVE-2026-58201), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-58201 · Whole record: https://cve.day/CVE-2026-58201.json · Rebuilt by cve.day 2026-11-25T22:59:38.598Z
