CVE-2022-31523
CWE-22Published: July 11, 2022· Updated: Jun 17, 2026
Official Description
The PaddlePaddle/Anakin repository through 0.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
Risk Analysis
This vulnerability involves an absolute path traversal flaw caused by the unsafe use of the Flask send_file function. With a CVSS score of 9.3, it is considered critical due to its potential for unauthorized file access. It is remotely exploitable without authentication.
There is no known public exploit for this vulnerability, and it is not currently listed in the CISA KEV catalog.
Review the implementation of the Flask send_file function within the Anakin project and ensure file paths are properly sanitized or restricted.
Technical Analysis
CVE-2022-31523 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), with a CVSS base score of 9.3.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-22)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-31523 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts