{"id":"CVE-2026-142395","aliases":["DRUPAL-CONTRIB-2026-341","EUVD-2026-144940","GHSA-34mp-225q-4g6q"],"status":"published","title":"Mail Safety - Critical - PHP object injection - SA-CONTRIB-2026-341","description":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502"],"published":"2026-12-02T17:15:07Z","modified":"2026-12-05T00:32:08Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/mail_safety","fixed_in":["2.1.1","2.2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/mail_safety","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.1"}]}]}],"products":[{"vendor":"drupal","product":"mail safety"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-341","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142395","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-34mp-225q-4g6q"},{"url":"https://git.drupalcode.org/project/mail_safety","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142395.json","tags":["advisory"]},{"url":"https://www.drupal.org/project/mail_safety","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-142395","title":"Mail Safety - Critical - PHP object injection - SA-CONTRIB-2026-341","description":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T22:50:10.851Z","modified":"2026-12-04T22:50:10.851Z","cwes":["CWE-502"],"updated_at":"2026-12-04T22:55:15.662826Z"}],"euvd":[{"id":"EUVD-2026-144940","description":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T22:50:10Z","modified":"2026-12-04T22:50:10Z","updated_at":"2026-12-05T00:43:28.642833Z"}],"ghsa":[{"id":"GHSA-34mp-225q-4g6q","title":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection....","description":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-05T00:31:58Z","modified":"2026-12-05T00:32:08Z","cwes":["CWE-502"],"updated_at":"2026-12-05T01:00:36.874466Z"}],"nvd":[{"id":"CVE-2026-142395","description":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T23:16:51.273Z","modified":"2026-12-04T23:16:51.273Z","cwes":["CWE-502"],"updated_at":"2026-12-04T23:19:29.191326Z"}],"osv":[{"id":"CVE-2026-142395","title":"Mail Safety - Critical - PHP object injection - SA-CONTRIB-2026-341","description":"Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T22:50:10.851Z","modified":"2026-12-05T00:00:19.558116526Z","cwes":["CWE-502"],"updated_at":"2026-12-05T00:05:02.293245Z"},{"id":"DRUPAL-CONTRIB-2026-341","description":"This module enables you to test and debug outgoing emails, as well as prevent emails from being sent.\n\nIn 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.\n\nThis 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.","status":"published","published":"2026-12-02T17:15:07Z","modified":"2026-12-02T19:15:04.370733113Z","updated_at":"2026-12-02T19:25:40.312943Z"}]}}
