{"id":"CVE-2026-43982","aliases":["CVE-2026-43982"],"related":[],"kind":"vulnerability","state":"published","title":"Algernon: Path traversal file write via savein()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Algernon es un pequeño servidor web autocontenido y puro-Go. Antes de la 1.17.6, uploadedFileSaveIn() en lua/upload/upload.go usa filepath.Join() con el directorio proporcionado por el llamador pero no realiza ninguna comprobación de límites después de la unión. Un directorio de .. / ../../tmp se resuelve limpiamente a /tmp, fuera de la raíz web. Esta vulnerabilidad se corrige en la 1.17.6.","source":"nvd"}],"published":"2026-05-26T16:30:09.964Z","modified":"2026-07-24T11:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.7,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.17.6","status":"affected"}],"vendor":"xyproto","product":"algernon","source":"cvelist"}],"references":[{"url":"https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/xyproto/algernon/issues/172","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-26T17:17:18.510Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43982","url":"https://www.cve.org/CVERecord?id=CVE-2026-43982","licence":"CVE Terms of Use","modified":"2026-05-26T17:20:19.616Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43982","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43982","licence":"Public domain","modified":"2026-07-24T11:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:22.336Z","epss":{"score":0.00344,"percentile":0.29983,"date":"2026-12-01T12:00:22.000Z"}}