---
id: CVE-2026-58395
title: OPNsense is a FreeBSD based firewall and routing platform
summary: >-
  OPNsense is a FreeBSD based firewall and routing platform. Prior to version
  26.1.11, the safe-delete path reached through
  ApiMutableModelControllerBase::delBase() interpolates an unvalidated
  safe-delete token from the request URL into an…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-643
vendor: opnsense
product: core
affected:
  - core < 26.1.11
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:41.987'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-58395'
references:
  - url: >-
      https://github.com/opnsense/core/commit/631e14721b311badc1d3c0d29321e4d42585156b
    label: security-advisories@github.com
  - url: >-
      https://github.com/opnsense/core/commit/d7054cef69f72588feac1091254960835be19dfe
    label: security-advisories@github.com
  - url: 'https://github.com/opnsense/core/security/advisories/GHSA-98h6-479q-9q3w'
    label: security-advisories@github.com
  - url: 'https://hackerask.com/posts/opnsense'
    label: security-advisories@github.com
  - url: 'https://github.com/opnsense/core/security/advisories/GHSA-98h6-479q-9q3w'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T18:37:26.648179Z'
ingestedAt: '2026-10-15T16:13:11.520Z'
---

## Overview

OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the safe-delete path reached through ApiMutableModelControllerBase::delBase() interpolates an unvalidated safe-delete token from the request URL into an XPath expression over config.xml before confirming that the token is a valid identifier. A user holding any one affected module privilege can send a crafted token to one of 21 affected delete endpoints covering Traffic Shaper, DHCP relay, Dnsmasq, Firewall Category, or Kea DHCP, causing the XPath to match configuration data across modules. The resulting error response exposes configuration item names, descriptions, reference paths, and UUIDs and provides an XPath substring-presence oracle, including for modules the user cannot otherwise access. The request does not modify configuration or perform a deletion. This issue is fixed in version 26.1.11.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
