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

- Severity: None 0.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-11-06T18:37:43.856Z
- Modified: 2026-11-12T20:04:52.377Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- grobidOrg grobid: < 0.9.1

## References

- <https://github.com/grobidOrg/grobid/security/advisories/GHSA-mgxf-7mg7-qpmf>
- <https://github.com/grobidOrg/grobid/pull/1477>
- <https://github.com/grobidOrg/grobid/releases/tag/0.9.1>

## Sources

- CVE List: [CVE-2026-123357](https://www.cve.org/CVERecord?id=CVE-2026-123357), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2026-123357](https://nvd.nist.gov/vuln/detail/CVE-2026-123357), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-123357 · Whole record: https://cve.day/CVE-2026-123357.json · Rebuilt by cve.day 2026-11-25T22:59:49.309Z
