Advisory

PYSEC-2026-2984

Also known as: CVE-2026-48207, GHSA-m5gw-83w2-7749

Summary

Apache Fory PyFory Deserialization of Untrusted Data

Details

Fory PyFory's ReduceSerializer could bypass documented DeserializationPolicy validation hooks during reduce-state restoration and global-name resolution. An application is vulnerable if it deserializes attacker-controlled data using PyFory Python-native mode with strict mode disabled and relies on DeserializationPolicy to restrict unsafe classes, functions, or module attributes.

This issue affects Apache Fory: from before 1.0.0.

Mitigation: Users of Apache Fory are recommended to upgrade to version 1.0.0 or later, which enforces DeserializationPolicy validation for the affected ReduceSerializer paths and thus fixes this issue.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

pyfory

PyPI · All systems

Affected

  • introduced 0.13.0, fixed 1.0.0 (ecosystem)

Fixed versions

1.0.0

Fix

  • Fixed version 1.0.0
    pip install --upgrade pyfory==1.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences