CVE Catalog

CVE-2026-73255

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.59%

46th percentile - higher than 46% of all known CVEs

Summary

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.

Risk Assessment

The attack can lead to disclosure of sensitive files, compromising data confidentiality and potentially enabling further attacks.

Recommendation

It is recommended to upgrade Mongoose to version 7.22 or later and restrict access to SSI files.

Other vulnerabilities in Mongoose

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS