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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ricky-7-Yan | intelligent-audit-system | — | — |
References
- GitHub Issue #7 issue-tracking
- https://github.com/Ricky-7-Yan/intelligent-audit-system product
- Fix commit patch
- https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/rag/agentic_rag.py#L342-L365 technical-description
- https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/web/main.py#L1197-L1206 technical-description
- VulnCheck Advisory: AuditPilot before commit 4669c93 RAG Project-Scope Authorization Bypass via project_id third-party-advisory