What’s Vulnerable › Vulnerabilities
CVE-2026-43982: Algernon: Path traversal file write via savein()
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-26 · updated 2026-07-24
- Weakness: CWE-22
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
- xyproto algernon: before 1.17.6
References
- https://github.com/xyproto/algernon/issues/172
- https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp
Get alerted when CVE-2026-43982 or the next vulnerability affects your stack