{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.17.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "60bb98841972ffd6a3a32a4cde18517fae0ea2ef"
            }
          ],
          "repo": "https://github.com/xyproto/algernon",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2j2c-pv62-mmcp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43982.json"
  },
  "details": "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.",
  "id": "CVE-2026-43982",
  "modified": "2026-07-08T05:36:19.205583740Z",
  "published": "2026-05-26T16:30:09.964Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43982.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/xyproto/algernon/security/advisories/GHSA-2j2c-pv62-mmcp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43982"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/xyproto/algernon/issues/172"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Algernon: Path traversal file write via savein()"
}