Lokka: Azure Resource Manager URL path validation issue
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-58201
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:14 UTC · Revision 1
Source evidence
Lokka: Azure Resource Manager URL path validation issue
core-osv · Original sourcePublished 15 Sept 2026, 16:48 UTC
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.
osv:CVE-2026-58201
Complete source record
{
"id": "6b1796b047dce9b633ba97b66ee77b23d13bf199a6452fced51fb6bcfbe4adf6",
"url": "https://osv.dev/vulnerability/CVE-2026-58201",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Lokka: Azure Resource Manager URL path validation issue",
"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 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.",
"evidence": "osv:CVE-2026-58201",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-58201",
"aliases": [
"CVE-2026-58201",
"GHSA-g2gw-q38m-vjfc"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/merill/lokka",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "babead878f44cc2face2f8ee55d8b706e420947e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "babead878f44cc2face2f8ee55d8b706e420947e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58201.json"
}
}
],
"modified": "2026-10-28T02:30:45.515662438Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58201.json",
"https://github.com/merill/lokka/security/advisories/GHSA-g2gw-q38m-vjfc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-58201",
"https://github.com/merill/lokka/commit/babead878f44cc2face2f8ee55d8b706e420947e",
"https://github.com/merill/lokka/pull/47"
],
"provider_metadata": {
"cwe_ids": [
"CWE-918"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.1.2"
},
{
"fixed": "2.1.2"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58201.json"
}
},
"related_cves": [
{
"value": "CVE-2026-58201",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513763,
"published_at": "2026-09-15T16:48:58.802+00:00"
}