---
id: CVE-2022-31573
aliases:
  - GHSA-687h-86vc-5x59
  - PYSEC-2026-309
title: >-
  ChainerRL Visualizer 0.1.1 vulnerable to Path Traversal via unsafe use of
  send_file function
summary: >-
  ChainerRL Visualizer 0.1.1 vulnerable to Path Traversal via unsafe use of
  send_file function
severity: critical
cvss: 9.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L'
vendor: chainerrl-visualizer
product: chainerrl-visualizer
ecosystem: pip
affected:
  - chainerrl-visualizer <= 0.1.1
published: '2022-07-12'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T16:30:06.473986397Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-687h-86vc-5x59'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-31573'
  - url: 'https://github.com/github/securitylab/issues/669#issuecomment-1117265726'
  - url: 'https://github.com/chainer/chainerrl-visualizer'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/chainerrl-visualizer/PYSEC-2026-309.yaml
  - url: 'https://pypi.org/project/chainerrl-visualizer'
  - url: 'https://github.com/advisories/GHSA-687h-86vc-5x59'
tags:
  - osv
  - pip
  - ghsa
epss: 0.01404
epssPercentile: 0.72417
cwe:
  - CWE-22
ingestedAt: '2026-10-27T16:32:34.363Z'
---

## Overview

The chainer/chainerrl-visualizer repository through 0.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.

## Affected packages

- `chainerrl-visualizer <= 0.1.1`

## Remediation

Refer to the advisory for the patched release.
