DRUPAL-CONTRIB-2026-341

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/mail_safety/DRUPAL-CONTRIB-2026-341.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-341
Aliases
  • CVE-2026-142395
Published
2026-12-02T17:15:07Z
Modified
2026-12-02T19:15:04Z
Summary
[none]
Details

This module enables you to test and debug outgoing emails, as well as prevent emails from being sent.

In certain cases, the module doesn't securely pass data to PHP's unserialize() function, which could result in remote code execution (RCE) via PHP object injection.

This vulnerability is mitigated by the fact that in order for it to be exploitable, a separate vulnerability must be present to allow an attacker to store malicious data.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/mail_safety

Package

Name
drupal/mail_safety
Purl
pkg:composer/drupal/mail_safety?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.1
Database specific
Show details
{
    "constraint":  "<2.1.1"
}
Type
ECOSYSTEM
Events
Introduced
2.2.0
Fixed
2.2.1
Database specific
Show details
{
    "constraint":  ">=2.2.0 <2.2.1"
}

Database specific

affected_versions
"<2.1.1 || >=2.2.0 <2.2.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/mail_safety/DRUPAL-CONTRIB-2026-341.json"