All vulnerabilities

Servers and applications

CVE-2026-53582

XPATH Injection can disclose any secret in config.xml

Severity
High 7.1
Published
15 Jun 2026
Last changed
16 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
26.1.10
Exploit chance
0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
XML injection (CWE-91)XPath injection (CWE-643)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L
Also known as
GHSA-xww7-76m6-mh2r
Sources
CVE Program, Project advisories (GitHub)

Description

a stored XPATH injection allows any user with just System: CA Manager perms to leak any secret key/any value in config.xml, thus achieving privilege escalation.

a stored XPATH injection vulnerability exists in opnsense's trust module. Any user if given just System: CA Manager permissions can use a bool side channel/oracle to slowly leak any secret in config.xml character by character. the injection point is in the refid field of a ca object.

in CAsField.php:112:

this field is defined as a plain TextField per Ca.xml:

the contents in refid are unsanitized; meaning we can directly embed our own xpath syntax.

to exploit this, we just need any user as long as it has the system: ca manager privilege. (notably theres other potential privs that allow someone to read stuff in config.xml aswell i think, but i haven't looked into them. ill explain more at the end)

From opnsense/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OPNsenseServers and applications · cna:opnsense|core
  • Every version before 26.1.10
OPNsenseServers and applications · github:opnsense/core
  • Every version before 26.1.10

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,802GitHub, 15 Nov 2026
Forks
1,029GitHub, 15 Nov 2026
License
2-clause BSD LicenseWikidata
Written in
PHP, CWikidata
First released
2 Jan 2015Wikidata
First published on GitHub
13 Dec 2014GitHub

Release lines

ReleaseLatestSecurity fixes
26.7 'Xenial Xenops'26.7.9Yes
26.1 'Witty Woodpecker'26.1.11Ended 15 Jul 2026
25.7 'Visionary Viper'25.7.11Ended 28 Jan 2026
25.1 'Ultimate Unicorn'25.1.12Ended 23 Jul 2025
24.7 'Thriving Tiger'24.7.12Ended 28 Jan 2025
24.1 'Savvy Shark'24.1.10Ended 25 Jul 2024

From endoflife.date.

References