CVE Catalog

CVE-2026-43982

HighCVSS 8.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

27th percentile - higher than 27% of all known CVEs

Summary

Algernon before version 1.17.6 contains a vulnerability in the uploadedFileSaveIn() function in lua/upload/upload.go, which uses filepath.Join() with a caller-supplied directory without boundary checking after joining, allowing file writes outside the server's document root.

Risk Assessment

An attacker can upload a file to an arbitrary location on the filesystem, potentially leading to code execution or modification of critical files.

Recommendation

Update Algernon to version 1.17.6 or later.

Other vulnerabilities in Algernon

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS