p PatchFirst

CVE-2026-25632

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 10.0 · Critical · EPSS 0.8% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • epyt-flow

    Versions
    • < 0.16.1: Affected

    No fix published

  • epyt-flow PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.10.0
    • 0.11.0
    • 0.12.0
    • 0.13.0
    • 0.13.1
    • 0.14.0
    • 0.14.1
    • 0.14.2
    • 0.15.0
    • 0.15.0b1
    • 0.16.0
    • 0.2.0
    • 0.3.0
    • 0.4.0
    • 0.5.0
    • 0.6.0
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.8.0
    • 0.8.1
    • 0.9.0
    Affected ranges
    • ECOSYSTEM: < 0.16.1

    Update to 0.16.1

Original sources

Check your server →