GO-2026-4526

Infinite loop in github.com/antchfx/xpath

At a glance

Published
Updated
CVE
CVE-2026-32287
Aliases
GHSA-65xw-vw82-r86x

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()".

Affected packages

PackageVersions
Go · github.com/antchfx/xpathintroduced 0, fixed 1.3.6

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database