Improper Neutralization of Null Byte or NUL Character in Mongoose - #VU168696

 

Improper Neutralization of Null Byte or NUL Character in Mongoose - #VU168696

Published: November 20, 2026


Vulnerability identifier: #VU168696
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-158
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to read files protected by application-level URI authorization.

The vulnerability exists due to improper handling of decoded null bytes in mg_http_serve_dir when mapping request URIs to filesystem paths. A remote attacker can request a protected file using a URI that the application's authorization check and the file server interpret differently to bypass the access rule.


Affected software

Mongoose

Remediation

Install security update from vendor's website.

Mongoose - update to 7.24

External References

Related Security Bulletins