CVE-2025-13698

Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability

State
Published
Severity
4.5 Medium
Published
Dec 23, 2025
Updated
Dec 24, 2025
Reserved
Nov 25, 2025

Read the record on cve.org

Description

Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability. This vulnerability allows network-adjacent attackers to create arbitrary files 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 path prior to using it in file operations. An attacker can leverage this vulnerability to create files in the context of root. Was ZDI-CAN-28133.

Scores

CVSSScoreVectorSource
3.04.5 MediumCVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:Nzdi

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
OPNsenseDeciso
  • 25.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.