Arbitrary Code Injection Affecting aim package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AIM-10288918
  • published1 Jun 2025
  • disclosed29 May 2025
  • creditsuperboy-zjc

Introduced: 29 May 2025

NewCVE-2025-5321  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for aim.

Overview

aim is a super-easy way to record, search and compare AI experiments.

Affected versions of this package are vulnerable to Arbitrary Code Injection through the RestrictedPythonQuery class. An attacker can manipulate the argument Query to bypass sandbox restrictions by leveraging the unsanitized run_view object passed into the sandbox environment as part of the local namespace.

CVSS Base Scores

version 4.0
version 3.1