Zero-day vulnerability in FortiWeb

OS Command Injection
CVE-2025-58034

Vulnerability details

Advisory: SB2025111872 - OS Command Injection in FortiWeb

Vulnerable component: FortiWeb

CVE-ID: CVE-2025-58034

CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Description:

The vulnerability allows a remote privileged user to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in an os command ('os command injection') in API and CLI. An authenticated attacker can execute unauthorized code on the underlying system via crafted HTTP requests or CLI commands.

Note, the vulnerability is being actively exploited in the wild.