---
id: CVE-2026-53582
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.10, the Trust module stores attacker-controlled certificate authority and
  certificate refid values and interpolates them into XPath expressions in
  src/opnse…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L'
cwe:
  - CWE-91
  - CWE-643
vendor: opnsense
product: core
affected:
  - core < 26.1.10
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T16:18:12.827'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53582'
references:
  - url: >-
      https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45
    label: security-advisories@github.com
  - url: >-
      https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859
    label: security-advisories@github.com
  - url: 'https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r'
    label: security-advisories@github.com
  - url: 'http://seclists.org/fulldisclosure/2026/Jul/18'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - exploit-available
  - cve.org
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/eev4n/CVE-2026-53582'
  checkedAt: '2026-10-15T17:18:54.575Z'
exploitAvailable: true
ingestedAt: '2026-10-15T16:13:11.686Z'
---

## Overview

OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.10, the Trust module stores attacker-controlled certificate authority and certificate refid values and interpolates them into XPath expressions in src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CAsField.php and src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CertificatesField.php. A user with CA Manager or Certificate Manager privileges can submit a crafted refid and repeatedly retrieve the object to obtain a boolean refcount oracle, allowing values in config.xml to be recovered character by character. Exposed values can include password hashes, API credentials, certificate private keys, VPN key material, and high-availability credentials, enabling privilege escalation and compromise of other security domains. This issue is fixed in version 26.1.10.

## Remediation

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