WaratekVRT Sign in

CVE-2026-23907

Severity5.3 Medium CVSS 3.1
Fixed in3.0.7
WeaknessPath traversal (CWE-22)
Published10 Mar 2026
Updated17 Sep 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.99% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2026-23907 - pdfbox - Path Traversal 2026-01-27

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2026-23907

Upgrade the affected software to 3.0.7 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.pdfbox:pdfbox-examples 2.0.24 3.0.7 unbounded

Products and versions

2 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd apache pdfbox-examples generic ≥ 2.0.24 and ≤ 2.0.36 · ≥ 3.0.0 and ≤ 3.0.7
osv org.apache.pdfbox pdfbox-examples generic ≥ 2.0.24 and < 3.0.7

References

URLTags
https://github.com/apache/pdfbox/commit/b028eafdf101b58e4ee95430c3be25e3e3aa29d7 WEB
https://github.com/apache/pdfbox PACKAGE
https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffw WEB
http://www.openwall.com/lists/oss-security/2026/03/10/1 WEB
https://github.com/JoakimBulow/ Not Applicable

Timeline

Published2026-03-10By the CVE Program.
NVD record modified2026-09-17NVD's own last-modified date for this record.