# CVE-2022-31581: The scorelab/OpenMF repository before 2022-05-03 on GitHub allows absolute path traversal because the Flask sendfile function is used unsaf…

- Severity: Critical 9.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L`
- 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): 1.57%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-11T01:01:52.000Z
- Modified: 2026-06-17T04:45:43.473Z
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

The scorelab/OpenMF repository before 2022-05-03 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- scorelab openmf: before 2022-05-03

## Every score

- NVD: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://github.com/github/securitylab/issues/669#issuecomment-1117265726> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/scorelab/OpenMF/issues/262> (exploit, issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31581](https://www.cve.org/CVERecord?id=CVE-2022-31581), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-31581](https://nvd.nist.gov/vuln/detail/CVE-2022-31581), Public domain, modified 2026-06-17

---

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