Skip to main content

Mongoose EUVDEUVD-2026-18184

| CVE-2026-5246 LOW
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-04-02 VulDB GHSA-hm7q-jq63-pr78
2.9
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Impact

The CVSS score of 5.6 (Medium) with vector AV:N/AC:H/PR:N/UI:N indicates remote, unauthenticated exploitation with high attack complexity and partial impact on confidentiality, integrity, and availability. The high attack complexity (AC:H) and lack of user interaction requirement balance the network-accessible attack vector. The EPSS vector tag (E:P) confirms publicly available exploit code exists, elevating practical risk despite the medium CVSS score. KEV status is not explicitly confirmed, but public disclosure combined with POC availability signals real-world relevance. The RL:O (Official Fix) and RC:C (Confirmed) ratings indicate vendor responsiveness and stable vulnerability details. Real-world risk is elevated for systems that depend on TLS certificate validation security (embedded systems, IoT devices, firmware updaters). Organizations should prioritize patching based on deployment exposure and reliance on TLS security, not solely on CVSS score.

Exploit ScenarioDerived

An attacker intercepts TLS traffic to a Mongoose-based embedded device or server (e.g., IoT device, firmware update server, or embedded web interface). By exploiting the P-384 signature verification bypass, the attacker crafts a malicious certificate with an invalid signature that passes Mongoose's flawed validation logic, establishing a successful man-in-the-middle position. Publicly available exploit code simplifies execution, allowing automated attacks against vulnerable firmware versions without requiring sophisticated cryptographic knowledge.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 02, 2026

Authorization bypass in Cesanta Mongoose up to version 7.20 allows remote, unauthenticated attackers to bypass TLS certificate signature verification in the P-384 public key handler (mg_tls_verify_cert_signature function in mongoose.c), potentially enabling man-in-the-middle attacks or unauthorized access. The attack is highly complex (CVSS AC:H) but publicly disclosed exploit code exists, with vendor-released patch available in version 7.21.

RemediationAI

Vendor-released patch: Upgrade to Cesanta Mongoose version 7.21 or later, which includes the fix commit 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. This patch directly addresses the P-384 public key signature verification flaw. Installation instructions and release details are available at https://github.com/cesanta/mongoose/releases/tag/7.21. For systems unable to upgrade immediately, restrict TLS connections to trusted certificate authorities or implement certificate pinning to mitigate man-in-the-middle attack risks. No workarounds are available short of upgrade; certificate validation bypass cannot be safely mitigated at the application layer if the underlying TLS library is compromised.

Affected VersionsENISA

Mongoose 7.3
Mongoose 7.1
Mongoose 7.0
Mongoose 7.4
Mongoose 7.20
Mongoose 7.2
Mongoose 7.11
Mongoose 7.6
Mongoose 7.7
Mongoose 7.13
Mongoose 7.8
Mongoose 7.18
Mongoose 7.14
Mongoose 7.15
Mongoose 7.16
Mongoose 7.10
Mongoose 7.19
Mongoose 7.9
Mongoose 7.17
Mongoose 7.12
Mongoose 7.5

Affected Packages

euvd mongoose no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the P-384 elliptic curve cryptography implementation within Mongoose's TLS certificate verification logic, specifically the mg_tls_verify_cert_signature function. P-384 (also known as secp384r1) is a cryptographic algorithm used in digital signature verification during TLS handshakes. The vulnerability (classified as CWE-639: Authorization Bypass Through User-Controlled Key) allows manipulation of the signature verification process, enabling attackers to forge or bypass legitimate certificate validation. This flaw directly impacts the integrity of the TLS stack in Mongoose, a lightweight embedded web server commonly used in IoT devices, firmware, and embedded systems. The CPE cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* indicates all versions up to 7.20 are affected.

Know when Mongoose gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.9 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.3 (MEDIUM) 2.9 (LOW)
Patch released
Apr 02, 2026 - 10:00 nvd
Patch available
CVE Published
Apr 02, 2026 - 09:45 nvd
MEDIUM 6.3

DescriptionCVE.org

A vulnerability was determined in Cesanta Mongoose up to 7.20. Affected is the function mg_tls_verify_cert_signature of the file mongoose.c of the component P-384 Public Key Handler. Executing a manipulation can lead to authorization bypass. The attack can be executed remotely. Attacks of this nature are highly complex. The exploitability is told to be difficult. The exploit has been publicly disclosed and may be utilized. Upgrading to version 7.21 is able to address this issue. This patch is called 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. The affected component should be upgraded. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

14
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Related Vulnerabilities in Cesanta Mongoose TLS and mDNS Handler Flaws

View all 3
CVE-2025-23061 CRITICAL POC
9.0 Jan 15

Mongoose ODM for Node.js before version 8.9.5 contains a search injection vulnerability when using $where filters with p

CVE-2017-2894 CRITICAL POC
9.8 Nov 07

An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6

CVE-2017-2891 CRITICAL POC
9.8 Nov 07

An exploitable use-after-free vulnerability exists in the HTTP server implementation of Cesanta Mongoose 6.8. Rated crit

CVE-2017-2922 CRITICAL POC
9.8 Nov 07

An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8.

CVE-2017-2921 CRITICAL POC
9.8 Nov 07

An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8.

CVE-2023-3696 CRITICAL POC
9.8 Jul 17

Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4. Rated critical severity (CVSS 9.8), this vu

CVE-2022-2564 CRITICAL POC
9.8 Jul 28

Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6. Rated critical severity (CVSS 9.8), this vu

CVE-2019-19307 CRITICAL POC
9.8 Nov 26

An integer overflow in parse_mqtt in mongoose.c in Cesanta Mongoose 6.16 allows an attacker to achieve remote DoS (infin

CVE-2024-53900 CRITICAL POC
9.1 Dec 02

Mongoose before 8.8.3 can improperly use $where in match, leading to search injection. Rated critical severity (CVSS 9.1

CVE-2021-26530 CRITICAL POC
9.1 Feb 08

The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 (compiled with OpenSSL support) is vulnerable to remote OO

CVE-2021-26529 CRITICAL POC
9.1 Feb 08

The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable

CVE-2021-26528 CRITICAL POC
9.1 Feb 08

The mg_http_serve_file function in Cesanta Mongoose HTTP server 7.0 is vulnerable to remote OOB write attack via connect

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy