# CVE-2026-43982: Algernon: Path traversal file write via savein()

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-05-26T16:30:09.964Z
- Modified: 2026-07-24T11:10:00.170Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- xyproto algernon: < 1.17.6

## References

- <https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp>
- <https://github.com/xyproto/algernon/issues/172>

## Sources

- CVE List: [CVE-2026-43982](https://www.cve.org/CVERecord?id=CVE-2026-43982), CVE Terms of Use, modified 2026-05-26
- NVD: [CVE-2026-43982](https://nvd.nist.gov/vuln/detail/CVE-2026-43982), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-43982 · Whole record: https://cve.day/CVE-2026-43982.json · Rebuilt by cve.day 2026-11-25T22:59:22.336Z
