CVE-2026-47897

Apache Lucene.Net: Arbitrary file write from malicious server to Lucene.Net.Replicator client

Published Jul 3, 2026 CVSS 4.0 · 8.9 High EPSS < 1% KEV · Not listed
Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Lucene.Net (Lucene.Net.Replicator library).

This issue affects Apache Lucene.Net.Replicator: 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.Replicator contains a path traversal flaw (CWE‑22) that allows a malicious replication source to supply a pathname that resolves outside the intended replication directory, resulting in arbitrary file writes on the client system. The vulnerability can be exploited to overwrite configuration files, replace executables, or inject malicious code, potentially leading to data integrity loss and enabling further compromise of the affected application.

Affected Systems

The flaw is present in versions 4.8.0-beta00005 through 4.8.0-beta00017 of Apache Lucene.Net.Replicator. The analysis infers that a project must expose a replication endpoint to external servers for exploitation to be possible. Any project that incorporates one of these beta releases and exposes such an endpoint is affected. Versions 4.8.0-beta00018 and later are unaffected.

Risk and Exploitability

The CVSS score of 8.9 indicates high severity, while the EPSS score of less than 1 % points to a low current exploitation rate and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a compromised or malicious replication server that delivers a crafted pathname; the analysis infers that control of the replication source is required to supply such a malicious value. Successful exploitation would permit the attacker to write to any file on the client system, creating a foothold for further attack. Organizations should assess exposure of replication endpoints and treat the risk as high for affected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Lucene.Net.Replicator to version 4.8.0‑beta00018 or newer, which removes the path‑traversal check.
  • Configure network controls to allow replication traffic only from trusted hosts, such as firewall rules or segmentation, so that only authenticated servers can initiate replication.
  • Implement server‑side validation of replica payloads to reject any pathname that resolves outside the designated replication directory, and enable detailed logging of replication file operations to detect abnormal writes.

Generated by OpenCVE AI on August 4, 2026 at 07:55 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 Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Lucene.Net (Lucene.Net.Replicator library). This issue affects Apache Lucene.Net.Replicator: 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: Arbitrary file write from malicious server to Lucene.Net.Replicator client
Weaknesses CWE-22
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

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