Live threats

All CVEs / Aimstack

CVE-2024-8238Aimstack Aim

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
Mar 20, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1336
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

In version 3.22.0 of aimhubio/aim, the AimQL query language uses an outdated version of the safer_getattr() function from RestrictedPython. This version does not protect against the str.format_map() method, allowing an attacker to leak server-side secrets or potentially gain unrestricted code execution. The vulnerability arises because str.format_map() can read arbitrary attributes of Python objects, enabling attackers to access sensitive variables such as os.environ. If an attacker can write files to a known location on the Aim server, they can use str.format_map() to load a malicious .dll/.so file into the Python interpreter, leading to unrestricted code execution.

Original NVD text.

What to do

  1. Apply the vendor's security update for Aim.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI aim ≥ 3.0.0 ≤ 3.22.0 no fixed version —
PyPI aim ≥ 3.0.0 ≤ 3.22.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-r229-5wgf-f28g, PYSEC-2026-1094). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
aimstackaim3.22.0

Official sources

References

Links published by the sources. Open them with care.