{"id":"PYSEC-2026-436","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","GHSA-x2pc-fqrw-hc7f"],"modified":"2026-06-29T12:15:32.581994016Z","published":"2026-06-29T11:50:33.637443Z","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"},{"type":"PACKAGE","url":"https://pypi.org/project/opendiamond"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x2pc-fqrw-hc7f"}],"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/pypa/advisory-database/blob/main/vulns/opendiamond/PYSEC-2026-436.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L"}]}