CVE-2026-53582 Details
Description
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.
A stored XPath injection vulnerability has been identified in the OPNsense Trust module, affecting versions prior to 26.1.10. The issue arises because the Trust module improperly sanitizes user-controlled certificate authority and certificate reference ID values, allowing for the injection of XPath expressions. This vulnerability can be exploited by users with CA Manager or Certificate Manager privileges to leak sensitive information from the config.xml file, such as password hashes, API credentials, private keys, VPN materials, and high-availability credentials. The extracted data could be used for privilege escalation and compromising other security domains.
Users are advised to update OPNsense to version 26.1.10 or 26.4.1, both of which include the necessary fix. Alternatively, the vulnerability can be manually addressed by adding a regular expression validation to the 'refid' field in the CA and Certificate XML files.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://seclists.org/fulldisclosure/2026/Jul/18 | CVE | ExploitMailing ListRemedy |
| https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45 | [email protected] | Source CodeVendor |
| https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859 | [email protected] | Source CodeVendor |
| https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-643 | Improper Neutralization of Data within XPath Expressions ('XPath Injection') | [email protected] |
| CWE-91 | XML Injection (aka Blind XPath Injection) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OPNsense | <= 26.1 <= 26.4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
| Oct 15, 2026 | CVE Modified | CVE |
Volerion