{"id":"JLSEC-2026-1376","aliases":["JLSEC-2026-1376"],"related":["CVE-2026-73251","EUVD-2026-63494"],"kind":"vulnerability","state":"published","title":"Mongoose is an embedded web server and network library.","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2026-08-24T13:43:17.899Z","modified":"2026-08-24T14:00:03.406Z","severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Julia","package":"Mongoose_jll","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c","source":"jlsec"}],"references":[{"url":"https://github.com/cesanta/mongoose/commit/2988bc9df3a5efc9539471cb7455975fa25df483","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.23","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-qj6j-2692-v2r8","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1376","url":"https://osv.dev/vulnerability/JLSEC-2026-1376","licence":"CC-BY-4.0","modified":"2026-08-24T14:00:03.406Z"}],"updatedAt":"2026-11-25T22:56:25.960Z"}