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-73251: CWE-295: Improper Certificate Validation in cesanta mongoose

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

Description

Mongoose is an embedded web server and network library. Prior to 7.23, a network attacker can impersonate a TLS server to a Mongoose client configured with a multi-certificate CA bundle. In src/tls_builtin.c, the mg_tls_init() function stores the bundle in tls->ca_bundle_der while tls->ca_der.len remains zero, and mg_tls_recv_cert() uses tls_bundle_find() to accept a Common Name match without calling mg_tls_verify_cert_signature(). A forged self-signed certificate can therefore satisfy hostname and CertificateVerify checks and enable interception, credential disclosure, traffic modification, and malicious responses. This issue is fixed in version 7.23.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
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:N/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.23

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:35 UTC

Technical Analysis

CVE-2026-73251 is a critical vulnerability in the cesanta mongoose library affecting versions prior to 7.23. The flaw arises from improper certificate validation in the TLS implementation. Specifically, in src/tls_builtin.c, the mg_tls_init() function stores the CA bundle incorrectly, leaving tls->ca_der.len at zero. Consequently, mg_tls_recv_cert() uses tls_bundle_find() to accept a Common Name match without verifying the certificate signature via mg_tls_verify_cert_signature(). This allows a network attacker to present a forged self-signed certificate that satisfies hostname and CertificateVerify checks, enabling man-in-the-middle attacks such as interception, credential disclosure, traffic modification, and malicious responses. The vulnerability is addressed in mongoose version 7.23.

Potential Impact

An attacker on the network can impersonate a TLS server to a vulnerable Mongoose client configured with a multi-certificate CA bundle. This impersonation can lead to interception of sensitive data, disclosure of credentials, modification of network traffic, and delivery of malicious responses. The vulnerability undermines the trust model of TLS connections by allowing acceptance of forged self-signed certificates without proper signature verification.

Mitigation Recommendations

This vulnerability is fixed in mongoose version 7.23. Users should upgrade to version 7.23 or later to remediate the issue. No official patch or temporary workaround is documented in the provided data. Patch status is not yet confirmed beyond the stated fix version—check the vendor advisory for current remediation guidance.

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: 6a873eeeacd9273b49f2b5de

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

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

Last updated: 08/20/2026, 23:16:37 UTC

Views: 9

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