VDB
Sign up
CRITICAL9.8

PYSEC-2026-2984

Apache Fory PyFory Deserialization of Untrusted Data

Quick fix

PYSEC-2026-2984 — pyfory: upgrade to the fixed version with the command below.

pip install --upgrade 'pyfory>=1.0.0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pyfory
Introduced in: 0.13.0Fixed in: 1.0.0
Fixpip install --upgrade 'pyfory>=1.0.0'

References