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.
Published: 2026-11-06
Score: 0 Low
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

GROBID, a machine‑learning tool for extracting data from scholarly PDFs, contains an OS command injection flaw in its non‑server PDF conversion path. When a PDF file with a specially crafted filename is processed, the filename is interpolated into a bash command string. A single quote in the name can terminate the intended quoting, and the resulting command is executed using ProcessBuilder with the privileges of the GROBID process. The vulnerability allows an attacker to run arbitrary commands on the host, potentially leading to full system compromise.

Affected Systems

All installations of grobidOrg:grobid with a version older than 0.9.1 using the Linux non‑server PDF conversion route are vulnerable. The bundled REST server path is not affected, but any use of the non‑server path with untrusted filenames exposes the system to exploitation.

Risk and Exploitability

The CVSS score is not disclosed, and the EPSS score is unavailable. The vulnerability is not listed in CISA's KEV catalog. Nonetheless, the flaw permits arbitrary command execution with GROBID process privileges, representing a high‑risk exposure. Attackers need only supply a PDF file with a malicious filename; the execution path is directly chained to the ProcessRunner without additional authentication or input checks. The attack vector is inferred to be local file handling, typically through a client uploading a PDF via any interface that triggers the non‑server conversion workflow.

Generated by OpenCVE AI on November 6, 2026 at 19:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official fix by upgrading to GROBID version 0.9.1 or later.
  • If an upgrade is not immediately possible, modify the conversion routine to sanitize filenames: strip or escape characters that can break shell quoting, especially single quotes, and avoid direct interpolation into command strings.
  • Disable or restrict the Linux non‑server PDF conversion endpoint for untrusted input sources, ensuring that only trusted processes can invoke that path.

Generated by OpenCVE AI on November 6, 2026 at 19:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title GROBID is vulnerable to OS command injection through crafted PDF filenames
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-06T18:37:43.856Z

Reserved: 2026-11-05T20:43:10.419Z

Link: CVE-2026-123357

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T19:17:44.393

Modified: 2026-11-06T19:17:44.393

Link: CVE-2026-123357

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T19:30:10Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')