Path Traversal: \'../filedir\' in nim - CVE-2022-23602
Published: January 31, 2022 / Updated: November 25, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose the contents of arbitrary local files readable by the parser.
The vulnerability exists due to insufficient path restrictions in Nim's reStructuredText parser when it processes include directives in sandboxed mode. A remote attacker can supply crafted reStructuredText content to expose local file contents in the rendered output.