DRUPAL-CONTRIB-2026-331: Composer/drupal/download_count vulnerability

Published Nov 11, 2026
·
Updated

This module tracks file downloads for private files and provides reports about them.

The module provides the permissions that are never actually checked. A user with only the View download counts permission could export the download log and delete all download records.

This vulnerability is mitigated by the fact that an attacker must have an account with the View download counts permission.

Affected Software

2 affected componentsFixes available
composer/drupal/download_count<2.2.5
2.2.5
composer/drupal/download_count>=3.0.0<3.0.2
3.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/download_count to a version that resolves this vulnerability.

    Fixed in 2.2.5
  2. Upgrade

    Upgrade composer/drupal/download_count to a version that resolves this vulnerability.

    Fixed in 3.0.2

Event History

Nov 11, 2026
Advisory Published
via OSV·05:58 PM
Data Sourced
via OSV·05:58 PM
DescriptionAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Sites using composer/drupal/download_count are exposed if any account has the View download counts permission. The issue requires an authenticated attacker with that permission.

2

What could a user with only the View download counts permission do?

They could export the download log and delete all download records, despite having only the View download counts permission.

3

How can I determine whether my site is at risk?

Review permissions for the download count module and identify accounts or roles granted View download counts. Any such account could perform the unauthorized export and deletion actions described.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203