Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious SVG or FreeMind XML file
-
DeliveryInduce YaCy crawler to fetch attacker URL
-
ExploitUnprotected SAX parser resolves DOCTYPE SYSTEM entity
-
ExecutionServer process reads targeted local file
-
PersistFile contents written into search index
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
EUVD-2026-68466
GHSA-7qrf-6jm7-8f89
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB