Skip to content
Heist/ feed
Back to feed
Medium

aimhubio aim run_view Object query.py RestrictedPythonQuery privilege escalation

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-5321
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:30 UTC · Revision 1

Source evidence

aimhubio aim run_view Object query.py RestrictedPythonQuery privilege escalation

core-osv · Original source

Published 29 May 2025, 15:00 UTC

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.

osv:CVE-2025-5321
Complete source record
{
  "id": "c1df3a2ddd1d7af07c6effebe9887e4ac47812111fc492bf781ad44e4b3eb032",
  "url": "https://osv.dev/vulnerability/CVE-2025-5321",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "aimhubio aim run_view Object query.py RestrictedPythonQuery privilege escalation",
    "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.",
    "evidence": "osv:CVE-2025-5321",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-5321",
      "aliases": [
        "CVE-2025-5321",
        "GHSA-gp5h-f9c5-8355",
        "PYSEC-2026-1088"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/aimhubio/aim",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "753f4b18437b8288e1c6f7c894c14a33cba9e7d0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:aimstack:aim:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.29.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.29.1",
            "v3.28.0",
            "v3.27.0",
            "v3.26.1",
            "v3.25.1",
            "v3.25.0",
            "v3.24.0",
            "v3.23.0",
            "v3.22.0",
            "v3.21.0",
            "v3.20.1",
            "v3.19.1",
            "v3.19.0",
            "v3.18.1",
            "v3.17.5",
            "v3.17.4",
            "v3.17.3",
            "v3.17.2",
            "v3.17.1",
            "v3.17.0",
            "v3.5.0",
            "v3.4.0",
            "v3.3.2",
            "v3.3.1",
            "v3.3.0",
            "v3.2.0",
            "v3.1.1",
            "v3.1.0",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v3.0.0-beta6",
            "v3.0.0-beta5",
            "v2.7.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.6",
            "pre-launch",
            "v1.2.7rc1",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5321.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.388104771Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5321.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-5321",
        "https://vuldb.com/?id.310492",
        "https://vuldb.com/?submit.580253",
        "https://vuldb.com/?ctiid.310492",
        "https://gist.github.com/superboy-zjc/1fc4747a0ac77a1edc8c32e1d4edc54c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-264",
          "CWE-265"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.29.0"
                  },
                  {
                    "last_affected": "3.29.0"
                  },
                  {
                    "introduced": "3.29.1"
                  },
                  {
                    "last_affected": "3.29.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5321.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-5321",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487765,
  "published_at": "2025-05-29T15:00:06.375+00:00"
}