{
  "id": "CVE-2026-32731",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32731",
  "published_at": "2026-03-18T22:03:25.682Z",
  "title": "ApostropheCMS has Arbitrary File Write (Zip Slip / Path Traversal) in Import-Export Gzip Extraction",
  "vendor": "apostrophecms",
  "product": "import-export",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-19T02:28:15Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.2,
    "repo": "0xEr3n/CVE-2026-32731",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ApostropheCMS is an open-source content management framework. Prior to version 3.5.3 of `@apostrophecms/import-export`,\nThe `extract()` function in `gzip.js` constructs file-write paths using `fs.createWriteStream(path.join(exportPath, header.name))`. `path.join()` does not resolve or sanitise traversal segments such as `../`. It concatenates them as-is, meaning a tar entry named `../../evil.js` resolves to a path outside the intended extraction directory. No canonical-path check is performed before the write stream is opened. This is a textbook Zip Slip vulnerability. Any user who has been granted the Global Content Modify permission — a role routinely assigned to content editors and site managers — can upload a crafted `.tar.gz` file through the standard CMS import UI and write attacker-controlled content to any path the Node.js process can reach on the host filesystem. Version 3.5.3 of `@apostrophecms/import-export` fixes the issue.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:apostrophecms:import-export:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "0xEr3n/CVE-2026-32731",
      "url": "https://github.com/0xEr3n/CVE-2026-32731",
      "created_at": "2026-03-19T02:28:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-01-31T07:56:50Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "apostrophecms",
        "product": "import-export",
        "ranges": [
          "\u003c 3.5.3"
        ],
        "fixed_in": [
          "3.5.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade import-export to 3.5.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-mwxc-m426-3f78"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
