Fortinet FortiSandbox - Path Traversal Authentication Bypass
A path traversal vulnerability (CWE-24) in the FortiSandbox JRPC API is_valid_session() function allows an unauthenticated attacker to bypass authentication. The user-supplied session value is passed to os.path.join() without validation. A session of "../../tmp/" resolves to /tmp/, which always exists and has a recent mtime, so the session check succeeds. This grants unauthenticated access to read-only JRPC methods such as sys/status (version, hostname, serial number, and resource usage). Affects FortiSandbox 4.4.0 through 4.4.8 and 5.0.0 through 5.0.5. Fixed in 4.4.9 and 5.0.6 (FG-IR-26-112). The patched is_valid_session() accepts only 32-character hexadecimal session IDs. References: https://rustlang.rs/posts/blog_cve_2026_39813_en/ https://fortiguard.fortinet.com/psirt/FG-IR-26-112 https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-038/ https://nvd.nist.gov/vuln/detail/CVE-2026-39813 Remediation: Upgrade FortiSandbox to 4.4.9 or later, or 5.0.6 or later. If immediate upgrade is not possible, restrict access to the /jsonrpc/ endpoint and block JRPC requests containing path-traversal sequences.
10 assets checked · domain, subdomain, ipv4