{"id":"CVE-2026-43982","state":"PUBLISHED","title":"Algernon: Path traversal file write via savein()","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.","publishedAt":"2026-05-26T16:30:09.964Z","updatedAt":"2026-05-26T17:20:19.616Z","severity":{"score":8.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["xyproto algernon"],"affected":[{"vendor":"xyproto","product":"algernon","versions":[{"version":"< 1.17.6","status":"affected"}]}],"references":["https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp","https://github.com/xyproto/algernon/issues/172"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43982.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43982","state":"PUBLISHED","datePublished":"2026-05-26T16:30:09.964Z","dateUpdated":"2026-05-26T17:20:19.616Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-04T20:24:31.916Z"},"containers":{"cna":{"title":"Algernon: Path traversal file write via savein()","descriptions":[{"lang":"en","value":"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":[{"vendor":"xyproto","product":"algernon","versions":[{"version":"< 1.17.6","status":"affected"}]}],"references":[{"url":"https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp","name":"https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xyproto/algernon/issues/172","name":"https://github.com/xyproto/algernon/issues/172","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-26T16:30:09.964Z"},"source":{"advisory":"GHSA-2j2c-pv62-mmcp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-26T17:17:18.510189Z","id":"CVE-2026-43982","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-26T17:20:19.616Z"}}]}}}