Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.6

CVE-2026-141471: Mongoose client may trust forged server certificate

CVE-2026-141471 · published 4 days ago
Summary

Versions 7.17 through 7.24 of the Mongoose web server library can be tricked into accepting a fake server certificate when only one trusted certificate is configured. This lets an attacker intercept or alter data that should be protected by a secure connection. Upgrade Mongoose to version 7.24 or later to close the gap.

What to do
  • Update debian mongoose to version 7.24+ds-1.
  • Update cesanta mongoose to version 7.24 or later.
Affected software
Ecosystem VendorProductAffected versions
Debian:14 debian mongoose < 7.24+ds-1
Fix: upgrade to 7.24+ds-1
– cesanta mongoose >= 7.17, < 7.24
cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
Ubuntu:26.10 canonical mongoose All versions
Original advisory text
Mongoose: Built-in TLS client accepts a server certificate after issuer signature verification fails
Mongoose is an embedded web server and network library. From 7.17 until 7.24, Mongoose's MG_TLS_BUILTIN client in src/tls_builtin.c can accept an attacker-controlled server certificate chain when configured with a single DER CA certificate and processing a peer-provided chain, because mg_tls_verify_cert_signature() can return a negative issuer-key parsing result that callers negate as though verification succeeded. A crafted issuer with the trusted CA subject and public-key bytes but an unparseable RSA encoding can pair with an attacker-self-signed leaf that is not signed by the trusted CA, allowing a redirected client connection to complete a TLS 1.3 handshake and exchange application data without the trusted CA private key. This issue is fixed in 7.24.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
8.6 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-295Improper Certificate Validation
Timeline
Published1 Dec 2026
Updated5 Dec 2026
First seen1 Dec 2026
Track software like this
Free during beta