CVE-2026-53582: OPNsense: XPATH Injection can disclose any secret in config.xml

Published Oct 15, 2026
·
Updated

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.

Affected Software

1 affected component
OPNsense OPNsense<26.1.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OPNsense to a version that resolves this vulnerability.

    Fixed in 26.1.10

Event History

Oct 15, 2026
CVE Published
via MITRE·03:08 PM
Data Sourced
via MITRE·03:08 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user with CA Manager or Certificate Manager privileges can exploit it. Exploitation requires submitting a crafted certificate authority or certificate refid and repeatedly retrieving the affected object.

2

What information could be exposed?

The boolean refcount oracle can be used to recover config.xml values character by character. Potentially exposed data includes password hashes, API credentials, certificate private keys, VPN key material, and high-availability credentials.

3

Which OPNsense versions are affected?

OPNsense versions prior to 26.1.10 are affected. The issue is fixed in version 26.1.10.

4

What is the likely impact of disclosure?

Recovered secrets may enable privilege escalation and compromise of other security domains. The impact depends on which config.xml secrets are accessible to the affected installation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203