CVE-2025-61622 — Vulnerability in pyfory — CVE Details
Apache Pyfory python is vulnerable to deserialization of untrusted data
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.70%). Schedule for your next planned update.
Does your project use an affected pyfory version?
Paste your requirements.txt to check it for CVE-2025-61622 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published October 1, 2025 (421 days ago).
- Last revised November 16, 2026 — 411 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "pyfory>=0.12.3"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: PyPI (2).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-61622ADVISORY
- https://github.com/apache/fory/pull/2629WEB
- https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40bWEB
- https://github.com/apache/foryPACKAGE
- https://github.com/apache/fory/releases/tag/v0.12.3WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pyfory/PYSEC-2026-490.yamlWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pyfury/PYSEC-2026-491.yamlWEB
- https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csdWEB
- https://pypi.org/project/pyforyWEB
- https://pypi.org/project/pyfuryWEB
- https://www.openwall.com/lists/oss-security/2025/09/29/3WEB
Frequently Asked Questions
- What is CVE-2025-61622?
- Apache Pyfory python is vulnerable to deserialization of untrusted data. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-61622?
- CVE-2025-61622 affects pyfory and pyfury. It has a 1.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61622 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 77.7% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-48207CRITICAL
Apache Fory PyFory Deserialization of Untrusted Data
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-48207CRITICAL
Apache Fory PyFory Deserialization of Untrusted Data
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)