Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious CIF with payload in symop
-
DeliveryDeliver file to victim or pipeline
-
ExploitVictim parses file via diffpy.structure
-
Executioneval() in get_symop executes expression
-
ImpactArbitrary Python runs with victim privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution 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 victim to locally parse an attacker-crafted CIF file with diffpy.structure before 3.5.1; the malicious payload must be placed in the translation portion of a symmetry operation inside the _space_group_symop_operation_xyz or _symmetry_equiv_pos_as_xyz loop, which get_symop() passes to eval(). No authentication or special product configuration is needed (PR:N, AC:L), and CIF parsing is the library's core default behavior, so no non-default mode is required. The limiting factor is the AV:L/UI:P requirement: the attacker cannot reach the code remotely and must induce the victim (or an automated pipeline) to open/parse the malicious file; code runs only with the parsing user's privileges, and upgrading to 3.5.1 fully removes the eval() sink. |
| Impact | This is a genuine code-execution flaw (CWE-95) but its real-world priority is moderate, not critical, because the attack vector is local and user-mediated, not remote. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) tells a consistent story: an attacker does not need privileges (PR:N) and complexity is low (AC:L), but exploitation requires the victim to locally parse an attacker-supplied CIF file (AV:L, UI:P) - so this is a 'malicious data file' vulnerability, comparable to opening a booby-trapped document, not an internet-facing service bug. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with that assessment. No EPSS score, no CISA KEV listing, and no vendor-confirmed in-the-wild exploitation were provided, so there is no evidence of active exploitation; the fix commit's regression test does contain a concrete injection string demonstrating the technique, so the mechanics are public even if a packaged weaponized exploit is not confirmed. The description and the source-code diff agree with the CVSS local vector (eval() on the translation part of a symmetry operation during local CIF parsing), so there is no signal conflict to flag. Net: treat as a prompt-but-not-firefight patch priority, weighted by how much a given environment ingests untrusted CIF files. |
| Exploit ScenarioDerived | An attacker crafts a CIF crystallography file whose _space_group_symop_operation_xyz (or _symmetry_equiv_pos_as_xyz) loop embeds a Python expression in the translation part of a symmetry operation, then sends it to a researcher or uploads it to a processing pipeline. When the victim parses the file with diffpy.structure, get_symop() passes that term to eval(), executing the attacker's Python code with the victim's privileges. A public proof-of-concept reference exists - the fix commit's regression test demonstrates an injection payload (__import__('builtins')...) - though it is not verified as a packaged working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Local code execution in diffpy.structure before 3.5.1 allows an attacker to run arbitrary Python with the parsing user's privileges by placing expressions in the translation portion of CIF symmetry operations, which get_symop() passes to eval(). Exploitation requires the victim to open or process a crafted CIF file locally (AV:L, UI:R/UI:P), needs no authentication, and is not remotely reachable; the assessed priority is therefore moderate despite the high base score. The vendor fixed the eval() sink in 3.5.1, and no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: 3.5.1 replaces the eval() call in get_symop() with numeric parsing and fully removes the code-execution sink; the fix commit is https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62 and the release is https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1. If upgrading cannot be done immediately, exposure is limited to cases where a crafted CIF is parsed locally, so restrict diffpy.structure parsing to trusted CIF inputs and avoid processing untrusted symmetry-operation loops; this reduces the attack surface but does not remove the underlying eval() behavior in pre-3.5.1 versions. The VulnCheck advisory is https://www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing.
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
diffpy.structure is a Python library for reading and writing crystal structure files; its CIF parser in src/diffpy/structure/parsers/p_cif.py builds symmetry operations from CIF loops such as _space_group_symop_operation_xyz and _symmetry_equiv_pos_as_xyz. Before 3.5.1, get_symop() split a symmetry formula like 'x,1/2-y,1/2+z' and passed the translation component to eval('1.0*%s+0' % tpart), so a crafted translation could contain arbitrary Python and execute when the CIF was parsed. The root cause is CWE-95 (eval injection / improper neutralization of directives in dynamically evaluated code), not a memory-safety bug. The patch commit f4be1d534fa9cf488c8e83f258e59fe09b526f62 replaces eval with a regex-based numeric parser that accepts only signed integers, decimals, fractions, and sums, raising StructureFormatError for anything else. The CPE cpe:2.3:a:diffpy:diffpy.structure:*:*:*:*:*:*:*:* identifies the affected pre-3.5.1 package range, and the assessed vector is local with user interaction and no privileges required (AV:L/UI:R in CVSS 3.1; AV:L/UI:P/PR:N in CVSS 4.0).
Know when Python 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:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local because exploitation requires parsing an attacker-supplied CIF file (AV:L/UI:R) with no privileges (PR:N); eval() yields full arbitrary code execution, so C/I/A all High.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
diffpy.structure before 3.5.1 contains a code execution vulnerability that allows attackers to run Python code by supplying crafted CIF symmetry operations passed to eval() in get_symop(). Attackers can embed expressions in the _space_group_symop_operation_xyz or _symmetry_equiv_pos_as_xyz loop to execute code with victim privileges when the CIF file is parsed locally.
Articles & Coverage 1
Executive ViewAI
CVE-2026-133708 affects diffpy.structure versions prior to 3.5.1, enabling local arbitrary code execution when a user opens a specially crafted CIF file. This puts research and engineering teams who handle external crystal structure files at risk of running malicious code with their own privileges, potentially leading to data exposure or system compromise. Leadership should care because scientific workflows often involve untrusted files, and exploitation requires only user interaction, not elevated access.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-131539
GHSA-3vfj-3hfg-rm35
NVD
CVE.org
EPSS
Exploit-DB