{"id":"CVE-2026-25632","published":"2026-02-06T20:24:18Z","modified":"2026-02-06T20:56:43Z","title":"EPyT-Flow has unsafe JSON deserialization (__type__)","vendor":"WaterFutures","product":"EPyT-Flow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00795,"percentile":0.57318,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/WaterFutures/EPyT-Flow/security/advisories/GHSA-74vm-8frp-7w68","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WaterFutures/EPyT-Flow/commit/3fff9151494c7dbc72073830b734f0a7e550e385","tags":["x_refsource_MISC"]},{"url":"https://github.com/WaterFutures/EPyT-Flow/releases/tag/v0.16.1","tags":["x_refsource_MISC"]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":11.46},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-21","earliestUrl":"https://github.com/lazarus0x1337/CVE-2026-25632","repos":[{"name":"lazarus0x1337/CVE-2026-25632","url":"https://github.com/lazarus0x1337/CVE-2026-25632","stars":1,"created":"2026-07-21"}]},"first":{"date":"2026-07-21","source":"PoC-in-GitHub","url":"https://github.com/lazarus0x1337/CVE-2026-25632"},"provenance":"source"},"vendorSlug":"waterfutures","affectedVersions":[{"vendor":"WaterFutures","product":"EPyT-Flow","versions":["< 0.16.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-02-06T20:56:14.947947Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"epyt-flow","vulnerableRanges":["<0.16.1"],"patched":["0.16.1"],"from":["GHSA-74vm-8frp-7w68","PYSEC-2026-330"],"provenance":"source"}],"summary":{"text":"EPyT-Flow, a Python package for generating hydraulic and water quality scenario data for water distribution networks, contains an unsafe JSON deserialization flaw in its REST API and in its JSON file loading, where a custom deserializer dynamically imports and instantiates attacker-specified classes when a \"type\" field is present. An attacker who can send a crafted JSON request body to the REST API, or supply a crafted JSON file, requires no authentication or user interaction and can use this to invoke dangerous classes such as subprocess.Popen to execute operating system commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:35Z"},"euvd":{"id":"EUVD-2026-5576","exploited":false,"provenance":"source"}}