Vulnerabilities in pkg:pypi/pyfory
PACKAGECVE-2026-48207 is a CRITICAL (CVSS 9.8) apache fory pyfory deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Pyfory libraries in the PyPI ecosystem. The issue involves apache fory pyfory deserialization of untrusted data. Remediation is available by upgrading affected packages to version 1.0.0.
pkg:pypi/pyfory
Vulnerability advisories affecting package pkg:pypi/pyfory. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m5gw-83w2-7749 | CVE-2026-48207 | CRITICAL | Apache Fory PyFory Deserialization of Untrusted Data |
| GHSA-538v-3wq9-4h3r | CVE-2025-61622 | CRITICAL | Apache Pyfory python is vulnerable to deserialization of untrusted data |
CVE-2026-48207 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-48207
To remediate this vulnerability, upgrade all affected Pyfory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pyfory>=1.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyfory
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-48207, inspect your installed packages using pip:
pip show pyfory
Analyze the terminal output to locate any version of Pyfory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.
Note: The pip show pyfory command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Pyfory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48207 Affected Pyfory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyfory
|
PyPI |
≥ 0.13.0
< 1.0.0
|
1.0.0
|
References
Frequently Asked Questions
What is CVE-2026-48207?
Which Pyfory versions are affected?
What version fixes CVE-2026-48207?
Is pyfory affected?
What is the CVSS score of CVE-2026-48207?
What CWE is associated with CVE-2026-48207?
How can I check PyPI dependencies for CVE-2026-48207?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m5gw-83w2-7749",
"modified" : "2026-06-30T21:44:43Z",
"published" : "2026-05-21T18:33:09Z",
"aliases" : [ "CVE-2026-48207" ],
"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.\n\nThis issue affects Apache Fory: from before 1.0.0.\n\nMitigation: 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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyfory"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.13.0"
}, {
"fixed" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-48207"
}, {
"type" : "WEB",
"url" : "https://fory.apache.org/security/#cve-2026-48207-pyfory-reduceserializer-deserializationpolicy-bypass"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/fory"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/05/21/10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-30T21:44:43Z",
"nvd_published_at" : "2026-05-21T17:16:21Z"
}
}