Skip to content
OpenAdvisories
High · 8.7 CVE-2026-43982 EUVD-2026-31863

Algernon: Path traversal file write via savein()

Published May 26, 2026 · Updated May 26, 2026 · Assigned by GitHub_M

Description

Algernon is a small self-contained pure-Go web server. Prior to 1.17.6, uploadedFileSaveIn() in lua/upload/upload.go uses filepath.Join() with the caller-supplied directory but performs no boundary check after joining. A directory of ../../../tmp resolves cleanly to /tmp, outside the web root. This vulnerability is fixed in 1.17.6.

Affected products

VendorProductAffectedFixed
xyproto algernon < 1.17.6 —

References