Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/xyproto/algernon/issues/172
- https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp
FAQ
What is CVE-2026-43982?
CVE-2026-43982 is a documented vulnerability. 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 ch...
How severe is CVE-2026-43982?
CVSS scoring is not yet available for CVE-2026-43982. Check NVD for updates.
Is there a patch for CVE-2026-43982?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.