Intel

AIKIDO-2025-10776

django-dbbackup is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 7, 2025

99

Critical Risk

This Affects:

PYTHONdjango-dbbackup
5.0.0 - 5.0.0
Fixed in 5.0.1
Are you affected? Scan for Free

TL;DR

In version 5.0.0, the package changes its configuration system for backup storage, dropping support for DBBACKUP_STORAGE and DBBACKUP_STORAGE_OPTIONS in favor of Django’s STORAGES['dbbackup'] setting. However, if users do not explicitly define STORAGES['dbbackup'], the system defaults to using Django’s media directory (MEDIA_ROOT) as the backup location. This default behavior introduces a serious security vulnerability, as it can expose database backups — potentially containing sensitive user data — in a publicly accessible directory. The issue highlights the risk of insecure default configurations, where failing to define a new setting silently leads to unsafe behavior instead of triggering an explicit error. The fixed version will raise an error if the STORAGES['dbbackup'] setting is not defined, preventing the exposure of sensitive data.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you have not set the new STORAGES['dbbackup'] setting.

Background info

django-dbbackup is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 5.0.0 - 5.0.0.

How to fix this

Check if your data is not compromised and make sure STORAGES['dbbackup'] is set. Upgrading the django-dbbackup library to the patch version is not necessary but recommended to ensure that the fix is applied.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform