← Vulnerability feed

Vulnerability record · CVE-2025-5321 · published 29 May 2025

CVE-2025-5321: Aimstack aim permissions and access controls vulnerability

Aimstack · Aim

A vulnerability classified as critical was found in aimhubio aim up to 3.29.1. This vulnerability affects the function RestrictedPythonQuery of the file /aim/storage/query.py of the component run_view Object Handler. The manipulation of the argument Abfrage leads to erweiterte Rechte. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

5.3 CVSS 4.0 Medium EPSS 0.59% · top 54.2% CWE-264 · Permissions and access controlsCWE-265 · CWE-265
5.3CVSS 4.0 base score, v2 6.5
0.59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

A vulnerability classified as critical was found in aimhubio aim up to 3.29.1. This vulnerability affects the function RestrictedPythonQuery of the file /aim/storage/query.py of the component run_view Object Handler. The manipulation of the argument Abfrage leads to erweiterte Rechte. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://gist.github.com/superboy-zjc/1fc4747a0ac77a1edc8c32e1d4edc54c ExploitThird Party Advisory
https://vuldb.com/?ctiid.310492 Permissions RequiredVDB Entry
https://vuldb.com/?id.310492 Third Party AdvisoryVDB Entry
https://vuldb.com/?submit.580253 Third Party AdvisoryVDB Entry

Track CVE-2025-5321 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-6396Aim _backup_run path traversal allows arbitrary file overwriteAim 3.19.3 mishandles the run_hash and repo.path parameters in the _backup_run function, letting a remote attacker build arbitrary file paths and wri…EPSS 53%analysed9.8CVE-2024-2195Aimstack aim code injection vulnerabilityA critical Remote Code Execution (RCE) vulnerability was identified in the aimhubio/aim project, specifically within the `/api/runs/search/run/` endp…EPSS 1.8%9.6CVE-2024-7760Aimstack aim cross-site request forgery vulnerabilityaimhubio/aim version 3.22.0 contains a Cross-Site Request Forgery (CSRF) vulnerability in the tracking server. The vulnerability is due to overly per…EPSS 0.52%9.1CVE-2024-8769Aimstack aim path traversal vulnerabilityA vulnerability in the `LockManager.release_locks` function in aimhubio/aim (commit bb76afe) allows for arbitrary file deletion through relative path…EPSS 0.91%9.1CVE-2024-6829Aimstack aim vulnerabilityA vulnerability in aimhubio/aim version 3.19.3 allows an attacker to exploit the `tarfile.extractall()` function to extract the contents of a malicio…EPSS 0.87%8.8CVE-2025-51464Aimstack aim cross-site scripting vulnerabilityCross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in victims browsers via malicious Python co…EPSS 0.61%8.8CVE-2024-2196Aimstack aim cross-site request forgery vulnerabilityaimhubio/aim is vulnerable to Cross-Site Request Forgery (CSRF), allowing attackers to perform actions such as deleting runs, updating data, and stea…EPSS 0.59%8.6CVE-2021-43775Aimstack aim path traversal vulnerabilityAim is an open-source, self-hosted machine learning experiment tracking tool. Versions of Aim prior to 3.1.0 are vulnerable to a path traversal attac…EPSS 1.9%

Source: NIST National Vulnerability Database (record CVE-2025-5321), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.