MEDIUM · CVSS 3.1 4.3 EPSS 0.3% · 23th percentile CWE-285CWE-639CWE-862

CVE-2026-69131: django-filer: Missing per-object authorization on `discard` and `edit_redirect` version transitions

Published 2026-11-18 · Updated 2026-11-18 · Also known as GHSA-vf85-8ff2-3r9w

Summary

The django-filer package fails to enforce per-folder edit permissions during delete operations when the optional per-folder permission system is enabled. Staff users with global delete permissions can bypass folder-level read-only restrictions to delete files and folders.

Who is affected

This vulnerability affects deployments using django-filer with the FILER_ENABLE_PERMISSIONS setting enabled. Attackers must already possess global Django model-level delete permissions to exploit the gap. Users who are intended to have read-only access to specific folders via FolderPermission are currently able to perform unauthorized deletions.

Exploitability

The vulnerability is rated as medium severity, requiring low attack complexity and low privileges to execute. It does not require user interaction and impact is limited to the integrity of files, with no documented active exploitation according to CISA KEV data.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
PyPI django-filer >= 0, < 3.5.0 3.5.0 python -m pip install 'django-filer>=3.5.0'

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Attack vectorNetwork
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

FAQ

Is this a data breach issue?

No. The issue concerns unauthorized deletion (integrity) rather than unauthorized access to content (confidentiality), as django-filer files are designed to be publicly downloadable.

Are all django-filer installations affected?

No. Only installations that explicitly enable the optional FILER_ENABLE_PERMISSIONS setting are affected by this logic error.

What is the primary technical cause of this flaw?

The admin delete action failed to call the check_folder_edit_permissions or check_files_edit_permissions helpers, which are used by all other mutating actions to verify per-folder authorization.

Original advisory description
## Summary When django-filer's optional per-folder permission system is enabled (`FILER_ENABLE_PERMISSIONS=True`), the "Delete files and/or folders" admin action does **not** enforce per-folder edit permissions the way every other mutating action does. A staff user who is scoped **read-only** on a folder via `FolderPermission` (`can_edit = DENY`), but who holds the global Django model-level `delete_*` permission, can delete files and entire subfolders inside that folder - even though their move, rename, copy, and resize actions on the same folder are correctly denied. This is an integrity / edit-control gap (unauthorized deletion). It is **not** a read-confidentiality issue: filer files are world-downloadable by design, so no confidentiality claim is made. ## Affected versions - django-filer `<= 3.4.4` (verified end-to-end on 3.4.4 and on `master` prior to the fix). Only installations running with `FILER_ENABLE_PERMISSIONS = True` (the optional per-folder `FolderPermission` system) are affected. Deployments that leave permissions disabled (the default) rely solely on Django model-level permissions and are not impacted by this specific gap. ## Patched versions - Fixed in PR [#1605](https://github.com/django-cms/django-filer/pull/1605). Upgrade to the first release containing that commit (`3.5.0` or later). ## Details The `delete_files_or_folders` admin action in `filer/admin/folderadmin.py` authorized deletion using only: 1. `self.has_delete_permission(request)` - which returns `True` for `obj=None`, and 2. the Django model-level `delete_file` / `delete_folder` / `delete_image` permission (enforced downstream by the admin delete machinery). It never called `check_folder_edit_permissions` or `check_files_edit_permissions`. Every sibling mutating action - move, rename, copy, resize - *does* call these helpers, which walk the selected objects (and their descendants) and enforce the per-folder `can_edit` grant from `FolderPermission`. Because `FolderPermission` has no dedicated `can_delete` field, deletion is treated as an edit/management operation and is gated elsewhere on `can_edit`. The delete action's omission therefore let a folder-scoped read-only user bypass the per-folder control that constrains all their other write operations. ### Precondition The attacker must hold the Django model-level `delete_file` / `delete_folder` / `delete_image` permission. A purely read-only user (no model-level delete perm) receives `403` and cannot exploit this. This precondition matches the standard folder-scoped-staff deployment model, where staff hold model-level permissions and are further constrained per-folder by `FolderPermission`. ## Mitigation - Upgrade to the patched release. - Until upgrading, avoid granting the model-level `delete_file` / `delete_folder` / `delete_image` permission to staff who are meant to be read-only on specific folders via `FolderPermission`. ## Credit Reported through coordinated disclosure. Fixed in PR #1605.

References

Source records: GHSA-vf85-8ff2-3r9w (OSV.dev) · EPSS by FIRST, 2026-11-21.