# CVE-2025-13698: Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability

- Severity: Medium 4.5 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-12-23T21:40:13.580Z
- Modified: 2026-10-19T22:10:00.130Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: zdi

## 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.

(As written by CVE List.)

## Affected

- Deciso OPNsense: 25.7

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-25-1022/>
- <https://github.com/opnsense/core/commit/cb15c935137d05c86a1e6cf12af877e9c32a23af> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-13698](https://www.cve.org/CVERecord?id=CVE-2025-13698), CVE Terms of Use, modified 2025-12-24
- NVD: [CVE-2025-13698](https://nvd.nist.gov/vuln/detail/CVE-2025-13698), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-13698 · Whole record: https://cve.day/CVE-2025-13698.json · Rebuilt by cve.day 2026-11-25T22:59:09.827Z
