# CVE-2026-25632: EPyT-Flow has unsafe JSON deserialization (__type__)

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-02-04T20:34:28.000Z
- Modified: 2026-10-27T16:30:07.245Z
- Also known as: GHSA-74vm-8frp-7w68, PYSEC-2026-330
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- WaterFutures EPyT-Flow: < 0.16.1; before 0.16.1
- epyt-flow (PyPI): before 0.16.1

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/WaterFutures/EPyT-Flow/security/advisories/GHSA-74vm-8frp-7w68> (vendor-advisory, web)
- <https://github.com/WaterFutures/EPyT-Flow/commit/3fff9151494c7dbc72073830b734f0a7e550e385> (patch, web)
- <https://github.com/WaterFutures/EPyT-Flow/releases/tag/v0.16.1> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25632> (advisory)
- <https://github.com/WaterFutures/EPyT-Flow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/epyt-flow/PYSEC-2026-330.yaml> (web)
- <https://pypi.org/project/epyt-flow> (package, web)
- <https://github.com/advisories/GHSA-74vm-8frp-7w68> (advisory)

## Sources

- CVE List: [CVE-2026-25632](https://www.cve.org/CVERecord?id=CVE-2026-25632), CVE Terms of Use, modified 2026-02-06
- GitHub Advisory Database: [GHSA-74vm-8frp-7w68](https://github.com/advisories/GHSA-74vm-8frp-7w68), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-25632](https://nvd.nist.gov/vuln/detail/CVE-2026-25632), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-330](https://osv.dev/vulnerability/PYSEC-2026-330), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2026-25632 · Whole record: https://cve.day/CVE-2026-25632.json · Rebuilt by cve.day 2026-11-25T22:59:13.579Z
