SA-CORE-2025-008: Critical severity Drupal Drupal vulnerability
The core system module handles downloads of private and temporary files. Contrib modules can define additional kinds of files (schemes) that may also be handled by the system module. In some cases, files may be served with the HTTP header Cache-Control: public when they should be uncacheable. This can lead to some users getting cached versions of files with information they should not be able to access. For example, files may be cached by Varnish or a CDN. This vulnerability is mitigated by the following:
Drupal must be configured to handle non-public files using a custom or contributed module providing an additional file scheme. An attacker must know to request a file that has previously been requested by a more-privileged user, and that file must still be cached.
Credit
Affected Software
Event History
Frequently Asked Questions
What is the severity of SA-CORE-2025-008?
The severity of SA-CORE-2025-008 is rated as moderately critical due to the potential exposure of private files.
How do I fix SA-CORE-2025-008?
To fix SA-CORE-2025-008, upgrade your Drupal installation to a version higher than 10.4.9, 10.5.6, 11.1.9, or 11.2.8.
What versions of Drupal are affected by SA-CORE-2025-008?
SA-CORE-2025-008 affects Drupal versions 10.4.9, 10.5.6, 11.1.9, and 11.2.8.
What types of files are influenced by SA-CORE-2025-008?
SA-CORE-2025-008 influences the serving of private and temporary files, potentially marking them as cacheable when they should not be.
Is there a risk of data leakage with SA-CORE-2025-008?
Yes, SA-CORE-2025-008 poses a risk of data leakage as it can inadvertently expose private files to public access.