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 | Vendor | Product | Affected 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.
References
- https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58... Patch
- https://github.com/cesanta/mongoose/releases/tag/7.24 URL
- https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-1414... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-141471 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-141471 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-141471 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-141471 Third Party Advisory
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
Type
CWE-295Improper Certificate Validation
Timeline
Published1 Dec 2026
Updated5 Dec 2026
First seen1 Dec 2026
Sources
CVE-2026-141471 · NVD
CVE-2026-141471 · MITRE
CVE-2026-141471 · OSV
GHSA-wv74-vfp5-x4cp · GHSA
DEBIAN-CVE-2026-141471 · OSV
UBUNTU-CVE-2026-141471 · OSV
Track software like this
Free during beta