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-30345

CVE-2026-30345: CTFd Path Traversal Vulnerability

CVE-2026-30345 is a path traversal flaw in CTFd v3.8.1 that enables attackers to write arbitrary files outside intended directories through crafted imports. This article covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-30345 Overview

A zip slip vulnerability has been identified in the Admin import functionality of CTFd version 3.8.1-18-gdb5a18c4. This path traversal flaw allows attackers to write arbitrary files outside the intended directories by supplying a crafted import archive. The vulnerability stems from improper validation of file paths within imported ZIP archives, enabling directory traversal sequences to escape the extraction directory.

Critical Impact

Attackers with administrative access can leverage this vulnerability to write malicious files to arbitrary locations on the server, potentially achieving remote code execution by overwriting critical application files or placing webshells in accessible directories.

Affected Products

  • CTFd version 3.8.1-18-gdb5a18c4
  • CTFd versions prior to 3.8.2

Discovery Timeline

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

Technical Details for CVE-2026-30345

Vulnerability Analysis

This vulnerability falls under CWE-23 (Relative Path Traversal), commonly referred to as "Zip Slip." The flaw exists in CTFd's Admin import functionality, which processes uploaded ZIP archives containing CTF challenge data, configurations, and related files. When the application extracts files from a crafted archive, it fails to properly sanitize or validate the file paths embedded within the archive entries.

The attack exploits the fundamental trust placed in archive file paths. A malicious archive can contain entries with path traversal sequences (such as ../) that, when extracted, cause files to be written outside the intended extraction directory. This can result in overwriting sensitive application files, configuration files, or placing malicious scripts in web-accessible directories.

Root Cause

The root cause is insufficient input validation during ZIP archive extraction in the Admin import workflow. When processing archive entries, the application does not properly validate that the resolved destination path remains within the intended extraction directory. This allows specially crafted archive entries containing path traversal sequences like ../../../etc/passwd or ../../../app/routes.py to write files to arbitrary locations on the filesystem.

Attack Vector

The attack requires network access to the CTFd instance and administrative privileges to access the import functionality. An attacker would craft a malicious ZIP archive containing entries with path traversal sequences in their filenames. Upon uploading this archive through the Admin import feature, the vulnerable extraction routine writes files to locations outside the designated import directory.

The vulnerability enables attackers to overwrite application source files with malicious code, place backdoor scripts in web-accessible directories, modify configuration files to weaken security controls, or corrupt critical system files leading to denial of service.

Detection Methods for CVE-2026-30345

Indicators of Compromise

  • Unexpected files appearing in CTFd application directories or parent directories after admin import operations
  • Web server logs showing access to newly created files outside the standard CTFd structure
  • Modified timestamps on critical application files such as routes.py, __init__.py, or configuration files
  • Presence of unfamiliar .py, .html, or .php files in web-accessible directories

Detection Strategies

  • Monitor file system changes in CTFd installation directories and parent paths using file integrity monitoring (FIM) tools
  • Implement logging for all admin import operations and review logs for suspicious activity patterns
  • Deploy web application firewalls (WAF) with rules to inspect uploaded archive contents for path traversal patterns
  • Configure intrusion detection systems to alert on file creation events in sensitive directories following admin operations

Monitoring Recommendations

  • Enable detailed audit logging for the CTFd Admin panel, particularly for import and export operations
  • Monitor process execution and file write events associated with the CTFd application user account
  • Establish baseline file checksums for critical application files and alert on unauthorized modifications
  • Review admin user activity logs for unusual import patterns or imports from untrusted sources

How to Mitigate CVE-2026-30345

Immediate Actions Required

  • Upgrade CTFd to version 3.8.2 or later, which addresses this vulnerability
  • Restrict admin panel access to trusted users only until patching is complete
  • Review recent admin import activity logs for any suspicious imports
  • Perform file integrity checks on the CTFd installation to identify any unauthorized file modifications

Patch Information

CTFd has released version 3.8.2 which addresses this zip slip vulnerability. Administrators should update their CTFd installations immediately. The patch release is documented on the CTFd Blog Update page. Additional information can be found in the GitHub CTFd Repository and the GitHub Security Policy.

A proof-of-concept demonstrating the vulnerability is available at GitHub PoC for CVE-2026-30345.

Workarounds

  • Disable or restrict access to the Admin import functionality until the patch can be applied
  • Implement network-level access controls to limit admin panel access to trusted IP addresses only
  • Deploy a reverse proxy with request inspection to block uploads containing suspicious archive filenames
  • Run CTFd with minimal filesystem permissions to limit the impact of arbitrary file writes
  • Consider running CTFd in a containerized environment with read-only filesystem mounts for critical directories
bash
# Restrict admin panel access via reverse proxy (nginx example)
location /admin {
    allow 10.0.0.0/8;
    deny all;
    proxy_pass http://ctfd_backend;
}

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCtfd

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-23
  • Technical References
  • CTFd Blog Update

  • GitHub CTFd Repository

  • GitHub Security Policy

  • GitHub PoC for CVE-2026-30345
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF 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