CVE-2026-73251: Mongoose Built-in TLS: CA-bundle certificate chain accepted without any signature verification

Published Aug 20, 2026
·
Updated

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/tlsbuiltin.c, the mgtlsinit() function stores the bundle in tls->cabundleder while tls->cader.len remains zero, and mgtlsrecvcert() uses tlsbundlefind() to accept a Common Name match without calling mgtlsverifycertsignature(). 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.

Affected Software

1 affected component
Mongoose Mongoose<7.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mongoose Built-in TLS (embedded web server/network library) to a version that resolves this vulnerability.

    Fixed in 7.23

Event History

Aug 20, 2026
CVE Published
via MITRE·05:34 PM
Data Sourced
via MITRE·05:34 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Mongoose clients using the built-in TLS implementation and configured with a CA bundle containing multiple certificates are exposed in versions before 7.23. The issue affects outbound TLS client connections rather than a Mongoose server merely accepting inbound TLS connections.

2

What must an attacker be able to do to exploit it?

The attacker must be able to intercept or otherwise position themselves on the network path to the Mongoose client's TLS server connection. They can then present a forged self-signed certificate whose Common Name matches the target hostname.

3

Does a single configured CA certificate trigger the vulnerable behavior?

The described flaw is specific to a multi-certificate CA bundle. In that configuration, certificate selection can accept a Common Name match without verifying the certificate signature.

4

What is the remediation?

Upgrade Mongoose to version 7.23, which fixes the issue. If an immediate upgrade is not possible, avoid configuring affected clients with multi-certificate CA bundles.

5

How can I identify potentially affected clients?

Review Mongoose clients running a version earlier than 7.23 and inspect their built-in TLS configuration for a CA bundle with multiple certificates. Clients that use such a bundle for outbound TLS hostname validation should be treated as potentially affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203