{"id":"CVE-2022-31506","aliases":["GHSA-x2pc-fqrw-hc7f","PYSEC-2026-436"],"url":"https://o3.security/vulnerability/CVE-2022-31506","summary":"SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely","details":"The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","published":"2022-07-11T00:54:01Z","modified":"2026-07-15T01:48:58.232019572Z","cvss":{"score":9.3,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"opendiamond","fixedVersion":null}],"fix":{"url":"https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56","label":"cmusatyalab/opendiamond@398049c"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31506.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31506"},{"type":"REPORT","url":"https://github.com/github/securitylab/issues/669#issuecomment-1117265726"},{"type":"FIX","url":"https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:58.232019572Z"}}