5.3medium
aimhubio aim run_view Object query.py RestrictedPythonQuery privilege escalation
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-gp5h-f9c5-8355PYSEC-2026-1088
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aimhubio aim | 3.29.0, 3.29.1 | CVE List |
| aim (PyPI) | up to 3.29.1 | GitHub Advisory Database, PyPA Advisory Database |
| aimstack aim | up to 3.29.1 | NVD |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 6.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | 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:P |
| NVD | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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:P |
Classification
What each source says
CVE List
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.
CVE List (de)
In aimhubio aim bis 3.29.1 wurde eine Schwachstelle entdeckt. Sie wurde als kritisch eingestuft. Betroffen ist die Funktion RestrictedPythonQuery der Datei /aim/storage/query.py der Komponente run_view Object Handler. Mittels Manipulieren des Arguments Abfrage mit unbekannten Daten kann eine erweiterte Rechte-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk passieren. Der Exploit steht zur öffentlichen Verfügung.
GitHub Advisory Database
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 Query leads to sandbox issue. 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.
NVD (es)
Se detectó una vulnerabilidad crítica en aimhubio (hasta la versión 3.29.1). Esta vulnerabilidad afecta a la función RestrictedPythonQuery del archivo /aim/storage/query.py del componente run_view Object Handler. La manipulación del argumento "Query" provoca un problema de la sandbox. El ataque puede ejecutarse en remoto. Se ha hecho público el exploit y puede que sea utilizado. Se contactó al proveedor con antelación para informarle sobre esta divulgación, pero no respondió.
References
| https://vuldb.com/?id.310492 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.310492 | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.580253 | third-party-advisory, vdb-entry, web | |
| https://gist.github.com/superboy-zjc/1fc4747a0ac77a1edc8c32e1d4edc54c | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-5321 | advisory | |
| https://github.com/aimhubio/aim | package | |
| https://pypi.org/project/aim | package | |
| https://github.com/advisories/GHSA-gp5h-f9c5-8355 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-5321 changed 2025-06-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gp5h-f9c5-8355 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-5321 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1088 changed 2026-07-07 | CC-BY-4.0 |