Vulnerabilities in pkg:pypi/django-filer

PACKAGE
Advisory Identifier: GHSA-vf85-8ff2-3r9w
Advisory Summary

CVE-2026-69131 is a MODERATE (CVSS 4.3) missing per-object authorization on `discard` vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting django-filer libraries in the PyPI ecosystem. The issue involves missing per-object authorization on `discard` and `edit_redirect` version transitions. Remediation is available by upgrading affected packages to version 3.5.0.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/django-filer

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/django-filer. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vf85-8ff2-3r9w CVE-2026-69131 MODERATE django-filer: Missing per-object authorization on `discard` and `edit_redirect` version transitions
GHSA-j4v3-wwwx-5gqv CVE-2024-11404 MODERATE Django Filer Unrestricted Upload of File with Dangerous Type

CVE-2026-69131 at a Glance

CVE Identifier CVE-2026-69131
GHSA Identifier GHSA-vf85-8ff2-3r9w
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product django-filer
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-69131

To remediate this vulnerability, upgrade all affected django-filer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

django-filer fixed: 3.5.0
pip install django-filer>=3.5.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show django-filer

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-69131, inspect your installed packages using pip:

pip show django-filer

Analyze the terminal output to locate any version of django-filer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.5.0), your application is affected.

Note: The pip show django-filer command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In django-filer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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.

CVE-2026-69131 Affected django-filer Versions

1 component(s)
Fixed Versions:
3.5.0
Product / Package Ecosystem Affected Versions Fixed Version
django-filer
PyPI
< 3.5.0
3.5.0

References

Frequently Asked Questions

What is CVE-2026-69131?
CVE-2026-69131 is a security vulnerability in django-filer involving Missing per-object authorization on `discard` and `edit_redirect` version transitions under CWE-639: Authorization Bypass Through User-Controlled Key.
Which django-filer versions are affected?
Affected versions include releases prior to 3.5.0 across affected packages: django-filer.
What version fixes CVE-2026-69131?
Upgrading to 3.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is django-filer affected?
Yes, django-filer is affected in releases prior to 3.5.0. Upgrade your dependency to 3.5.0 or later.
What is the CVSS score of CVE-2026-69131?
CVE-2026-69131 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-69131?
CVE-2026-69131 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check PyPI dependencies for CVE-2026-69131?
Run the dependency tree command: 'pip show django-filer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vf85-8ff2-3r9w",
  "modified" : "2026-11-18T21:20:42Z",
  "published" : "2026-11-18T21:20:42Z",
  "aliases" : [ "CVE-2026-69131" ],
  "summary" : "django-filer: Missing per-object authorization on `discard` and `edit_redirect` version transitions",
  "details" : "## Summary\n\nWhen 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.\n\nThis 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.\n\n## Affected versions\n\n- django-filer `<= 3.4.4` (verified end-to-end on 3.4.4 and on `master` prior to   the fix).\n\nOnly 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.\n\n## Patched versions\n\n- 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).\n\n## Details\n\nThe `delete_files_or_folders` admin action in `filer/admin/folderadmin.py` authorized deletion using only:\n\n1. `self.has_delete_permission(request)` — which returns `True` for `obj=None`, and\n2. the Django model-level `delete_file` / `delete_folder` / `delete_image`    permission (enforced downstream by the admin delete machinery).\n\nIt 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`.\n\nBecause `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.\n\n### Precondition \n\nThe 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`. \n\n## Mitigation\n\n- Upgrade to the patched release.\n- Until upgrading, avoid granting the model-level `delete_file` /\n  `delete_folder` / `delete_image` permission to staff who are meant to be\n  read-only on specific folders via `FolderPermission`.\n\n## Credit\n\nReported through coordinated disclosure. Fixed in PR #1605.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "django-filer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.5.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.4.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-filer/security/advisories/GHSA-vf85-8ff2-3r9w"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-filer/pull/1605"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-filer/commit/29d20ec0de13d7f77fa2cea93166f8d50a3f508d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-filer/commit/742ba4c3094dd75e586ca3a05e6ad2703de4553b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/django-cms/django-filer"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-filer/releases/tag/3.5.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285", "CWE-639", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-18T21:20:42Z",
    "nvd_published_at" : null
  }
}