CVE-2026-73255

MEDIUM CVSS 3.1: 6.5 EPSS 0.66%
Updated Oct 18, 2026
Cesanta
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 7.22
Fixed In 7.22
Type CWE-22 (Path Traversal)
Vendor Cesanta
Public PoC No

Mongoose is an embedded web server and network library. Prior to 7.22, an attacker who can control an SSI-enabled file can place directory traversal sequences in an #include file or #include virtual directive. The mg_ssi() function in src/ssi.c concatenates the directive argument into a filesystem path without calling mg_path_is_sane(), allowing an MG_ENABLE_SSI deployment with ssi_pattern configured to disclose files readable by the Mongoose process.

This issue is fixed in version 7.22.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Cesanta Mongoose
cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
— 7.22