CVE-2026-69131: Missing Authorization in django-filer Bulk Deletion Admin Action
Vulnerability ID: CVE-2026-69131
CVSS Score: 4.3
Published: 2026-11-18
A missing authorization vulnerability exists in django-filer versions prior to 3.5.0 when the optional per-folder permission system (FILER_ENABLE_PERMISSIONS) is enabled. The bulk delete admin action (delete_files_or_folders) verifies global Django model-level deletion permissions but fails to enforce object-level FolderPermission edit checks. Consequently, an authenticated staff user holding model-level delete rights can delete files, folders, and directory trees from folders where their access has been explicitly restricted to read-only via FolderPermission.
TL;DR
Authenticated staff users in django-filer (< 3.5.0) with model-level delete permissions can bypass per-folder read-only restrictions (FolderPermission) via the bulk delete admin action when FILER_ENABLE_PERMISSIONS is enabled.
⚠️ Exploit Status: POC
Technical Details
- CVE / GHSA ID: CVE-2026-69131 / GHSA-vf85-8ff2-3r9w
- Weakness Class: CWE-862 (Missing Authorization) / CWE-639
- CVSS v3.1 Score: 4.3 Medium (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- Attack Vector: Network (Authenticated Staff User via Django Admin POST)
- Preconditions: FILER_ENABLE_PERMISSIONS=True & Model-level delete_* permissions
- Security Impact: Unauthorized deletion of files and folders in read-only directories
- Exploit Status: PoC (Upstream regression test in PR #1605)
- Patched Version: django-filer 3.5.0
Affected Systems
- django-filer (PyPI package: django-filer) versions < 3.5.0 with FILER_ENABLE_PERMISSIONS=True
-
django-filer: < 3.5.0 (<= 3.4.4) (Fixed in:
3.5.0)
Code Analysis
Commit: 742ba4c
Merge commit for PR #1605 enforcing check_files_edit_permissions and check_folder_edit_permissions in delete_files_or_folders.
--- a/filer/admin/folderadmin.py
+++ b/filer/admin/folderadmin.py
@@ -756,6 +756,13 @@ def delete_files_or_folders(self, request, files_queryset, folders_queryset):
if not self.has_delete_permission(request):
raise PermissionDenied
+ # Check that the user has per-folder edit permission on every selected
+ # file and folder (and their descendants). Without this, a user with
+ # only read access to a folder could delete its contents when the
+ # optional per-folder permission system is enabled.
+ check_files_edit_permissions(request, files_queryset)
+ check_folder_edit_permissions(request, folders_queryset)
+
current_folder = self._get_current_action_folder(
request, files_queryset, folders_queryset)
Commit: 29d20ec
Initial fix commit adding folder and file edit permission checks to the bulk delete action.
Exploit Details
- GitHub: Official pull request containing the unit test proof-of-concept (test_delete_action_requires_edit_permission) demonstrating the authorization bypass.
Mitigation Strategies
- Upgrade django-filer to version 3.5.0 or higher to enforce per-folder edit permission validation during bulk deletion.
- Apply the principle of least privilege by revoking global model-level delete permissions (filer.delete_file, filer.delete_folder, filer.delete_image) from staff users who require read-only constraints on shared directories.
- Monitor and alert on HTTP POST requests to Django admin directory listing endpoints containing 'action=delete_files_or_folders' that result in HTTP 403 Forbidden or unexpected bulk asset removals.
Remediation Steps:
- Inspect the Django project configuration (settings.py) to determine if FILER_ENABLE_PERMISSIONS is set to True.
- Upgrade the package using pip: pip install --upgrade 'django-filer>=3.5.0'.
- Run test suites and restart the WSGI/ASGI application workers (e.g., Gunicorn, uWSGI, Daphne) to load the patched FolderAdmin class.
- Audit Django admin logs and storage buckets/volumes to ensure no unauthorized file or folder deletions occurred prior to patching.
References
- GitHub Security Advisory: GHSA-vf85-8ff2-3r9w
- GitHub Pull Request #1605: Enforce edit permissions on bulk delete
- Fix Commit 742ba4c3094dd75e586ca3a05e6ad2703de4553b (PR Merge)
- Fix Commit 29d20ec0de13d7f77fa2cea93166f8d50a3f508d (Initial Patch)
- django-filer Release 3.5.0
- CVE-2026-69131 Official Record on CVE.org
Read the full report for CVE-2026-69131 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)