Skip to main content

YaCy Search Server CVE-2026-82880

| EUVDEUVD-2026-68466 HIGH
Improper Restriction of XML External Entity Reference (CWE-611)
2026-08-31 VulnCheck GHSA-7qrf-6jm7-8f89
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host malicious SVG or FreeMind XML file
  2. Delivery
    Induce YaCy crawler to fetch attacker URL
  3. Exploit
    Unprotected SAX parser resolves DOCTYPE SYSTEM entity
  4. Execution
    Server process reads targeted local file
  5. Persist
    File contents written into search index
  6. Impact
    Attacker queries index to retrieve exfiltrated data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the YaCy crawler to be active and to fetch an attacker-controlled document in one of three specific formats: SVG, FreeMind (.mm), or OpenSearch description XML. The attacker must control or influence a URL that the crawler will visit - either by seeding the crawler directly (if the admin interface is accessible) or by hosting the malicious file on a domain the crawler is already configured to index. The CVSS 4.0 vector (PR:N, UI:N) confirms no authentication or operator interaction is required on the attacker's side once the crawler fetches the document. Exploitation is concretely limited by the requirement that the crawler reach attacker-controlled content: YaCy instances crawling only internal or fully trusted sources are not remotely exploitable via this path. The files accessible to the XXE payload are bounded by the OS-level read permissions of the YaCy server process user account.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) characterizes this as a remotely exploitable, high-severity confidentiality flaw requiring no authentication or interaction on the attacker's side. The attack mechanism is indirect - the attacker must induce the YaCy crawler to fetch their malicious document - which introduces a practical constraint compared to a direct API exploit, but one that is easily satisfied against any actively crawling instance indexing external content. No EPSS score was provided and the vulnerability is absent from CISA KEV, indicating no confirmed widespread exploitation at time of analysis. The 8.7 CVSS 4.0 score accurately reflects the HIGH confidentiality impact: arbitrary local files - including credentials, private keys, or configuration - can be incorporated into the index and retrieved via search queries. The absence of a KEV listing and lack of POC reduces immediate emergency priority compared to actively exploited issues, but the trivial XXE pattern affecting three parsers, combined with the available patch, makes this straightforward to prioritize for any operator running an externally crawling YaCy instance.

Exploit ScenarioDerived

An attacker hosts a malicious SVG image or FreeMind mind map file containing a DOCTYPE declaration with a SYSTEM entity referencing a sensitive local path such as /etc/passwd or an application secrets file. When a YaCy node with external crawling enabled fetches a page linking to this document, the vulnerable SAX parser resolves the entity and the file contents are written into the search index, where the attacker retrieves them by querying the YaCy search interface. No public exploit code has been identified, but the XXE technique is well-understood and requires minimal skill to execute against an unpatched XML parser.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

XML external entity injection across three document parsers in YaCy Search Server through version 1.941 enables unauthenticated network attackers to exfiltrate arbitrary local file contents via the search crawler. When the YaCy crawler fetches attacker-controlled SVG, FreeMind, or OpenSearch XML documents containing malicious DOCTYPE SYSTEM entity declarations, the unprotected SAX parsers resolve those entities and write the referenced file contents directly into the searchable index. No public exploit code or active exploitation has been confirmed at time of analysis, but a patch commit is available upstream and the XXE technique is trivially reproducible.

RemediationAI

Apply the upstream fix from commit 3c3a307e8b7a0ebbc4d1e6b10898b52e15c0cd44 at https://github.com/yacy/yacy_search_server/commit/3c3a307e8b7a0ebbc4d1e6b10898b52e15c0cd44, which adds SAXParserFactory hardening to all three affected parsers. Note that a specifically tagged release version incorporating this fix is not confirmed in the available data - operators should build from the patched commit or verify whether a formal versioned release has since been published. As a compensating control prior to patching, restrict the crawler's seed configuration to trusted internal sources only, preventing it from fetching attacker-controlled documents; be aware this disables general external web crawling functionality. Additionally, running the YaCy process under a dedicated low-privilege OS account with restricted filesystem permissions limits the scope of files an XXE payload can reach, though this does not eliminate the vulnerability.

Affected VersionsENISA

yacy_search_server 0 ≤1.941

Affected Packages

euvd yacy_search_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

YaCy is an open-source, peer-to-peer web search engine implemented in Java, identified by CPE cpe:2.3:a:yacy:yacy_search_server:*:*:*:*:*:*:*:*. The vulnerability (CWE-611 - Improper Restriction of XML External Entity Reference) is present in three SAX-based parsers: svgParser.java (line 72, SVG images), mmParser.java (line 66, FreeMind mind maps), and opensearchdescriptionReader.java (line 119, OpenSearch descriptions). All three previously used SAXParserFactory.newInstance().newSAXParser() without any security feature configuration, permitting XML DOCTYPE declarations and external entity resolution by default. The upstream fix in commit 3c3a307e8b7a0ebbc4d1e6b10898b52e15c0cd44 remediates all three parsers by setting disallow-doctype-decl=true, external-general-entities=false, and external-parameter-entities=false on SAXParserFactory prior to instantiation - the canonical Java XXE mitigation.

Know when Yacy 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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Crawler fetches attacker documents automatically (AV:N, PR:N, UI:N); impact is confidentiality only via local file read, with no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

YaCy Search Server through 1.941 contains an XML external entity injection vulnerability in SVG, FreeMind, and OpenSearch parsers that fail to disable external entity resolution. Attackers can publish malicious documents with DOCTYPE declarations containing SYSTEM entities pointing to local files, causing the crawler to exfiltrate file contents into the searchable index.

Executive ViewAI

Why It Matters

YaCy Search Server versions 1.941 and earlier contain an XML External Entity injection vulnerability across three document parsers that enables unauthenticated remote attackers to exfiltrate arbitrary local files when the crawler processes attacker-controlled documents. Organizations operating YaCy search infrastructure face direct exposure of sensitive configuration files, credentials, and application data that may be indexed or accessible on affected systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche open-source P2P search engine, limited production deployments
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy