GHSA-m5gw-83w2-7749

Suggest an improvement
Source
https://github.com/advisories/GHSA-m5gw-83w2-7749
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m5gw-83w2-7749/GHSA-m5gw-83w2-7749.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m5gw-83w2-7749
Aliases
Published
2026-05-21T18:33:09Z
Modified
2026-07-13T16:42:39Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-502"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-30T21:44:43Z",
    "nvd_published_at":  "2026-05-21T17:16:21Z",
    "severity":  "CRITICAL"
}
References

Affected packages

PyPI / pyfory

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.13.0
Fixed
1.0.0

Affected versions

0.*
0.13.0
0.13.1
0.13.2
0.14.0
0.14.1
0.15.0
0.16.0
0.17.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m5gw-83w2-7749/GHSA-m5gw-83w2-7749.json"