CVE-2026-25632
CRITICAL 10.0CVSS 3.1EPyT-Flow vulnerable to unsafe JSON deserialization (__type__)
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.
- Published
- 6 Feb 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-74vm-8frp-7w68PYSEC-2026-330
- Sources
- NVDJSONOSV GHSA-74vm-8frp-7w68JSONOSV PYSEC-2026-330JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | waterfutures | epyt-flowcpe:2.3:a:waterfutures:epyt-flow:*:*:*:*:*:python:*:* |
< 0.16.1 | 0.16.1 |
| OSV | PyPI | epyt-flow | < 0.16.1 | 0.16.1 |
References
- 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://github.com/WaterFutures/EPyT-Flow/security/advisories/GHSA-74vm-8frp-7w68 · Vendor Advisory, 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 · WEB, PACKAGE
- https://github.com/advisories/GHSA-74vm-8frp-7w68 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Feb 2026)