# CVE-2022-31605: Unsafe yaml deserialization in NVFlare

- Severity: Critical 9.8 (CVSS:3.1, scored by nvidia) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-12-01)
- Published: 2022-06-22T21:22:46.000Z
- Modified: 2026-07-08T06:30:02.640Z
- Also known as: GHSA-hrf3-622q-8366, PYSEC-2022-232
- Weaknesses: CWE-502
- Assigned by: nvidia

## Description

NVFLARE, versions prior to 2.1.2, contains a vulnerability in its utils module, where YAML files are loaded via yaml.load() instead of yaml.safe_load(). The deserialization of Untrusted Data, may allow an unprivileged network attacker to cause Remote Code Execution, Denial Of Service, and Impact to both Confidentiality and Integrity.

(As written by CVE List.)

## Affected

- NVIDIA NVIDIA FLARE: All versions prior to 2.1.2
- nvflare (PyPI): before 2.1.2
- nvidia nvflare: before 2.1.2

## Every score

- nvidia: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/NVIDIA/NVFlare/security/advisories/GHSA-hrf3-622q-8366> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31605> (advisory)
- <https://github.com/NVIDIA/NVFlare/commit/4de9782697ecb12f39bcae83221bd8d3498959be> (web)
- <https://github.com/NVIDIA/NVFlare> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nvflare/PYSEC-2022-232.yaml> (web)

## Sources

- CVE List: [CVE-2022-31605](https://www.cve.org/CVERecord?id=CVE-2022-31605), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hrf3-622q-8366](https://github.com/advisories/GHSA-hrf3-622q-8366), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2022-31605](https://nvd.nist.gov/vuln/detail/CVE-2022-31605), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-232](https://osv.dev/vulnerability/PYSEC-2022-232), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-31605 · Whole record: https://cve.day/CVE-2022-31605.json · Rebuilt by cve.day 2026-11-25T22:58:12.673Z
