BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-5321 in Aimstack Aim

Critical 9.9

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 rem...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.9
CVSS v45.3
EPSS1.1%
EPSS percentile66th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Aimstack Aim ≤ 3.29.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-5321
BreachSpider IDBS-2025-GLOBAL-300488-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2025-05-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-264: Permissions, Privileges, and Access Controls

Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.

CWE-265: CWE-265

Analysis AI-written, not human-reviewed

A critical vulnerability (CVE-2025-5321) in aimhubio aim up to version 3.29.1 allows remote attackers to manipulate the 'Abfrage' argument in the RestrictedPythonQuery function, leading to escalated privileges.

The vulnerability can be exploited remotely by manipulating the 'Abfrage' argument in the RestrictedPythonQuery function located in /aim/storage/query.py. This manipulation can lead to unauthorized access and escalation of privileges.

Questions

What is CVE-2025-5321?

A critical vulnerability (CVE-2025-5321) in aimhubio aim up to version 3.29.1 allows remote attackers to manipulate the 'Abfrage' argument in the RestrictedPythonQuery function, leading to escalated privileges.

What is the CVSS score for CVE-2025-5321?

CVE-2025-5321 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.1%.

Is CVE-2025-5321 actively exploited?

No confirmed active exploitation of CVE-2025-5321 as of 2026-09-25.

How do I remediate CVE-2025-5321?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-5321?

CVE-2025-5321 affects Aimstack Aim.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Aimstack","product":"Aim","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.