CVE-2026-121558

AuditPilot before commit 4669c93 RAG Project-Scope Authorization Bypass via project_id

Published Nov 3, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ricky-7-yan
Ricky-7-yan intelligent-audit-system
Vendors & Products Ricky-7-yan
Ricky-7-yan intelligent-audit-system
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'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 3:17 PM
Reserved
Nov 3, 2026, 2:46 PM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 9, 2026, 4:17 PM