PatchClock

PHP security digest · 4 Nov 2026

The Mime Mail module gives Drupal sites the ability to send HTML email messages. Under rare site configuration conditions, a user with the ability to send HTML...

Unrated CVE-2026-122082

Package
drupal/mimemail
Fixed in
2.0.4
Published
Wed 4 Nov 2026, 17:51 LisbonUpdated Sun 15 Nov 2026, 00:45 Lisbon

In plain words

Under rare site configuration conditions, a user able to send HTML emails through Mime Mail could send non-public data uploaded to the files directory. They would need advance knowledge of the uploaded files and the ability to set the recipient list.

How serious is it?

The source record has no severity score, so the rating is yours to make. Read the description for two things: what an attacker needs (an account, a particular setting, a user who clicks a link) and what they get. Drupal security advisories carry their own risk score on drupal.org, which is not in the OSV record. When the advisory gives no details at all, assume the worst until you know more: an unfixed issue with an unknown impact is not a low one.

Am I affected?

Look for drupal/mimemail and its version in composer.lock. The advisory lists 2.0.4 as fixed but gives no affected version range. Check whether users can send HTML emails and set recipient lists, and whether non-public data has been uploaded to the files directory. The rare site configuration conditions are not specified.

Did you install drupal/mimemail, or did a dependency?

Composer says why a package is in your project:

composer why drupal/mimemail

If the output names your own project, you required drupal/mimemail directly and the update is yours to make. If it names another package, drupal/mimemail came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:

composer why-not drupal/mimemail 2.0.4

Every line it prints is a constraint that blocks 2.0.4. Update the package it names, or raise your own constraint, and run it again until it prints nothing.

What to do

Check which version you have, then update to a fixed release for your branch (2.0.4):

composer show drupal/mimemail | grep versions
composer update drupal/mimemail

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

If you cannot update yet

The advisory says the risk is mitigated by the attacker needing advance knowledge of uploaded files and the ability to send HTML emails and set the recipient list.

Check the whole project at once

Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:

composer audit --locked

--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.

Under the Cyber Resilience Act

CRA Article 14 timeline: aware of exploitation at hour 0, early warning within 24 hours, notification within 72 hours, final report within 14 days after the fix.

No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.

Either way, if drupal/mimemail ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated drupal/mimemail, and why, is the evidence you will want later.

What goes in each Article 14 report · Does the CRA apply to your product?

drupal/mimemail's record

This is the only advisory for drupal/mimemail since the digest started following Composer packages in September 2026. One advisory says little about a package's quality; what matters is how fast the fix came, and here it is out.

The advisory's description

The Mime Mail module gives Drupal sites the ability to send HTML email messages.

Under rare site configuration conditions, a user with the ability to send HTML emails could send non-public data that had been uploaded to the files directory,

This vulnerability is mitigated by the fact the attacker would need advance knowledge of uploaded files, and to send HTML emails and set the recipient list.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description is OSV's record of the advisory. "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.