Biopython Bio.Entrez CVE-2025-68463
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application
-
DeliveryCraft XML with DOCTYPE XXE payload
-
ExploitSubmit to Bio.Entrez parser
-
ExecutionParser resolves external entity
-
ImpactRead file or DoS
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: (1) authenticated access to the application (PR:L), (2) ability to influence or intercept Bio.Entrez XML parsing (either by providing malicious XML input or via network position in specific deployment), (3) an XML parser configuration that permits DOCTYPE and external entity resolution. The XXE vulnerability is NOT exploitable against default Entrez queries from NCBI servers unless NCBI itself is compromised. Limiting factors: authentication mandatory (unauthenticated users cannot trigger), high attack complexity suggests non-trivial prerequisites such as specific XML structure or application configuration, parser defaults may disable external entities in newer Python versions (mitigating factor not confirmed in CVE description). |
| Impact | CVSS 4.9 with AV:N/AC:H/PR:L indicates network-accessible but significantly constrained exploitation: authenticated users only, high attack complexity, and limited impact (confidentiality and availability only, no integrity). EPSS 0.07% (20th percentile) strongly signals low exploitation probability in real environments, contradicting typical XXE severity expectations. The high-complexity requirement (AC:H) aligns with EPSS assessment-this is not an easy-to-exploit vulnerability. KEV status (not listed) confirms no active exploitation at time of analysis. The Scope:Changed (S:C) flag indicates potential impact across trust boundaries in multi-tenant scenarios, but the PR:L (low privilege) requirement severely restricts the threat model. Real-world risk is LOW: this affects only authenticated users capable of influencing Entrez query handling, and the XXE attack surface depends on parser behavior not independently verified from available data. For most users, this is a lower-priority fix unless the application parses untrusted XML from Entrez or similar sources in a sensitive context. |
| Exploit ScenarioDerived | An authenticated user with access to a Biopython application crafts a malicious Entrez query response containing a DOCTYPE with external entity references. When Bio.Entrez parses the response, the XXE injection causes the XML parser to resolve the external entity, potentially reading local files (e.g., /etc/passwd) or triggering a billion-laughs denial-of-service attack. Due to AC:H requirement, the attack likely requires specific conditions such as custom XML formatting or manipulation of the Entrez request-response cycle that the attacker controls. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
Biopython's Bio.Entrez module through version 1.86 is vulnerable to XML external entity (XXE) injection in doctype parsing, allowing authenticated remote attackers to read arbitrary files or cause denial of service. The vulnerability requires authenticated access and high attack complexity, resulting in a CVSS score of 4.9 with low confidentiality and availability impact across trust boundaries. Exploitation is not currently tracked in CISA KEV and has extremely low EPSS probability (0.07%, 20th percentile), indicating limited real-world risk despite the XXE vector.
RemediationAI
Upgrade Biopython to version 1.87 or later immediately via pip install --upgrade biopython. No workarounds are documented for users unable to upgrade. For development environments, verify the fix commit (736c96f37b190732ecca9da80ad0cb9d4967214d) has been applied if building from source. Restrict Bio.Entrez module usage to trusted NCBI endpoints only; if parsing XML from external sources, implement input validation and disable DOCTYPE processing at the parser level (if supported by the underlying XML library). Organizations should prioritize patching in systems where Bio.Entrez directly processes user-controlled XML input.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Bio.Entrez is a Biopython module for querying NCBI Entrez databases via HTTP requests and parsing XML responses. The vulnerability stems from improper handling of DOCTYPE declarations in XML parsing (CWE-611: Improper Restriction of XML External Entity Reference). When Bio.Entrez processes XML responses from Entrez servers or user-supplied XML input, it does not adequately restrict external entity resolution in the XML parser, allowing DOCTYPE-based XXE attacks. The attack requires an authenticated context and high complexity (likely requiring specific XML structure or NCBI service conditions), limiting practical exploitability compared to traditional XXE vulnerabilities.
Know when the next one hits your stack
- 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
AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:L
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Bio.Entrez in Biopython through 186 allows doctype XXE.
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.
Vendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
NVD
CVE.org
EPSS
GitHub
Exploit-DB