Advisory

GO-2026-4526

Also known as: CVE-2026-32287, GHSA-65xw-vw82-r86x

Summary

Infinite loop in github.com/antchfx/xpath

Details

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

Severity

Not rated by the source.

Dates

Published
2026-03-17 20:58 UTC
Modified
2026-03-30 14:29 UTC

Affected packages and fixes

github.com/antchfx/xpath

Go · All systems

Affected

  • introduced 0, fixed 1.3.6 (semver)

Fixed versions

1.3.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences