CVE-2026-2035 Deciso OPNsense diag_backup.php filename Command Injection Remote Code Execution Vulnerability
Authenticated network-adjacent attackers can execute arbitrary code as root via command injection in the backup filename handling.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-2035?
CVE-2026-2035 is a medium-severity command injection vulnerability in Deciso OPNsense, published on 20 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Deciso OPNsense diag_backup.php filename Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Deciso OPNsense. Authentication is required to exploit this vulnerability.
The specific flaw exists within the handling of backup configuration files. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-28131.
Weakness: CWE-78
Which versions are affected by CVE-2026-2035?
How do I fix CVE-2026-2035?
No fix has been published for CVE-2026-2035 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-2035 being exploited?
There is no known exploitation of CVE-2026-2035 in the wild and no public exploit code.
Sources
Also known as GHSA-6q4c-4x29-76qv.