CVE-2025-5321 Details
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.
A critical remote code execution vulnerability has been identified in Aimhubio Aim versions through 3.29.1. The issue arises in the 'RestrictedPythonQuery' function within the 'run_view' Object Handler, specifically in the file '/aim/storage/query.py'. The vulnerability allows for unauthorized access to elevated privileges by manipulating the 'Abfrage' argument, leading to a sandbox escape where attackers can execute arbitrary system commands via the exposed web API.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/superboy-zjc/1fc4747a0ac77a1edc8c32e1d4edc54c | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.310492 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.310492 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.580253 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-264 | Permissions, Privileges, and Access Controls | [email protected] |
| CWE-265 | Privilege Issues | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| aimstack aim | <= 3.29.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 19, 2025 | Initial Analysis | [email protected] |
| Jun 1, 2025 | CVE Modified | [email protected] |
| May 29, 2025 | New CVE Received | [email protected] |