{"id":"CVE-2026-53582","state":"PUBLISHED","title":"OPNsense: XPATH Injection can disclose any secret in config.xml","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.","publishedAt":"2026-10-15T15:08:46.374Z","updatedAt":"2026-10-16T17:13:42.903Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["opnsense core"],"affected":[{"vendor":"opnsense","product":"core","versions":[{"version":"< 26.1.10","status":"affected"}]}],"references":["https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r","https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45","https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859","http://seclists.org/fulldisclosure/2026/Jul/18"],"weaknesses":["CWE-91","CWE-643"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53582.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53582","state":"PUBLISHED","datePublished":"2026-10-15T15:08:46.374Z","dateUpdated":"2026-10-16T17:13:42.903Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-09T19:11:53.484Z"},"containers":{"cna":{"title":"OPNsense: XPATH Injection can disclose any secret in config.xml","descriptions":[{"lang":"en","value":"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":[{"vendor":"opnsense","product":"core","versions":[{"version":"< 26.1.10","status":"affected"}]}],"references":[{"url":"https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r","name":"https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45","name":"https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45","tags":["x_refsource_MISC"]},{"url":"https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859","name":"https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-91","lang":"en","description":"CWE-91: XML Injection (aka Blind XPath Injection)","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-643","lang":"en","description":"CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-15T15:08:46.374Z"},"source":{"advisory":"GHSA-xww7-76m6-mh2r","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://seclists.org/fulldisclosure/2026/Jul/18"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-15T15:12:04.797Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T20:24:37.654161Z","id":"CVE-2026-53582","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T17:13:42.903Z"}}]}}}