Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32731

CVE-2026-32731: ApostropheCMS Path Traversal Vulnerability

CVE-2026-32731 is a path traversal flaw in ApostropheCMS that allows authenticated users to write files outside intended directories via malicious tar archives. This post covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-32731 Overview

CVE-2026-32731 is a critical Path Traversal vulnerability (Zip Slip) affecting ApostropheCMS, an open-source content management framework. Prior to version 3.5.3 of the @apostrophecms/import-export module, the extract() function in gzip.js fails to sanitize file paths when extracting tar archives, allowing authenticated attackers to write arbitrary files to the host filesystem.

Critical Impact

Authenticated users with Global Content Modify permissions can upload malicious .tar.gz files through the CMS import UI and write attacker-controlled content to any path accessible by the Node.js process, potentially leading to complete system compromise.

Affected Products

  • ApostropheCMS @apostrophecms/import-export versions prior to 3.5.3
  • ApostropheCMS deployments with import/export functionality enabled
  • Systems where content editors or site managers have Global Content Modify permissions

Discovery Timeline

  • 2026-03-18 - CVE CVE-2026-32731 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32731

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), commonly known as a "Zip Slip" vulnerability. The flaw exists in the archive extraction routine where user-supplied filenames from tar entries are not properly validated before being used to construct file write paths.

When a .tar.gz file is uploaded through the ApostropheCMS import interface, the extract() function in gzip.js processes each entry in the archive. The function uses fs.createWriteStream(path.join(exportPath, header.name)) to create output files, where header.name comes directly from the archive entry. The path.join() function does not resolve or sanitize traversal segments like ../, meaning it concatenates them as-is. Consequently, a malicious tar entry named ../../evil.js would resolve to a path outside the intended extraction directory.

No canonical-path check is performed before the write stream is opened, allowing attackers to escape the designated extraction directory and write files anywhere on the filesystem that the Node.js process has write permissions.

Root Cause

The root cause is the absence of input validation and path canonicalization when constructing file paths from archive entries. The path.join() function, while useful for concatenating path segments, does not provide any security guarantees against directory traversal. The vulnerable code trusts the header.name value from the archive without verifying that the resulting path remains within the intended extraction directory.

A secure implementation would resolve the final path using path.resolve() and then verify that it starts with the expected extraction directory prefix before allowing any file write operations.

Attack Vector

The attack can be executed remotely over the network by any authenticated user who has been granted the Global Content Modify permission. This permission level is routinely assigned to content editors and site managers, significantly expanding the potential attack surface within organizations using ApostropheCMS.

The attacker crafts a malicious .tar.gz archive containing entries with path traversal sequences (e.g., ../../.env, ../../../etc/cron.d/malicious). When this archive is uploaded through the standard CMS import interface, the extraction process writes attacker-controlled content to arbitrary filesystem locations. This could be leveraged to overwrite application configuration files, inject malicious code into web-accessible directories, or establish persistence mechanisms on the server.

Detection Methods for CVE-2026-32731

Indicators of Compromise

  • Unexpected file creation or modification outside of the ApostropheCMS upload directories
  • Presence of suspicious files in parent directories relative to the application root
  • Anomalous tar archive uploads containing path traversal sequences (../)
  • New or modified files in system directories matching timestamps of recent import operations

Detection Strategies

  • Monitor file system activity from Node.js processes for writes outside expected directories
  • Implement log analysis rules to detect tar archive uploads with suspicious entry names
  • Configure intrusion detection systems to alert on directory traversal patterns in uploaded files
  • Review web application logs for import operations followed by unexpected system changes

Monitoring Recommendations

  • Enable detailed audit logging for all CMS import/export operations
  • Deploy file integrity monitoring on critical system directories and application files
  • Implement real-time alerting for file creation events in sensitive paths by web application processes
  • Regularly review users with Global Content Modify permissions and audit their import activity

How to Mitigate CVE-2026-32731

Immediate Actions Required

  • Upgrade @apostrophecms/import-export to version 3.5.3 or later immediately
  • Review recent import operations for signs of exploitation
  • Audit the filesystem for unexpected file modifications, particularly outside application directories
  • Temporarily restrict Global Content Modify permissions to essential personnel only

Patch Information

ApostropheCMS has released version 3.5.3 of the @apostrophecms/import-export module which addresses this vulnerability. Organizations should update their dependencies immediately using their package manager. Additional details are available in the GitHub Security Advisory.

Workarounds

  • Disable the import/export module entirely if not required for business operations
  • Implement network-level restrictions to limit access to CMS administrative functions
  • Apply filesystem permissions to restrict write access from the Node.js process
  • Deploy a web application firewall rule to inspect and block malicious archive uploads
bash
# Example: Update the vulnerable package
npm update @apostrophecms/import-export@3.5.3

# Verify the installed version
npm list @apostrophecms/import-export

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechApostrophecms

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39857: ApostropheCMS Auth Bypass Vulnerability

  • CVE-2026-33889: ApostropheCMS Stored XSS Vulnerability

  • CVE-2026-40186: ApostropheCMS sanitize-html XSS Vulnerability

  • CVE-2026-35569: ApostropheCMS Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English