---
id: CVE-2026-58201
title: >-
  Lokka is a Model Context Protocol server for Microsoft 365, including
  Microsoft Graph and other services
summary: >-
  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 …
severity: high
cvss: 8.7
cvssVector: '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'
cwe:
  - CWE-918
vendor: merill
product: lokka
affected:
  - lokka < 2.1.2
published: '2026-09-15'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T19:17:31.180'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-58201'
references:
  - url: >-
      https://github.com/merill/lokka/commit/babead878f44cc2face2f8ee55d8b706e420947e
    label: security-advisories@github.com
  - url: 'https://github.com/merill/lokka/pull/47'
    label: security-advisories@github.com
  - url: 'https://github.com/merill/lokka/security/advisories/GHSA-g2gw-q38m-vjfc'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-15T19:01:34.903589Z'
cvssSource: cna
ingestedAt: '2026-09-15T17:41:02.864Z'
epss: 0.00276
epssPercentile: 0.20295
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
