CVE-2026-48747: Symfony Mailomat Mailer Webhook Parser Reads Vulnerability
MODERATECVE-2026-48747 is a MODERATE mailomat mailer webhook parser reads vulnerability (CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')) affecting Symfony libraries in the Packagist ecosystem. The issue involves mailomat mailer webhook parser reads the hmac algorithm from the request: signature algorithm downgrade. Remediation is available by upgrading affected packages to version 7.4.13, 8.0.13.
CVE-2026-48747 at a Glance
How to Fix CVE-2026-48747
To remediate this vulnerability, upgrade all affected Symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/mailomat-mailer to 7.4.13
Upgrade symfony/mailomat-mailer to 8.0.13
Upgrade symfony/symfony to 7.4.13
Upgrade symfony/symfony to 8.0.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/mailomat-mailer
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-48747, inspect your project dependencies for Symfony:
inspect dependencies for symfony/mailomat-mailer
Analyze the terminal output to locate any version of Symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.4.13), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade'), where a protocol or its implementation supports interaction between multiple actors and allows those actors to negotiate which algorithm should be used as a protection mechanism such as encryption or authentication, but it does not select the strongest algorithm that is available to both parties. In Symfony, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48747 Affected Symfony Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/mailomat-mailer
|
Packagist |
≥ 7.2.0
< 7.4.13
|
7.4.13
|
|
symfony/mailomat-mailer
|
Packagist |
≥ 8.0.0
< 8.0.13
|
8.0.13
|
|
symfony/symfony
|
Packagist |
≥ 7.2.0
< 7.4.13
|
7.4.13
|
|
symfony/symfony
|
Packagist |
≥ 8.0.0
< 8.0.13
|
8.0.13
|
References
Frequently Asked Questions
What is CVE-2026-48747?
Which Symfony versions are affected?
What version fixes CVE-2026-48747?
Is symfony/mailomat-mailer affected?
Is symfony/symfony affected?
What CWE is associated with CVE-2026-48747?
How can I check Packagist dependencies for CVE-2026-48747?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rrj9-5q2j-4gvr",
"modified" : "2026-06-15T17:32:28Z",
"published" : "2026-06-15T17:32:28Z",
"aliases" : [ "CVE-2026-48747" ],
"summary" : "Symfony: Mailomat Mailer Webhook Parser Reads the HMAC Algorithm from the Request: Signature Algorithm Downgrade",
"details" : "### Description\n\n`Symfony\\Component\\Mailer\\Bridge\\Mailomat\\Webhook\\MailomatRequestParser::validateSignature()` parses the `X-MOM-Webhook-Signature` request header as `algo=signature` and passes the wire-supplied `$algo` directly to `hash_hmac()` when verifying the request against the configured webhook secret. The request therefore selects the HMAC primitive used to authenticate it.\n\nPHP's `hash_hmac()` enforces only that the chosen algorithm is HMAC-compatible. That set still includes primitives with known cryptanalysis (`md4`, `md5`, `ripemd128`, `tiger128,3`, … — e.g. existential forgery of HMAC-MD4, Contini & Yin, ASIACRYPT 2006). This is the canonical algorithm-confusion shape, analogous to JWT `alg=none` / `alg=HS256` downgrades: any future cryptographic weakness in any HMAC primitive PHP exposes becomes immediately exploitable against a Mailomat webhook receiver, the moment an attacker is in a position to compute a signature for that primitive, without a code change on the Symfony side.\n\nMailomat's [documented webhook security](https://api.mailomat.swiss/docs/#tag/webhook-security) pins SHA-256; the parser did not.\n\n### Resolution\n\n`MailomatRequestParser::validateSignature()` now requires the signature header to be of the form `sha256=<hex>` and verifies the signature with HMAC-SHA256 keyed by the configured secret using a constant-time comparison. Any other algorithm declared on the wire (including the HMAC primitives PHP would otherwise accept) is rejected.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/bdfe9fe0d94d33dfaca0bc2fe0b00b54767b0c88) for branch 7.4 (and forward-ported to 8.0 and 8.1).\n\n### Credits\n\nSymfony would like to thank Omar Alshammari, Essam Alanazi and Alwaleed Alshammari for reporting the issue and Nicolas Grekas for providing the fix.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/mailomat-mailer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.2.0"
}, {
"fixed" : "7.4.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/mailomat-mailer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.0.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.2.0"
}, {
"fixed" : "7.4.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.0.13"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/security/advisories/GHSA-rrj9-5q2j-4gvr"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/bdfe9fe0d94d33dfaca0bc2fe0b00b54767b0c88"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/mailomat-mailer/CVE-2026-48747.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-48747.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2026-48747"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347", "CWE-757" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-15T17:32:28Z",
"nvd_published_at" : null
}
}