CVE-2026-133708 is a high-severity (CVSS 7.8) CWE-95 vulnerability in diffpy diffpy.structure. A fix is available — see the affected versions and patch details below.
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().…
Description
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.
Affected Products
diffpy.structurediffpyDetection & mitigation playbook
Vendor / applianceDetect
Inventory every diffpy diffpy.structure deployment and check each version against the affected-products list above.
Fix
Apply the diffpy diffpy.structure security patch or hotfix for CVE-2026-133708 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-133708 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.