Drupal security updates, in plain English · Module

Media Library Importer

818 sites report using it · on drupal.org · 1 security update explained here

This module imports media files into a media library.

Below is every security update for Media Library Importer that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Media Library Importer

Moderately critical · 818 sites report using it · SA-CONTRIB-2026-129 · on drupal.org · Week of 2 September 2026

The module copies files from any folder the web user can read into the public files folder. A user with an ordinary account could make private files available for anyone to download at a predictable web address. They could not change any data.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youAny site using this module.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Media Library Importer to 2.1.6.

For developers: what the fix changed

The fix adds validation in `ConfigurationForm::validateForm` and `MediaLibraryImporterService::isWithinPublicFilesDirectory` to ensure that the configured import folder is located within the public files directory, preventing access to arbitrary directories.

Also in this release Added a 'process_queue_on_submit' setting, improved queue processing logic, updated documentation, and fixed PHPStan/PHPCS issues.

2.1.5 to 2.1.6 22 commits, 20 files.

  • .gitlab-ci.yml +30 −0
  • Agents.md +69 −0
  • CLAUDE.md +5 −0
  • README.md +58 −31
  • composer.json +1 −1
  • config/install/media_library_importer.settings.yml +1 −0
  • config/schema/media_library_importer.schema.yml +4 −0
  • doc/drupal_org_documentation/description.html +15 −1
  • media_image_exif_importer/media_image_exif_importer.info.yml +0 −1
  • media_image_exif_importer/src/Plugin/media/Source/ImageWithExif.php +1 −1
  • media_library_importer.install +13 −11
  • media_library_importer.links.menu.yml +12 −12

Full diff, 2.1.5 to 2.1.6

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.