Advisory

PYSEC-2026-1088

Also known as: CVE-2025-5321, GHSA-gp5h-f9c5-8355

Summary

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-07 16:02 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

aim

PyPI · All systems

Affected

  • introduced 0, last affected 3.29.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences