The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-70952

CVE-2025-70952: pf4j Path Traversal Vulnerability

CVE-2025-70952 is a path traversal flaw in pf4j that enables Zip Slip attacks through improper zip entry handling. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: March 27, 2026

CVE-2025-70952 Overview

CVE-2025-70952 is a path traversal vulnerability affecting pf4j (Plugin Framework for Java) in versions prior to commit 20c2f80. The vulnerability exists in the extract() function of Unzip.java, where improper handling of zip entry names allows directory traversal or Zip Slip attacks due to a lack of proper path normalization and validation.

Critical Impact

Attackers can exploit this vulnerability to write arbitrary files outside the intended extraction directory, potentially overwriting critical system files or application binaries to achieve remote code execution.

Affected Products

  • pf4j versions prior to commit 20c2f80089d1ea779e22c2de5f109a0bce4e1b14
  • Applications using vulnerable pf4j plugin extraction functionality
  • Java applications implementing pf4j for plugin management

Discovery Timeline

  • 2026-03-25 - CVE CVE-2025-70952 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2025-70952

Vulnerability Analysis

This path traversal vulnerability, commonly known as "Zip Slip," occurs when the pf4j framework extracts plugin archives without properly validating the destination paths of extracted files. When a malicious plugin ZIP file containing entries with directory traversal sequences (such as ../../../etc/passwd or similar patterns) is processed, the extract() function in Unzip.java fails to normalize and validate the resulting file paths.

The lack of proper path validation means that an attacker can craft a malicious ZIP archive where file entries contain relative path components that escape the intended extraction directory. When the vulnerable extract() function processes these entries, files are written to arbitrary locations on the filesystem, potentially overwriting configuration files, executables, or other sensitive data.

Root Cause

The root cause of this vulnerability is insufficient input validation in the extract() function of Unzip.java. The function fails to:

  1. Normalize the extracted file paths to resolve relative path components
  2. Validate that the final destination path remains within the intended extraction directory
  3. Reject or sanitize zip entries containing directory traversal sequences like ../

Without these safeguards, the function trusts the file names within the ZIP archive and writes files to whatever path is specified, allowing escape from the intended directory.

Attack Vector

The attack requires an adversary to provide a malicious ZIP file to be processed by the vulnerable pf4j extraction functionality. This could occur through:

  1. Uploading a malicious plugin to an application that uses pf4j for plugin management
  2. Tricking an administrator into installing a crafted plugin package
  3. Compromising a plugin repository or distribution channel

When the malicious archive is extracted, files are written to attacker-controlled paths outside the intended plugin directory. Successful exploitation can lead to arbitrary file write, configuration tampering, or code execution if system binaries or startup scripts are overwritten.

The vulnerability mechanism involves crafted ZIP entries with traversal sequences in their names. When extracted without proper path validation, these entries escape the target directory and write to arbitrary filesystem locations. For detailed technical information and proof-of-concept examples, see the GitHub Gist PoC and GitHub Issue Discussion #618.

Detection Methods for CVE-2025-70952

Indicators of Compromise

  • Unexpected files appearing in directories outside plugin installation paths
  • Modified system files, configuration files, or application binaries with recent timestamps
  • ZIP extraction operations writing to paths containing ../ sequences in logs
  • Unusual file write events to sensitive directories during plugin installation

Detection Strategies

  • Monitor filesystem events for file creation in unexpected directories during plugin extraction operations
  • Implement file integrity monitoring on critical system and application files
  • Analyze application logs for extraction operations involving paths with directory traversal patterns
  • Deploy runtime application self-protection (RASP) to detect path traversal attempts

Monitoring Recommendations

  • Enable detailed logging for all plugin installation and extraction operations
  • Set up alerts for file modifications in sensitive system directories during plugin-related activities
  • Review pf4j-based application logs for extraction path anomalies
  • Implement canary files in critical directories to detect unauthorized modifications

How to Mitigate CVE-2025-70952

Immediate Actions Required

  • Update pf4j to a version containing commit 20c2f80089d1ea779e22c2de5f109a0bce4e1b14 or later
  • Audit all existing plugins for potential malicious content before extraction
  • Restrict plugin installation to trusted sources only
  • Implement additional filesystem access controls around plugin directories

Patch Information

The vulnerability has been addressed in commit 20c2f80089d1ea779e22c2de5f109a0bce4e1b14. Organizations should update their pf4j dependency to include this fix. The patch implements proper path normalization and validation to ensure extracted files cannot escape the intended destination directory.

For patch details, see the GitHub Commit Changes. Additional discussion is available in GitHub Issue Discussion #623.

Workarounds

  • Implement a wrapper around the extraction functionality that validates destination paths before file write operations
  • Use containerization or sandboxing to limit the filesystem access of applications using pf4j
  • Deploy file system permissions to prevent the application from writing outside designated directories
  • Manually validate plugin archives before installation using tools that detect Zip Slip vulnerabilities
bash
# Configuration example
# Verify pf4j version includes the security fix
# Check if your project uses the patched commit
git log --oneline | grep 20c2f80

# Update pf4j in Maven pom.xml to latest version
# Ensure version >= 3.x.x with commit 20c2f80 included

# Restrict plugin directory permissions
chmod 755 /app/plugins
chown -R appuser:appgroup /app/plugins

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechPf4j

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.06%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • GitHub Gist PoC

  • GitHub Commit Changes

  • GitHub Issue Discussion #618

  • GitHub Issue Discussion #623
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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