{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"Ricky-7-Yan/intelligent-audit-system","product":"intelligent-audit-system","source":"CNA: VulnCheck","vendor":"Ricky-7-Yan","versions":[{"lessThan":"4669c93f3a7403a0e242bef14d771beef0b4356b","status":"affected","version":"0","versionType":"git"}]}],"cveId":"CVE-2026-121558","cwes":["CWE-639"],"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.","epss":{"date":"2026-11-09","percentile":0.2261,"score":0.00298},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://hackmd.io/@hieuPenguinnn/cve-2026-121558-auditpilot-rag-project-scope-idor-knowledge-query"}],"kev":null,"metrics":[{"score":2.3,"severity":"low","source":"CNA: VulnCheck","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","version":"4.0"},{"score":4.3,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"score":2.3,"severity":"low","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":4.3,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}],"modifiedAt":1794237431034,"publishedAt":1793719034947,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/issues/7"},{"source":"CNA: VulnCheck","tags":["product"],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/commit/4669c93f3a7403a0e242bef14d771beef0b4356b"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/rag/agentic_rag.py#L342-L365"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/web/main.py#L1197-L1206"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/auditpilot-before-commit-4669c93-rag-project-scope-authorization-bypass-via-project-id"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://hackmd.io/@hieuPenguinnn/cve-2026-121558-auditpilot-rag-project-scope-idor-knowledge-query"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/rag/agentic_rag.py#L342-L365"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/blob/e4f1bf1c92cb14dd18bf0e11f4688fd1e346c9b9/web/main.py#L1197-L1206"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/commit/4669c93f3a7403a0e242bef14d771beef0b4356b"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/issues/7"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/auditpilot-before-commit-4669c93-rag-project-scope-authorization-bypass-via-project-id"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/Ricky-7-Yan/intelligent-audit-system/commit/4669c93f3a7403a0e242bef14d771beef0b4356b"}],"revision":"0669ae1e30e602bd4db508cd1fe411fb1dbaf7de95d7741bc995d7da26da2dcb","sources":[{"modifiedAt":1794237431034,"name":"CNA: VulnCheck","retrievedAt":1794240572354,"url":"https://www.cve.org/CVERecord?id=CVE-2026-121558"},{"modifiedAt":1793723449290,"name":"NVD","retrievedAt":1793730106089,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121558"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794240590642,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-121558"}],"ssvc":{"assessedAt":1794237235295,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"AuditPilot before commit 4669c93 RAG Project-Scope Authorization Bypass via project_id","updatedAt":1794240590642}