CVE-2026-123357

published 6 Nov 2026 · updated 12 Nov 2026

GROBID is vulnerable to OS command injection through crafted PDF filenames

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

GROBID is machine learning software for extracting information from scholarly documents. Prior to 0.9.1, the Linux non-server PDF conversion path in grobid-core/src/main/java/org/grobid/core/document/DocumentSource.java passes an attacker-influenced PDF filename through DocumentSource.pdfalto, which interpolates the path into a bash -c command string. A single quote in the filename can terminate the intended quoting, and ProcessRunner.run in grobid-core/src/main/java/org/grobid/core/process/ProcessRunner.java starts the resulting command through ProcessBuilder, allowing arbitrary commands to execute with GROBID process privileges. The bundled REST server path is not affected. This issue is fixed in version 0.9.1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
grobidOrg<0.9.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-123357 severity on Zeptric[![CVE-2026-123357](https://zeptric.io/badge/cve/CVE-2026-123357.svg)](https://zeptric.io/cve/CVE-2026-123357)