Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.3

CVE-2022-31506: Flask send_file function allows unauthorized access to files on GitHub

CVE-2022-31506 · published 4 years ago
Summary

GitHub's OpenDiamond repository through version 10.1.1 allows attackers to access files outside of their intended path. This could potentially allow unauthorized access to sensitive information. You should update to a newer version if you use this repository.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
pip carnegie mellon university opendiamond <= 10.1.1
– cmu opendiamond <= 10.1.1
cpe:2.3:a:cmu:opendiamond:*:*:*:*:*:*:*:*
Original advisory text
The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is 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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
9.3 Critical
Exploitation
2% chance of attack within 30 days
Type
CWE-22Path Traversal
Timeline
Published11 Jul 2022
Updated31 Oct 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta