{"id":"GHSA-x2pc-fqrw-hc7f","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. A patch is available on the `master` branch of the repository.","aliases":["CVE-2022-31506","PYSEC-2026-436"],"modified":"2026-06-29T12:26:12.075893225Z","published":"2022-07-12T00:00:57Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-07-21T21:04:52Z","nvd_published_at":"2022-07-11T01:15:00Z","cwe_ids":["CWE-22"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31506"},{"type":"WEB","url":"https://github.com/cmusatyalab/opendiamond/issues/52"},{"type":"WEB","url":"https://github.com/github/securitylab/issues/669#issuecomment-1117265726"},{"type":"WEB","url":"https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56"},{"type":"PACKAGE","url":"https://github.com/cmusatyalab/opendiamond"}],"affected":[{"package":{"name":"opendiamond","ecosystem":"PyPI","purl":"pkg:pypi/opendiamond"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"10.1.1"}]}],"versions":["10.0.0","10.0.1","10.0.2","10.1.0","10.1.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-x2pc-fqrw-hc7f/GHSA-x2pc-fqrw-hc7f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L"}]}