{"id":"CVE-2022-31558","aliases":["EUVD-2022-6401","GHSA-qp72-96p2-g644","PYSEC-2026-541"],"status":"published","title":"Tooxie Shiva 0.10.0 allows absolute path traversal because Flask send_file function used unsafely","description":"The tooxie/shiva-server repository through 0.10.0 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-11","score":0.01313,"percentile":0.71081,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2022-07-11T00:59:36Z","modified":"2026-10-28T02:30:58Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"shiva","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.10.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"shiva","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.10.0"}]}],"versions":["0.10.0","0.4","0.5","0.6","0.7.0","0.8.0","0.9.0"]},{"source":"osv","ecosystem":"PyPI","package":"shiva","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.10.0"}]}],"versions":["0.10.0","0.4","0.5","0.6","0.7.0","0.8.0","0.9.0"]}],"products":[{"vendor":"shiva-server_project","product":"shiva-server"}],"references":[{"url":"https://github.com/github/securitylab/issues/669#issuecomment-1117265726","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31558","tags":["advisory"]},{"url":"https://github.com/tooxie/shiva-server/issues/189","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qp72-96p2-g644","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31558.json","tags":["advisory"]},{"url":"https://github.com/tooxie/shiva-server","tags":["package"]},{"url":"https://pypi.org/project/shiva","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31558","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T00:59:36Z","modified":"2024-08-03T07:19:06.594Z","updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6401","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T00:59:36Z","modified":"2024-08-03T07:19:06Z","updated_at":"2026-11-03T03:25:33.60677Z"}],"ghsa":[{"id":"GHSA-qp72-96p2-g644","title":"Tooxie Shiva 0.10.0 allows absolute path traversal because Flask send_file function used unsafely","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-12T00:00:58Z","modified":"2023-01-27T05:05:06Z","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:36:21.8171Z"}],"nvd":[{"id":"CVE-2022-31558","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T01:15:10.317Z","modified":"2026-06-17T04:45:41.013Z","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:23.322724Z"}],"osv":[{"id":"GHSA-qp72-96p2-g644","title":"Tooxie Shiva 0.10.0 allows absolute path traversal because Flask send_file function used unsafely","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-12T00:00:58Z","modified":"2026-06-29T12:26:19.25277375Z","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:54.760124Z"},{"id":"PYSEC-2026-541","title":"Tooxie Shiva 0.10.0 allows absolute path traversal because Flask send_file function used unsafely","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2026-06-29T11:50:33.543646Z","modified":"2026-07-01T20:23:05.03225Z","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-31558","description":"The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.","status":"published","published":"2022-07-11T00:59:36Z","modified":"2026-10-28T02:30:58.531565495Z","updated_at":"2026-11-02T15:44:25.516981Z"}]}}
