5.3
MEDIUM CVSS 3.1
CVE-2026-23907
Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Description

This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.35, from 3.0.0 through 3.0.6. The ExtractEmbeddedFiles example contains a path traversal vulnerability (CWE-22) because the filename that is obtained from PDComplexFileSpecification.getFilename() is appended to the extraction path. Users who have copied this example into their production code should review it to ensure that the extraction path is acceptable. The example has been changed accordingly, now the initial path and the extraction paths are converted into canonical paths and it is verified that extraction path contains the initial path. The documentation has also been adjusted.

INFO

Published Date :

March 10, 2026, 6:18 p.m.

Last Modified :

March 13, 2026, 4:45 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-23907 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache pdfbox
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
Update Apache PDFBox and review example code for path traversal.
  • Update to a patched version of Apache PDFBox.
  • Review and sanitize extracted file paths.
  • Ensure extraction path is within the initial path.
  • Update related documentation.
Public PoC/Exploit Available at Github

CVE-2026-23907 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-23907.

URL Resource
https://github.com/JoakimBulow/ Not Applicable
https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffw Mailing List Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/03/10/1 Mailing List Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-23907 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 weeks ago
7589 stars 1242 fork 1242 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 778 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-23907 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-23907 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 13, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:* versions from (including) 2.0.24 up to (including) 2.0.35 *cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (including) 3.0.7
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/10/1 Types: Mailing List, Third Party Advisory
    Added Reference Type Apache Software Foundation: https://github.com/JoakimBulow/ Types: Not Applicable
    Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffw Types: Mailing List, Vendor Advisory
  • New CVE Received by [email protected]

    Mar. 10, 2026

    Action Type Old Value New Value
    Added Description This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.35, from 3.0.0 through 3.0.6. The ExtractEmbeddedFiles example contains a path traversal vulnerability (CWE-22) because the filename that is obtained from PDComplexFileSpecification.getFilename() is appended to the extraction path. Users who have copied this example into their production code should review it to ensure that the extraction path is acceptable. The example has been changed accordingly, now the initial path and the extraction paths are converted into canonical paths and it is verified that extraction path contains the initial path. The documentation has also been adjusted.
    Added CWE CWE-22
    Added Reference https://github.com/JoakimBulow/
    Added Reference https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffw
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 10, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 10, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/10/1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.