{"id":"CVE-2026-43982","published":"2026-05-26T16:30:09Z","modified":"2026-05-26T17:20:19Z","title":"Algernon: Path traversal file write via savein()","vendor":"xyproto","product":"algernon","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00344,"percentile":0.28704,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xyproto/algernon/issues/172","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":5.74},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xyproto","affectedVersions":[{"vendor":"xyproto","product":"algernon","versions":["< 1.17.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-26T17:17:18.510189Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31863","exploited":false,"provenance":"source"}}