aimhubio aim run_view Object query.py RestrictedPythonQuery privilege escalation
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass, Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-264 and CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| aimhubio | aim | 3.29.0; 3.29.1 | — | No fix listed | CNA |
| — | aim (PyPI) | up to 3.29.1 | — | No fix listed | GHSA-gp5h-f9c5-8355 |
- aim Vendoraimhubio Affected 3.29.0; 3.29.1 Fixed in — No fix listed CNA
- aim (PyPI) Vendor— Affected up to 3.29.1 Fixed in — No fix listed GHSA-gp5h-f9c5-8355
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-5321
- 2026-10-03 Alias added: GHSA-gp5h-f9c5-8355
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More aimhubio Aim vulnerabilities
- TI-2024-05938 Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim CVSS 3.0CRITICAL 9.8
- TI-2024-02038 Remote Code Execution in aimhubio/aim CVSS 3.0CRITICAL 9.8
- TI-2024-08135 Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim CVSS 3.1CRITICAL 9.1
- TI-2024-06332 Arbitrary File Overwrite through tarfile-extraction in aimhubio/aim CVSS 3.0CRITICAL 9.1
- TI-2024-07194 CSRF in aimhubio/aim CVSS 3.1CRITICAL 9.6
- TI-2025-32336 Cross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute… CVSS 3.1HIGH 8.8
Sources
- CVE-2025-5321 · CVE Program
- CVE-2025-5321 · NVD
- FIRST EPSS
- GHSA-gp5h-f9c5-8355 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences