CVE Explore

Path Traversal in Cesanta Mongoose

CVE-2026-73255

CVSS v3
6.5 Medium
Public exploits
None known
EPSS
0.007 · 52.4th percentile
Published
2026-08-20

What to do

Fixed in
7.22
Affected
1 affected product

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.007, 52.4th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References