Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73253: CWE-295: Improper Certificate Validation in cesanta mongoose

0
Critical
VulnerabilityCVE-2026-73253cvecve-2026-73253cwe-295
Published: 08/20/2026 (08/20/2026, 17:41:02 UTC)
Source: CVE Database V5
Vendor/Project: cesanta
Product: mongoose

Description

Mongoose is an embedded web server and network library. Prior to version 7.22, an on-path network attacker with a wildcard certificate for a parent domain can impersonate deeper subdomains to a client using the built-in TLS stack. The mg_tls_verify_cert_san() and mg_tls_verify_cert_cn() functions in src/tls_builtin.c call mg_match(), whose wildcard can cross DNS label boundaries, so a pattern such as *.example.com can match foo.bar.example.com. The resulting hostname verification bypass permits interception and modification of TLS traffic. This issue is fixed in version 7.22.

CVSS v4.0

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
cesanta/mongoose
pkg:github/cesanta/mongoose
Affected versions
<7.22

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 18:07:23 UTC

Technical Analysis

CVE-2026-73253 is a critical improper certificate validation vulnerability (CWE-295) in the cesanta mongoose embedded web server and network library. Before version 7.22, the built-in TLS stack's hostname verification functions mg_tls_verify_cert_san() and mg_tls_verify_cert_cn() use mg_match() which allows wildcard certificates such as *.example.com to match unintended deeper subdomains like foo.bar.example.com. This hostname verification bypass enables an on-path attacker possessing a wildcard certificate for a parent domain to impersonate deeper subdomains to the client, potentially intercepting and modifying TLS traffic. The vulnerability is resolved in mongoose version 7.22.

Potential Impact

An attacker with a wildcard certificate for a parent domain can impersonate deeper subdomains to clients using the vulnerable mongoose TLS stack, enabling interception and modification of TLS traffic. This compromises the confidentiality and integrity of communications relying on mongoose's TLS verification prior to version 7.22.

Mitigation Recommendations

This vulnerability is fixed in mongoose version 7.22. Users should upgrade to version 7.22 or later to remediate this issue. No official patch or temporary fix is documented beyond upgrading. Since this is not a cloud service, remediation depends on applying the fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-11T17:18:01.598Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a873eeeacd9273b49f2b5e0

Added to database: 08/20/2026, 17:52:46 UTC

Last enriched: 08/20/2026, 18:07:23 UTC

Last updated: 08/20/2026, 23:34:14 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses