EPyT-Flow has unsafe JSON deserialization (__type__)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
EPyT-Flow is a Python package designed for the easy generation of hydraulic and water quality scenario data of water distribution networks. Prior to 0.16.1, EPyT-Flow’s REST API parses attacker-controlled JSON request bodies using a custom deserializer (my_load_from_json) that supports a type field. When type is present, the deserializer dynamically imports an attacker-specified module/class and instantiates it with attacker-supplied arguments. This allows invoking dangerous classes such as subprocess.Popen, which can lead to OS command execution during JSON parsing. This also affects the loading of JSON files. This vulnerability is fixed in 0.16.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WaterFutures | EPyT-Flow | before 0.16.1 | 0.16.1 | Patch available | CNA |
| — | epyt-flow (PyPI) | before 0.16.1 | 0.16.1 | Patch available | GHSA-74vm-8frp-7w68 |
- EPyT-Flow VendorWaterFutures Affected before 0.16.1 Fixed in 0.16.1 Patch available CNA
- epyt-flow (PyPI) Vendor— Affected before 0.16.1 Fixed in 0.16.1 Patch available GHSA-74vm-8frp-7w68
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:waterfutures:epyt-flow:*:*:*:*:*:python:*:* | before 0.16.1 | Vulnerable | WaterFutures |
- cpe:2.3:a:waterfutures:epyt-flow:*:*:*:*:*:python:*:* Versions before 0.16.1 Vulnerable ·WaterFutures
Remediation
- Fix · CNA EPyT-Flow (WaterFutures) Fixed in 0.16.1
- Fix · GHSA-74vm-8frp-7w68 epyt-flow (PyPI) Fixed in 0.16.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25632
- 2026-10-03 Alias added: GHSA-74vm-8frp-7w68
References
Advisory 2
Sources
- CVE-2026-25632 · CVE Program
- CVE-2026-25632 · NVD
- FIRST EPSS
- GHSA-74vm-8frp-7w68 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences