{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "6.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3be6837ed1f1cce82a303a0919a33a657ee8a1a9"
            }
          ],
          "repo": "https://github.com/lin-snow/ech0",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142182.json"
  },
  "details": "Ech0 through 6.0.0 contains a path traversal vulnerability in the snapshot migration importer that allows attackers to write files outside data/files by supplying file keys containing '..' segments. Attackers can craft a snapshot whose files table holds keys like images/../../name with a matching archive file, creating new files elsewhere in the server's data directory when an administrator imports it.",
  "id": "CVE-2026-142182",
  "modified": "2026-12-02T21:45:26.068673599Z",
  "published": "2026-12-02T16:51:09.597Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142182.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lin-snow/Ech0"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/lin-snow/Ech0/blob/v6.0.0/internal/migrator/importer/ech0/importer.go#L452-L500"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/lin-snow/Ech0/blob/v6.0.0/internal/migrator/importer/ech0/importer.go#L507-L518"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142182"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ech0-through-6.0.0-path-traversal-via-snapshot-migration-importer"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ech0 through 6.0.0 Path Traversal via Snapshot Migration Importer"
}