CVE-2025-5321: aimhubio aim · Sandbox Issue
Affects aimhubio aimSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubaimhubio/aimpkg:github/aimhubio/aimOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate mitigation should include restricting network access to the aimhubio aim service to trusted IP addresses and internal networks only, minimizing exposure to potential attackers.
- Implement strict input validation and sanitization at the application or proxy level to detect and block malicious payloads targeting the 'Abfrage' parameter.
- Deploy runtime application self-protection (RASP) or web application firewalls (WAF) with custom rules to monitor and block suspicious query executions related to RestrictedPythonQuery.
- Conduct thorough code reviews and sandbox environment audits to identify and patch the sandbox bypass vulnerability internally if possible, especially if source code access is available.
- Monitor logs and network traffic for unusual activity or repeated attempts to exploit this vulnerability.
- Engage with aimhubio or community forums to track any forthcoming patches or updates.
- Prepare incident response plans specific to this vulnerability, including isolating affected systems if compromise is suspected.
- Consider upgrading to a later version if and when a patched release becomes available.
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.