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.
{
"sources": [
{
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73255",
"published": "2026-08-20T18:16:46.313Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73255",
"imported": "2026-08-23T06:21:13.228Z",
"modified": "2026-08-20T18:16:46.313Z",
"database_specific": {
"status": "Received"
},
"id": "CVE-2026-73255"
},
{
"published": "2026-08-20T17:40:02Z",
"affected": {
"Cesanta:Mongoose": [
"< 7.22"
]
},
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63499",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63499",
"modified": "2026-08-20T17:40:02Z",
"imported": "2026-08-23T06:20:06.545Z",
"id": "EUVD-2026-63499"
}
],
"license": "CC-BY-4.0"
}