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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pyfory | >= 0.12.0, < 0.12.3 | 0.12.3 |
| Python (PyPI) | pyfury | >= 0.1.0, <= 0.10.3 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-61622
- https://github.com/apache/fory/pull/2629
- https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b
- https://github.com/apache/fory
- https://github.com/apache/fory/releases/tag/v0.12.3
- https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd
- http://www.openwall.com/lists/oss-security/2025/09/29/3
- https://pypi.org/project/pyfory
- https://github.com/advisories/GHSA-538v-3wq9-4h3r
- https://pypi.org/project/pyfury
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502- Platform
- Python (PyPI)
- Package
pyfory, pyfury- Disclosed
- 01.10.2025
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-490 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-538v-3wq9-4h3r - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-491 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: pyfory
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 10.2025 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
Disclosures per year
- 2025: 1
- 2026: 1
-
Apache Pyfory python is vulnerable to deserialization of untrusted data this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.