SecurityContext

CVE-2026-23907: Apache PDFBox - Path Traversal

  • Cve: CVE-2026-23907
  • Name: Apache PDFBox - Path Traversal
  • 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.
  • Impact: Attackers can write files outside intended directories, potentially overwriting critical files or executing arbitrary code.
  • Remediation: Update to a version later than 2.0.35 or 3.0.6 where the extraction path is properly validated.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.0099
  • Epss percentile: 0.63405
  • Assignee: [email protected]
  • Published at: 2026-03-10T18:18:16Z
  • Age in days: 259
  • Modified at: 2026-09-17T17:22:10Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-23907
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/JoakimBulow/CVE-2026-23907poc-in-github2026-01-27

References

UrlSourceTags
https://lists.apache.org/thread/gyfq5tcrxfv7rx0z2yyx4hb3h53ndffwnvdMailing List, Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/03/10/1nvdMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:pdfbox-examples>= 3.0.0, <= 3.0.7; >= 2.0.24, <= 2.0.36nonvd/v1/products/apache/pdfbox-examples

Projects

RepositoryLink kindsIndexedUrl
apache/pdfboxcommit, packageyes/v1/repositories/apache/pdfbox

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-01-27
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts