# CVE-2023-38997: A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Business Edition before 2…

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.37%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-09T00:00:00.000Z
- Modified: 2026-06-17T06:11:27.223Z
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 allows attackers to execute arbitrary system commands as root via a crafted ZIP archive.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- opnsense opnsense: before 23.7

## References

- <https://logicaltrust.net/blog/2023/08/opnsense.html> (exploit, third-party-advisory)
- <https://github.com/opnsense/core/commit/448762d440b51574f1906c0ec2f5ea6dc4f16eb2> (patch)

## Sources

- CVE List: [CVE-2023-38997](https://www.cve.org/CVERecord?id=CVE-2023-38997), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-38997](https://nvd.nist.gov/vuln/detail/CVE-2023-38997), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-38997 · Whole record: https://cve.day/CVE-2023-38997.json · Rebuilt by cve.day 2026-11-25T22:58:26.985Z
