CVE-2022-31506 — Vulnerability in opendiamond — CVE Details
CRITICAL
SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely
Published June 29, 2026Updated July 1, 2026Source: osv
Summary
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.
Advisory Timeline
- First published June 29, 2026 (105 days ago).
- Last revised July 1, 2026 — 2 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| opendiamond | pypi | 10.0.0, 10.0.1, 10.0.2, 10.1.0 (+1 more) | Range-based data available |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-31506ADVISORY
- https://github.com/cmusatyalab/opendiamond/issues/52WEB
- https://github.com/github/securitylab/issues/669#issuecomment-1117265726WEB
- https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56WEB
- https://github.com/cmusatyalab/opendiamondPACKAGE
- https://pypi.org/project/opendiamondPACKAGE
- https://github.com/advisories/GHSA-x2pc-fqrw-hc7fADVISORY
Frequently Asked Questions
- What is CVE-2022-31506?
- SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2022-31506?
- CVE-2022-31506 affects opendiamond. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31506 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.3
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
PYSEC-2026-436
GHSA-x2pc-fqrw-hc7f
Related CVEs
- CVE-2026-61447CRITICAL
PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies