CVE-2022-31506
CRITICAL 9.3CVSS 3.1SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely
The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Published
- 11 Jul 2022
- Last modified
- 16 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-x2pc-fqrw-hc7fPYSEC-2026-436
- Sources
- NVDJSONOSV GHSA-x2pc-fqrw-hc7fJSONOSV PYSEC-2026-436JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cmu | opendiamondcpe:2.3:a:cmu:opendiamond:*:*:*:*:*:*:*:* |
<= 10.1.1 | |
| OSV | PyPI | opendiamond | <= 10.1.1 |
References
- https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56 · Patch, Third Party Advisory, WEB
- https://github.com/github/securitylab/issues/669#issuecomment-1117265726 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31506 · ADVISORY
- https://github.com/cmusatyalab/opendiamond/issues/52 · WEB
- https://github.com/cmusatyalab/opendiamond · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/opendiamond/PYSEC-2026-436.yaml · WEB
- https://pypi.org/project/opendiamond · WEB, PACKAGE
- https://github.com/advisories/GHSA-x2pc-fqrw-hc7f · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Jul 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jul 2022)