CVE-2026-55618: Eml parser Eml_parser Has A URL Extraction Vulnerability
MODERATECVE-2026-55618 is a MODERATE (CVSS 6.5) eml_parser has a url extraction vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Eml parser libraries in the PyPI ecosystem. The issue involves eml_parser has a url extraction bypass via html entities in urls. Remediation is available by upgrading affected packages to version 3.0.2.
CVE-2026-55618 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-55618
To remediate this vulnerability, upgrade all affected Eml parser dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install eml_parser>=3.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show eml_parser
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-55618, inspect your installed packages using pip:
pip show eml_parser
Analyze the terminal output to locate any version of Eml parser in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.2), your application is affected.
Note: The pip show eml_parser command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Eml parser, 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-55618 Affected Eml parser Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
eml_parser
|
PyPI |
< 3.0.2
|
3.0.2
|
References
Frequently Asked Questions
What is CVE-2026-55618?
Which Eml parser versions are affected?
What version fixes CVE-2026-55618?
Is eml_parser affected?
What is the CVSS score of CVE-2026-55618?
What CWE is associated with CVE-2026-55618?
How can I check PyPI dependencies for CVE-2026-55618?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fxgq-9m89-cxj9",
"modified" : "2026-08-25T18:23:16Z",
"published" : "2026-08-25T18:23:16Z",
"aliases" : [ "CVE-2026-55618" ],
"summary" : "eml_parser has a URL extraction bypass via HTML entities in URLs",
"details" : "## Summary\n\n`eml_parser` performs certain validations on potential URL strings to discard bogus values. In versions prior to `3.0.2`, this validation was performed before unescaping any HTML entities that might occur in the string. This caused the library to wrongfully reject valid URLs that use HTML entities for the `:`, `/`, or `.` characters. These URLs would then not be included in the list of extracted URLs. Similarly, the host parts of such URLs would not be extracted.\n\nFor example, neither the URL `https://phishing.example.com` nor its host (`phishing.example.com`) would appear in the parsing result.\n\n## Impact\n\n`eml_parser` is used in email security gateways and SOC pipelines to extract URLs as IOCs. Those URLs are then checked against threat-intel feeds, URL reputation services, and sandboxes. A URL that is not extracted is never checked.\n\n## Patches\n\nSince version 3.0.2 the library unescapes all HTML entities in every URL before deciding to accept or reject it. A test was added to prevent regressions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "eml_parser"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-fxgq-9m89-cxj9"
}, {
"type" : "WEB",
"url" : "https://github.com/GOVCERT-LU/eml_parser/pull/90"
}, {
"type" : "WEB",
"url" : "https://github.com/GOVCERT-LU/eml_parser/commit/746a69f86443eb0b6a47f77db3cfe727c21f92b3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/GOVCERT-LU/eml_parser"
}, {
"type" : "WEB",
"url" : "https://github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-25T18:23:16Z",
"nvd_published_at" : null
}
}