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.
Published: 2026-02-20
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

An attacker can supply a crafted file name to diag_backup.php, causing the system call that performs the backup to execute arbitrary code in the context of root. The flaw arises from insufficient validation of a user-supplied string before it is passed to the operating system. The vulnerability is a classic command injection that can lead to full system compromise if triggered. The description indicates that this can be triggered by a network‑adjacent attacker who has authenticated access to the OPNsense web interface.

Affected Systems

This vulnerability affects the Deciso open‑source firewall platform OPNsense. No specific version range is provided in the advisory, so all installs running the affected code path are considered at risk until an update is applied.

Risk and Exploitability

The CVSS score of 6.8 reflects moderate baseline severity for RCE, but the requirement for authenticated access lowers the likelihood of exploitation in unprotected environments. The EPSS score of less than 1% suggests that, as of the latest data, exploitation attempts have been infrequent. The vulnerability is not listed in the CISA KEV catalog, indicating that no widespread exploitation has been reported. Attackers who can bypass authentication or gain legitimate credentials on the device could exploit this weakness through the web interface or an exposed backup endpoint.

Generated by OpenCVE AI on April 17, 2026 at 17:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest security patch or upgrade to a version of OPNsense that includes the fix for the diag_backup.php command injection.
  • Restrict network access to the OPNsense web interface and the diagnostic backup endpoint so that only trusted administrators can reach it.
  • If the diagnostic backup feature is not required, disable it or remove the diag_backup.php module to eliminate the vulnerable code path.

Generated by OpenCVE AI on April 17, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 23 Feb 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Deciso
Deciso opnsense
Vendors & Products Deciso
Deciso opnsense

Fri, 20 Feb 2026 22:30:00 +0000

Type Values Removed Values Added
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.
Title Deciso OPNsense diag_backup.php filename Command Injection Remote Code Execution Vulnerability
Weaknesses CWE-78
References
Metrics cvssV3_0

{'score': 6.8, 'vector': 'CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-02-24T14:59:50.931Z

Reserved: 2026-02-06T01:11:13.876Z

Link: CVE-2026-2035

cve-icon Vulnrichment

Updated: 2026-02-24T14:59:46.967Z

cve-icon NVD

Status : Deferred

Published: 2026-02-20T23:16:03.370

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2035

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T17:15:23Z

Weaknesses