Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

cinnamon/kotaemon
main @ 9ad3e4e
5
Fixes
3
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
libs/ktem/ktem/index/file/ui.py: most-fixed (3 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Lack of download authorization verification allowed unauthenticated downloading of direct user files and unauthorized access to private collections.
Path Traversal: ZIP archive extraction did not validate file paths, allowing arbitrary file write via path traversal sequence exploitation in zipfile.ZipFile.extractall.
Auth Bypass: Missing user ownership bounds in DB lookups allowed users to view or interact with other users' private indexed files.