PT-2025-23176 · Aimhubio · Aimhubio Aim

·

CVE-2025-5321

·

Published

2025-05-29

·

Updated

2026-07-18

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions aimhubio aim versions prior to 3.29.1
Description A critical issue exists in the run view Object Handler component within the /aim/storage/query.py file. The RestrictedPythonQuery() function is susceptible to remote manipulation via the Query argument, which leads to a sandbox bypass and potentially elevated privileges. This flaw allows an attacker to initiate the attack remotely.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, consider restricting access to the RestrictedPythonQuery() function in the /aim/storage/query.py file to minimize the risk of exploitation.

Exploit

RCE

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-5321
GHSA-GP5H-F9C5-8355
PYSEC-2026-1088

Affected Products

Aimhubio Aim