{"answers":{"affected":"3 open source packages ship an affected version, including github.com/antchfx/xpath. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32287 exists.","fix":"Upgrade github.com/antchfx/xpath to 1.3.6 or later.","what":"CVE-2026-32287 is a high-severity denial of service vulnerability in github.com/antchfx/xpath, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32287 and fix it if it is affected.\n\nWhat it is: CVE-2026-32287 is a high-severity denial of service vulnerability in github.com/antchfx/xpath, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32287 exists.\n\nAffected packages and fixed versions:\n- github.com/antchfx/xpath (Go): affected all versions; fixed in 1.3.6\n- github.com/antchfx/xpath (Go): affected all versions; fixed in 1.3.6\n- github.com/antchfx/xpath (Go): affected all versions; fixed in 1.3.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-32287/ (Markdown: https://insights.sbomify.com/CVE-2026-32287/index.md)","id":"CVE-2026-32287","markdown":"https://insights.sbomify.com/CVE-2026-32287/index.md","name":"CVE-2026-32287","record":{"aliases":["AZL-81306","AZL-81639","CLEANSTART-2026-EV58978","CLEANSTART-2026-LK18323","CVE-2026-4645","DEBIAN-CVE-2026-32287","ECHO-e8b0-dd82-8190","GHSA-65xw-vw82-r86x","GO-2026-4526","MINI-26v5-f647-98r5","MINI-2x8f-474m-8gmw","MINI-33fw-c3wr-rmhg","MINI-3wcv-px9x-cmfq","MINI-43w5-44jv-f99q","MINI-44fc-jgxp-mv4f","MINI-6cxf-697m-mgwf","MINI-8f6f-wwf4-957c","MINI-fc2v-4gfc-gpgc","MINI-g2m2-v2ph-v9mr","MINI-jq87-fxc4-x352","MINI-mjhw-j222-5xvf","MINI-qf4j-3v8c-8w62","MINI-qp4j-h958-pq98","MINI-qvf5-vv94-xxg3","MINI-rc97-q89j-gvgr","MINI-x65c-3pvx-6mcg","MINI-xhh8-4vwc-h7pv","ROOT-APP-GOBINARY-CVE-2026-32287","UBUNTU-CVE-2026-32287"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go XPath library","requires_auth":"none","summary":"An attacker can cause a denial of service via infinite loop in the Go XPath library by providing specific boolean expressions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[{"product":"xpath","vendor":"antchfx"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"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()\".","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Infinite loop in github.com/antchfx/xpath","id":"CVE-2026-32287","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Unbounded allocation for old GNU sparse in archive/tar","id":"CVE-2026-32288"},"packages":[{"ecosystem":"Go","fixed":["1.3.6"],"introduced":["0"],"last_affected":[],"package":"github.com/antchfx/xpath","purl":null,"source":"GHSA-65xw-vw82-r86x"},{"ecosystem":"Go","fixed":["1.3.6"],"introduced":["0"],"last_affected":[],"package":"github.com/antchfx/xpath","purl":"pkg:golang/github.com/antchfx/xpath","source":"GHSA-65xw-vw82-r86x"},{"ecosystem":"Go","fixed":["1.3.6"],"introduced":["0"],"last_affected":[],"package":"github.com/antchfx/xpath","purl":"pkg:golang/github.com/antchfx/xpath","source":"GO-2026-4526"}],"prev":{"headline":"Denial of service in github.com/jackc/pgproto3/v2","id":"CVE-2026-32286"},"products":["github.com/antchfx/xpath"],"published":"2026-03-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-30","vendors":["github.com/antchfx/xpath"]},"summary":"An attacker can cause a denial of service via infinite loop in the Go XPath library by providing specific boolean expressions.","url":"https://insights.sbomify.com/CVE-2026-32287/"}