pyfory
Affected
- introduced
0.12.0, fixed0.12.3(ecosystem)
Fixed versions
0.12.3
Fix
- Fixed version
0.12.3pip install --upgrade pyfory==0.12.3
Advisory
Also known as: CVE-2025-61622, GHSA-538v-3wq9-4h3r, PYSEC-2026-491
Apache Pyfory python is vulnerable to deserialization of untrusted data
Deserialization of untrusted data in python in pyfory versions 0.12.0 through 0.12.2, or the legacy pyfury versions from 0.1.0 through 0.10.3: allows arbitrary code execution. An application is vulnerable if it reads pyfory serialized data from untrusted sources. An attacker can craft a data stream that selects pickle-fallback serializer during deserialization, leading to the execution of pickle.loads, which is vulnerable to remote code execution.
Users are recommended to upgrade to pyfory version 0.12.3 or later, which has removed pickle fallback serializer and thus fixes this issue.
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
0.12.0, fixed 0.12.3 (ecosystem)0.12.3
0.12.3pip install --upgrade pyfory==0.12.3Fix 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
Source: PyPA Advisory Database · CC BY 4.0