Read the docs
TI-2022-08993 Aliases CVE-2022-25299GHSA-q66h-r8q8-x284

Arbitrary file write in cesanta/mongoose

Priority MEDIUM 45CWE-552Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-552.

Summary

This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder.

Why it matters now

EPSS 0.01394 72nd percentileScored 2026-11-07
Fix Fixed cesanta/mongoose: 7.6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—cesanta/mongoosebefore 7.67.6Patch availableCNA
  • cesanta/mongoose Vendor— Affected before 7.6 Fixed in 7.6 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*before 7.6VulnerableCesanta
  • cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* Versions before 7.6 Vulnerable ·Cesanta

Remediation

  • Fix · CNA cesanta/mongoose Fixed in 7.6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25299
  2. 2026-10-03 Alias added: GHSA-q66h-r8q8-x284

References

  • TI-2026-51393 Mongoose: Content-Length + Transfer-Encoding coexistence enables request smuggling CVSS 3.1CRITICAL 9.1
  • TI-2026-51389 Mongoose: TLS Hostname Verification Bypass via Overly Permissive Wildcard Matching CVSS 4.0CRITICAL 9.1
  • TI-2023-02723 Cesanta Mongoose MQTT Message Parsing Heap Overflow CVSS 3.1HIGH 8.8
  • TI-2020-15865 Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file. CVSS 3.1HIGH 8.8
  • TI-2023-17032 The HTTP server in Mongoose before 7.10 accepts requests containing negative… CVSS 3.1HIGH 7.5
  • TI-2026-06113 Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop CVSS 4.0MEDIUM 6.9
See all 54 →

Sources