Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73255: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cesanta mongoose

0
Medium
VulnerabilityCVE-2026-73255cvecve-2026-73255cwe-22
Published: 08/20/2026 (08/20/2026, 17:40:02 UTC)
Source: CVE Database V5
Vendor/Project: cesanta
Product: mongoose

Description

CVE-2026-73255 is a path traversal vulnerability in the cesanta mongoose embedded web server prior to version 7.22. It allows an attacker who controls an SSI-enabled file to use directory traversal sequences in #include directives, potentially disclosing files readable by the Mongoose process. The vulnerability arises because the mg_ssi() function concatenates directive arguments into filesystem paths without proper sanitization. This issue is fixed in version 7.22.

CVSS v3.1

Score 6.5medium

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

Affected software

GitHub Actionsmore threats →ai
cesanta/mongoose
pkg:github/cesanta/mongoose
Affected versions
<7.22

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 18:08:10 UTC

Technical Analysis

The vulnerability exists in the mg_ssi() function of the cesanta mongoose embedded web server and network library before version 7.22. When SSI (Server Side Includes) is enabled, an attacker controlling an SSI-enabled file can insert directory traversal sequences in #include file or #include virtual directives. The function mg_ssi() concatenates these directives into filesystem paths without validating them using mg_path_is_sane(), allowing unauthorized file disclosure. This improper limitation of pathname to a restricted directory is classified as CWE-22. The issue is resolved in mongoose version 7.22.

Potential Impact

An attacker with the ability to control an SSI-enabled file can exploit this vulnerability to read arbitrary files accessible by the Mongoose process. This can lead to disclosure of sensitive information. The CVSS score of 6.5 (medium severity) reflects the network attack vector with low complexity and no user interaction required, but requires some privileges (PR:L). There is no indication of integrity or availability impact.

Mitigation Recommendations

This vulnerability is fixed in mongoose version 7.22. Users should upgrade to version 7.22 or later to remediate this issue. No official patch or temporary fix details are provided beyond this version update. Until upgrading, restricting access to SSI-enabled files and limiting permissions of the Mongoose process may reduce exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-11T17:18:01.598Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a873eeeacd9273b49f2b5e4

Added to database: 08/20/2026, 17:52:46 UTC

Last enriched: 08/20/2026, 18:08:10 UTC

Last updated: 08/20/2026, 18:12:07 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses