Description
AuditPilot before commit 4669c93 contains an authorization bypass vulnerability in _metadata_allowed in rag/agentic_rag.py that allows authenticated users to read other projects' knowledge by supplying project_id. Attackers with read:knowledge scoped to one project can set context.project_id via GET /api/knowledge/query or POST /api/research/answer to retrieve same-tenant project knowledge chunks.
Published: 2026-11-03
Score: 2.3 Low
EPSS: n/a
KEV: No
Impact: Unauthorized Data Access
Action: Assess Impact
AI Analysis

Impact

The vulnerability originates from an authorization bypass in the _metadata_allowed function located in rag/agentic_rag.py. It enables authenticated users to supply any project_id and retrieve knowledge chunks that belong to other projects within the same tenant, thereby revealing confidential audit data. This weakness is characterized as an Access Control Failure (CWE-639).

Affected Systems

Affected product: the intelligent‑audit‑system developed by Ricky‑7‑Yan. The flaw exists in all builds prior to commit 4669c93, particularly in the API endpoints /api/knowledge/query and /api/research/answer. No patched release is currently listed, so users should monitor the project’s release history for a fix that removes the bypass.

Risk and Exploitability

The CVSS score of 2.3 indicates a low overall severity, and EPSS is not reported. The exploit requires only a user with a read:knowledge role for a single project, a capability typically granted within normal operations. By altering the project_id parameter on the exposed API calls, an attacker can read sensitive content from other projects within the same tenant. While the vulnerability does not provide privilege escalation or destructive effects, it permits data exfiltration that could compromise confidentiality.

Generated by OpenCVE AI on November 3, 2026 at 17:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy a version of the intelligent‑audit‑system that includes a commit after 4669c93 so that the _metadata_allowed function ceases to accept arbitrary project identifiers.
  • Modify application code to verify that any supplied project_id matches the authenticated user's authorized projects before returning data, adding a guard clause in the relevant endpoint handlers.
  • Limit the read:knowledge permission to only the specific projects or groups that a user actually requires, and audit role assignments to remove unnecessary privileges.

Generated by OpenCVE AI on November 3, 2026 at 17:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Description AuditPilot before commit 4669c93 contains an authorization bypass vulnerability in _metadata_allowed in rag/agentic_rag.py that allows authenticated users to read other projects' knowledge by supplying project_id. Attackers with read:knowledge scoped to one project can set context.project_id via GET /api/knowledge/query or POST /api/research/answer to retrieve same-tenant project knowledge chunks.
Title AuditPilot before commit 4669c93 RAG Project-Scope Authorization Bypass via project_id
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-03T15:17:14.947Z

Reserved: 2026-11-03T14:46:17.306Z

Link: CVE-2026-121558

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-03T16:17:28.347

Modified: 2026-11-03T16:30:49.290

Link: CVE-2026-121558

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T17:15:02Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key