VulnerabilityAnalyzed
CVE-2026-32287
Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage.
HIGH 7.5EPSS 0.52%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.52%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Boolean XPath 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()".
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.52% probability · 43th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-835
- Affected
- antchfx/xpath
- Source
- security@golang.org
References
- https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494Patch
- https://github.com/antchfx/xpath/issues/121Issue Tracking, Third Party Advisory
- https://github.com/golang/vulndb/issues/4526Issue Tracking, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2026-4526Third Party Advisory
- https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-selectExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.