Arbitrary file reading vulnerability in Aim
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | aim | < 3.1.0 | 3.1.0 |
References
- https://github.com/aimhubio/aim/issues/999
- https://github.com/aimhubio/aim/security/advisories/GHSA-8phj-f9w2-cjcc
- https://github.com/aimhubio/aim/pull/1003
- https://github.com/aimhubio/aim/blob/0b99c6ca08e0ba7e7011453a2f68033e9b1d1bce/aim/web/api/views.py#L9-L16
- https://github.com/aimhubio/aim/pull/1003/commits/f01266a1a479ef11d7d6c539e7dd89e9d5639738
- https://nvd.nist.gov/vuln/detail/CVE-2021-43775
- https://github.com/aimhubio/aim/commit/b9e53df5e32d14bbd3a2c738e2db7187fb531e93
- https://github.com/aimhubio/aim
- https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2021-839.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
aim- Disclosed
- 23.11.2021
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-839 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-8phj-f9w2-cjcc - CC BY 4.0
Vulnerability history: aim
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 20
- First → latest
- 11.2021 07.2025
- Without a fix
- 19
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 9
- Medium 6
- Low 1
Disclosures per year
- 2021: 1
- 2022: 0
- 2023: 0
- 2024: 5
- 2025: 14
- 2026: 0
-
Arbitrary file reading vulnerability in Aim this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.