Read the docs
TI-2025-04776 Aliases CVE-2025-5321GHSA-gp5h-f9c5-8355

aimhubio aim run_view Object query.py RestrictedPythonQuery privilege escalation

Priority MEDIUM 57CWE-264Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00647 51st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
aimhubioaim3.29.0; 3.29.1—No fix listedCNA
—aim (PyPI)up to 3.29.1—No fix listedGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:aimstack:aim:*:*:*:*:*:python:*:*up to 3.29.1Vulnerableaimhubio
  • cpe:2.3:a:aimstack:aim:*:*:*:*:*:python:*:* Versions up to 3.29.1 Vulnerable ·aimhubio

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-5321
  2. 2026-10-03 Alias added: GHSA-gp5h-f9c5-8355
  3. 2026-10-25 EPSS moved to the 50th–90th percentile

References

  • 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
See all 22 →

Sources