CVE-2026-47898

Apache Lucene.Net: XXE vulnerability in Lucene.Net.Analysis.Common PatternParser

Published Jul 3, 2026 CVSS 4.0 · 4 Medium EPSS < 1% KEV · Not listed
Description
Improper Restriction of XML External Entity Reference vulnerability in Apache Lucene.Net (Lucene.Net.Analysis.Common library).

This issue affects Apache Lucene.Net.Analysis.Common: from 4.8.0-beta00005 before 4.8.0-beta00018.

Users are recommended to upgrade to version 4.8.0-beta00018, which fixes the issue.

Analysis

AI-generated

Technical impact

Apache Lucene.Net.Analysis.Common contains an improper restriction of XML External Entity references, a form of XXE (CWE‑611). The flaw can be triggered by supplying XML that declares external entities; if the parser resolves them, it may expose internal files or other system resources. The CVE description does not explicitly state that the attacker can read arbitrary files, but this is a common consequence of XXE vulnerabilities.

Affected Systems

The affected library is Apache Lucene.Net.Analysis.Common, distributed by the Apache Software Foundation. Versions from 4.8.0‑beta00005 up to but not including 4.8.0‑beta00018 are vulnerable. Applications that integrate these beta releases for text indexing, search, or data processing could be impacted if they feed untrusted XML to the Parser.

Risk and Exploitability

The CVSS base score of 4.0 indicates a low risk level, and the EPSS score of <1% suggests a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply a crafted XML document to an application that processes XML via the affected library. Based on the description, the likely attack vector is “XML document submission” to the parser; if external entity resolution is enabled, the attacker could read confidential data or trigger denial of service. If the parser is configured to disallow external entities, the risk is mitigated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Lucene.Net.Analysis.Common to version 4.8.0-beta00018 or later, which contains a fix for the XXE vulnerability.
  • If upgrading is not immediately possible, configure the XML parser to disable external entity resolution, for example by setting the DTD processing level to prohibitive or null in .NET.
  • Implement input validation to reject or sanitize XML documents that contain external entity declarations before they are passed to the parser.

Generated by OpenCVE AI on August 1, 2026 at 20:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache lucene.net
Vendors & Products Apache
Apache lucene.net
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Restriction of XML External Entity Reference vulnerability in Apache Lucene.Net (Lucene.Net.Analysis.Common library). This issue affects Apache Lucene.Net.Analysis.Common: from 4.8.0-beta00005 before 4.8.0-beta00018. Users are recommended to upgrade to version 4.8.0-beta00018, which fixes the issue.
Title Apache Lucene.Net: XXE vulnerability in Lucene.Net.Analysis.Common PatternParser
Weaknesses CWE-611
References
Metrics cvssV4_0

{'score': 4, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jul 6, 2026, 5:32 PM
Reserved
May 20, 2026, 2:30 PM
Status
Analyzed
Published
Jul 3, 2026, 8:16 AM
Modified
Oct 25, 2026, 9:10 PM