OS command injection in GROBID through crafted PDF filenames
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
GROBID, machine learning software for extracting information from scholarly documents, is affected before 0.9.1. On the Linux non-server PDF conversion path, a PDF filename that an attacker can influence is interpolated into a bash -c command string through DocumentSource.pdfalto, and a single quote in the filename can break the intended quoting. This is an OS command injection flaw (CWE-78) that allows arbitrary commands to run with GROBID process privileges. The bundled REST server path is not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update GROBID to version 0.9.1, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA grobid (grobidOrg) Fixed in 0.9.1
Timeline
- 2026-11-06 Threatist record created from CVE-2026-123357
- 2026-11-07 CISA SSVC decision points changed
References
More grobidOrg vulnerabilities
- TI-2026-86070 Unbounded thread pool creation in GROBID model training endpoint CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences