Description
Nexent through 2.7.0 contains a missing authorization vulnerability in check_file_access that allows authenticated users to read other tenants' knowledge-base files by skipping tenant comparison for knowledge_base/ reads. Attackers in multi-tenant deployments can list objects via GET /file/storage for presigned URLs or use GET /file/download/{object_name} to download other tenants' source documents.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ModelEngine-Group | nexent | ≤ 2.7.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/nexent-knowledge-base-cross-tenant-file-read technical-description exploit
- https://github.com/ModelEngine-Group/nexent/blob/90bf1a5dbb1eb16bb4a28c2407ed4b6eda9a09bf/backend/services/file_management_service.py#L177 technical-description
- https://github.com/ModelEngine-Group/nexent product
- VulnCheck Advisory: Nexent through 2.7.0 Cross-Tenant Knowledge-Base File Read via check_file_access third-party-advisory