CVE-2026-123357 GROBID is vulnerable to OS command injection through crafted PDF filenames

None 0.0 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-123357?

CVE-2026-123357 is a vulnerability in grobidOrg grobid, published on 6 Nov 2026.

Official description

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.

Weakness: CWE-78

Which versions are affected by CVE-2026-123357?

How do I fix CVE-2026-123357?

No fix has been published for CVE-2026-123357 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-123357 being exploited?

There is no known exploitation of CVE-2026-123357 in the wild and no public exploit code.

Sources

Also known as GHSA-mgxf-7mg7-qpmf.

Is CVE-2026-123357 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free