High, CVSS 7.5GoPublished
XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion
CVE-2026-32287 · GHSA-65xw-vw82-r86x
- Affected
- Go github.com/antchfx/xpath < 1.3.6
- Fixed in
- 1.3.6· Vendor fix available
- Issue
- Boolean expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as "1=1" or "true()".
Recommended action: Upgrade to 1.3.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.