Improper Neutralization of Null Byte or NUL Character in Mongoose - #VU168696
Published: November 20, 2026
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.