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

CVE-2026-33929: Apache PDFBox Path Traversal Vulnerability

CVE-2026-33929 is a path traversal vulnerability in Apache PDFBox ExtractEmbeddedFiles example that allows malicious PDFs to write files to unintended locations. This article covers technical details, affected versions, and mitigations.

Published: April 17, 2026

CVE-2026-33929 Overview

CVE-2026-33929 is a Path Traversal vulnerability (CWE-22) affecting the ExtractEmbeddedFiles example in Apache PDFBox. This vulnerability exists due to an incomplete fix for a previously disclosed path traversal issue (CVE-2026-23907). The flawed remediation in versions 2.0.36 and 3.0.7 fails to properly consider file path separators, allowing attackers to craft malicious PDF files that can write to arbitrary paths beyond the intended directory.

When a user processes a maliciously crafted PDF file using the vulnerable ExtractEmbeddedFiles example code, an attacker can potentially write files to unintended locations on the filesystem. For example, a user with write permissions to /home/ABC could be victimized by a malicious PDF that attempts to write to paths like /home/ABCDEF, effectively bypassing the intended directory restriction.

Critical Impact

Attackers can exploit this path traversal vulnerability to write malicious files to arbitrary filesystem locations, potentially enabling code execution or data compromise in affected environments.

Affected Products

  • Apache PDFBox ExtractEmbeddedFiles example versions 2.0.24 through 2.0.36
  • Apache PDFBox ExtractEmbeddedFiles example versions 3.0.0 through 3.0.7
  • Applications that have copied the vulnerable ExtractEmbeddedFiles example code into production

Discovery Timeline

  • April 14, 2026 - CVE-2026-33929 published to NVD
  • April 14, 2026 - Last updated in NVD database

Technical Details for CVE-2026-33929

Vulnerability Analysis

This path traversal vulnerability exists within the ExtractEmbeddedFiles example code of Apache PDFBox. The vulnerability is a bypass of an earlier security fix implemented for CVE-2026-23907. The original patch attempted to restrict file extraction to a designated directory, but the implementation contains a critical flaw in how it validates file paths.

The issue stems from the code not properly considering the file path separator character when validating the target extraction path. This incomplete validation allows an attacker to construct a filename that appears to be within the allowed directory but actually resolves to a different path on the filesystem.

For instance, if the extraction code permits writing to /home/ABC, an attacker can craft a PDF with embedded files that target /home/ABCDEF or other paths that share the same prefix but are not within the intended directory. The path validation check incorrectly passes because it only verifies that the path starts with the allowed prefix, without ensuring the path actually descends into the allowed directory.

Root Cause

The root cause is improper input validation in the file path sanitization logic. When extracting embedded files from a PDF document, the code validates that the destination path begins with an allowed directory prefix. However, it fails to verify that the path includes the proper directory separator after the prefix, enabling directory traversal through prefix manipulation. This is a classic case of incomplete path canonicalization where the security check does not account for all possible path construction techniques.

Attack Vector

The attack is network-accessible and requires a user with write permissions on a target directory to process a maliciously crafted PDF file. The attacker creates a PDF document containing embedded files with specially crafted filenames designed to exploit the flawed path validation. When the victim uses the ExtractEmbeddedFiles utility to process this PDF, the embedded files are written to unintended locations on the filesystem.

The exploitation scenario involves:

  1. An attacker crafting a PDF with embedded files containing path traversal sequences
  2. The victim downloading and processing the malicious PDF using the vulnerable example code
  3. Files being extracted to directories outside the intended extraction location
  4. Potential for overwriting critical files or placing malicious executables in sensitive locations

The attack requires low privileges (the victim must have write access to the target path) and no user interaction beyond processing the PDF file.

Detection Methods for CVE-2026-33929

Indicators of Compromise

  • Unexpected file writes to directories outside designated extraction paths
  • PDF files with embedded filenames containing unusual path patterns or long prefixes
  • File creation events in directories sharing common prefixes with legitimate extraction directories
  • Presence of unexpected files in user home directories or application directories

Detection Strategies

  • Monitor file system activity during PDF processing operations for writes to unexpected locations
  • Implement file integrity monitoring on sensitive directories that share prefixes with PDF extraction targets
  • Review application logs for extraction operations where destination paths do not include proper directory separators
  • Deploy endpoint detection rules to alert on suspicious file writes following PDF document processing

Monitoring Recommendations

  • Enable audit logging for file creation events in directories adjacent to PDF extraction targets
  • Monitor for PDF files being processed that contain unusually long embedded filenames
  • Set up alerts for applications using Apache PDFBox versions in the affected range
  • Review code repositories for copies of the vulnerable ExtractEmbeddedFiles example code

How to Mitigate CVE-2026-33929

Immediate Actions Required

  • Update Apache PDFBox to version 2.0.37 or 3.0.8 when available
  • Apply the fix provided in GitHub PR 427 immediately
  • Audit production code for any copies of the ExtractEmbeddedFiles example and apply the patch
  • Restrict permissions on directories that could be targeted through prefix manipulation

Patch Information

Apache has acknowledged this vulnerability and recommends updating to version 2.0.37 or 3.0.8 once available. In the interim, users should apply the fix provided in the GitHub PDFBox Pull Request. Organizations that have incorporated the ExtractEmbeddedFiles example code into their own applications must manually apply the security fix to their codebase.

Additional details are available in the Apache Mailing List Discussion and the Apache Mailing List Thread.

Workarounds

  • Implement additional path validation that ensures the canonical path of extracted files is strictly within the intended directory
  • Use getCanonicalPath() to resolve the actual file path and verify it starts with the allowed directory including the trailing separator
  • Process PDF files in an isolated environment or sandbox with restricted filesystem permissions
  • Avoid processing untrusted PDF documents until the patch is applied
  • Configure file system permissions to prevent writes to directories that share prefixes with extraction targets

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechApache Pdfbox

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub PDFBox Pull Request

  • Apache Mailing List Discussion

  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-23907: Apache PDFBox Path Traversal 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