Directory Traversal Vulnerability in Algernon Web Server by XYPROTO
CVE-2026-43982
8.7HIGH
What is CVE-2026-43982?
Algernon, a self-contained pure-Go web server, has a directory traversal vulnerability that allows attackers to access files outside the intended web root. This occurs in the uploadedFileSaveIn() function prior to version 1.17.6, where improper boundary checks after using filepath.Join() can lead to exposure of sensitive data. An attacker can exploit this by constructing a directory path that resolves to locations outside the safe directory, such as ../../../tmp, compromising server security. Users are advised to update to version 1.17.6 or later to mitigate this risk.
Affected Version(s)
algernon < 1.17.6
