medium4.3
CVE-2026-121558
AuditPilot before commit 4669c93 contains an authorization bypass vulnerability in _metadata_allowed in rag/agentic_rag.py that allows authenticated users to r…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read.
Affected products · Ricky-7-Yan
| Product | Affected versions |
|---|---|
| Intelligent-audit-system | before 4669c93f3a7403a0e242bef14d771beef0b4356b |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Ricky-7-Yan/intelligent-audit-system/issues/7
- https://github.com/Ricky-7-Yan/intelligent-audit-system
- https://github.com/Ricky-7-Yan/intelligent-audit-system/commit/4669c93f3a7403a0e242bef14d771beef0b4356b
- https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/rag/agentic_rag.py#L342-L365
- https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/web/main.py#L1197-L1206
- https://www.vulncheck.com/advisories/auditpilot-before-commit-4669c93-rag-project-scope-authorization-bypass-via-project-id
- https://github.com/advisories/GHSA-662g-qcpv-pf65
- https://nvd.nist.gov/vuln/detail/CVE-2026-121558
- https://hackmd.io/@hieuPenguinnn/cve-2026-121558-auditpilot-rag-project-scope-idor-knowledge-query