---
id: CVE-2021-43775
aliases:
  - GHSA-8phj-f9w2-cjcc
  - PYSEC-2021-839
title: Arbitrary file reading vulnerability in Aim
summary: Arbitrary file reading vulnerability in Aim
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'
vendor: aim
product: aim
ecosystem: pip
affected:
  - aim < 3.1.0
patched:
  - aim 3.1.0
published: '2021-11-23'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8phj-f9w2-cjcc'
references:
  - url: 'https://github.com/aimhubio/aim/security/advisories/GHSA-8phj-f9w2-cjcc'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-43775'
  - url: 'https://github.com/aimhubio/aim/issues/999'
  - url: 'https://github.com/aimhubio/aim/pull/1003'
  - url: >-
      https://github.com/aimhubio/aim/commit/b9e53df5e32d14bbd3a2c738e2db7187fb531e93
  - url: 'https://github.com/aimhubio/aim'
  - url: >-
      https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2021-839.yaml
tags:
  - osv
  - pip
epss: 0.01907
epssPercentile: 0.78858
ingestedAt: '2026-07-08T18:25:47.531Z'
---

## Overview

### Impact
A path traversal attack aims to access files and directories that are stored outside the web root folder. By manipulating variables that reference files with “dot-dot-slash (../)” sequences and its variations or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system including application source code or configuration and critical system files.

Vulnerable code: https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16

### Patches
The vulnerability issue is resolved in Aim v3.1.0.

### References
https://owasp.org/www-community/attacks/Path_Traversal



## Affected packages

- `aim < 3.1.0`

## Remediation

Upgrade to a patched release:

- `aim 3.1.0`
