{"id":"CVE-2022-31506","aliases":["EUVD-2022-6444","GHSA-x2pc-fqrw-hc7f","PYSEC-2026-436"],"status":"published","title":"SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely","description":"The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","severity":{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01519,"percentile":0.7478,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2022-07-11T00:54:01Z","modified":"2026-10-28T02:30:31Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"opendiamond","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"10.1.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"products":[{"vendor":"cmu","product":"opendiamond"}],"references":[{"url":"https://github.com/github/securitylab/issues/669#issuecomment-1117265726","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31506","tags":["advisory"]},{"url":"https://github.com/cmusatyalab/opendiamond/issues/52","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x2pc-fqrw-hc7f","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31506.json","tags":["advisory"]},{"url":"https://github.com/cmusatyalab/opendiamond","tags":["package"]},{"url":"https://pypi.org/project/opendiamond","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31506","description":"The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T00:54:01Z","modified":"2024-08-03T07:19:06.161Z","updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6444","description":"The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T00:54:01Z","modified":"2024-08-03T07:19:06Z","updated_at":"2026-11-03T03:25:33.60677Z"}],"ghsa":[{"id":"GHSA-x2pc-fqrw-hc7f","title":"SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely","description":"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.","status":"published","published":"2022-07-12T00:00:57Z","modified":"2023-09-02T05:02:49Z","cvss":[{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:02.095916Z"}],"nvd":[{"id":"CVE-2022-31506","description":"The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T01:15:08.253Z","modified":"2026-06-17T04:45:35.047Z","cvss":[{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:22.966735Z"}],"osv":[{"id":"GHSA-x2pc-fqrw-hc7f","title":"SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely","description":"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.","status":"published","published":"2022-07-12T00:00:57Z","modified":"2026-06-29T12:26:12.075893225Z","cvss":[{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"PYSEC-2026-436","title":"SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely","description":"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.","status":"published","published":"2026-06-29T11:50:33.637443Z","modified":"2026-07-01T20:22:59.48444Z","cvss":[{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","level":"critical"}],"updated_at":"2026-11-02T15:52:57.671918Z"},{"id":"CVE-2022-31506","description":"The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T00:54:01Z","modified":"2026-10-28T02:30:31.696170872Z","updated_at":"2026-11-02T15:44:25.516981Z"}]}}
