Vulnerability · Published Jul 11, 2022 · Assigned by mitre
CVE-2022-31506
Critical 9.3
In plain English
A critical-severity security flaw in the opendiamond package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities).
Severity (CVSS NVD)9.3Critical
Exploit odds (30 days)1.5%top 25.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | opendiamond | no fix listed | GHSA-x2pc-fqrw-hc7f |
| PyPI | opendiamond | no fix listed | PYSEC-2026-436 |