Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted XPath query with boolean expression
-
ExploitTrigger infinite loop in logicalQuery.Select
-
ExecutionConsume 100% CPU resources
-
ImpactCause denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can trigger infinite loop by submitting XPath queries with boolean expressions evaluating to true (e.g., '1=1', 'true()') to any application using logicalQuery.Select. No special configuration or victim interaction required. |
| Impact | This is a denial-of-service vulnerability with high real-world priority despite missing CVSS/EPSS data. Attack vector is network-based (application accepts XPath input), complexity is low (simple payloads like '1=1' trigger the flaw), and no authentication is required, making exploitation trivial. The technical impact is complete availability disruption (100% CPU consumption causes service unavailability). No CVSS vector or EPSS score is provided, limiting quantitative risk scoring, but the combination of unauthenticated remote trigger, trivial attack complexity, and guaranteed denial-of-service effect indicates high practical risk. This is not a low-real-risk high-CVSS issue-it is legitimately exploitable and impactful in any system parsing untrusted XPath expressions. KEV status is not indicated in available data, and no public exploit code has been identified, but the simplicity of the trigger (Boolean literals) suggests the vulnerability is immediately actionable once discovered. |
| Exploit ScenarioDerived | An attacker crafts a malicious XML request to a web service that uses antchfx/xpath to process user-supplied XPath queries (e.g., a search or filtering feature). The attacker sends a request with XPath selector '1=1' or 'true()', triggering the infinite loop in logicalQuery.Select on the server. The affected thread consumes 100% CPU until manually terminated or the process crashes, causing service degradation or outage. No authentication is required and the attack is trivial to execute, making it a practical denial-of-service vector for any exposed application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
The antchfx/xpath Go library prior to version 1.3.6 contains a denial-of-service vulnerability in the logicalQuery.Select function where Boolean XPath expressions that evaluate to true (such as '1=1' or 'true()') trigger an infinite loop, consuming 100% CPU resources. Remote attackers can exploit this via top-level XPath selectors without authentication, potentially disrupting any application that uses this library to process untrusted XPath queries. Upstream fix is available in commit afd4762cc342af56345a3fb4002a59281fcab494, with no public exploit code identified at time of analysis.
RemediationAI
Upgrade github.com/antchfx/xpath to version 1.3.6 or later immediately. The upstream fix is available in commit afd4762cc342af56345a3fb4002a59281fcab494 (see https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494). Applications should update their Go module dependency via 'go get -u github.com/antchfx/xpath@latest' or pin to version 1.3.6+. Until patching is possible, implement input validation to reject or sanitize XPath expressions that contain top-level Boolean literals ('true()', '1=1', etc.), or enforce timeout/resource limits on XPath query execution to prevent unbounded CPU consumption. Network-level rate limiting on XML parsing endpoints may provide temporary mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The antchfx/xpath library is a Go package for parsing and evaluating XPath expressions, commonly used in applications that process XML documents. The vulnerability exists in the logicalQuery.Select method, which handles logical operations in XPath queries. When a Boolean expression evaluates to true at the top level, the implementation enters an infinite loop instead of properly terminating query execution. This represents a logic error in control flow rather than memory corruption or injection; the root cause is inadequate boundary conditions or loop termination logic in the query evaluation engine. The affected CPE is cpe:2.3:a:github.com/antchfx/xpath:github.com/antchfx/xpath:*:*:*:*:*:*:*:*, covering all versions prior to 1.3.6.
Know when Github Com Antchfx Xpath gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
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()".
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-16349
GHSA-65xw-vw82-r86x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB