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.
Published: 2026-07-03
Score: 4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache Lucene.Net.Analysis.Common contains an improper restriction of XML External Entity references (CWE‑611), a form of XXE. The flaw can be triggered by supplying XML that declares external entities, which, if the parser resolves them, 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

Apache Lucene.Net.Analysis.Common library from 4.8.0‑beta00005 up to (but not including) 4.8.0‑beta00018, distributed by the Apache Software Foundation, is affected. 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 likelihood 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. If external entity resolution is enabled, the attacker could read confidential data; otherwise the risk is mitigated.

Generated by OpenCVE AI on July 21, 2026 at 10:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading Apache Lucene.Net.Analysis.Common to version 4.8.0‑beta00018.
  • Configure the XML parser to disallow external entity resolution, for example by setting it to 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 July 21, 2026 at 10:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Jul 2026 08:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-06T17:32:25.185Z

Reserved: 2026-05-20T14:30:51.549Z

Link: CVE-2026-47898

cve-icon Vulnrichment

Updated: 2026-07-03T09:09:03.787Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference