MEDIUM6.3
PYSEC-2026-1088
Aim Vulnerable to Sandbox Escape Leading to Remote Code Execution
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/aim
Introduced in:
0No fixed version published yet for aim (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5321[ADVISORY]
- https://gist.github.com/superboy-zjc/1fc4747a0ac77a1edc8c32e1d4edc54c[WEB]
- https://github.com/aimhubio/aim[PACKAGE]
- https://vuldb.com/?ctiid.310492[WEB]
- https://vuldb.com/?id.310492[WEB]
- https://vuldb.com/?submit.580253[WEB]
- https://pypi.org/project/aim[PACKAGE]
- https://github.com/advisories/GHSA-gp5h-f9c5-8355[ADVISORY]