Skip to main content
← Vulnerabilities

GROBID is vulnerable to OS command injection through crafted PDF filenames

0.0NoneCNA
Exploited
No known exploitation
Fix
Fixed in 0.9.1
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 0.9.1.

Published
Last modified
17/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

GROBID, machine learning software for extracting information from scholarly documents, can be made to run arbitrary commands with the privileges of the GROBID process through a crafted PDF filename in its non-server Linux PDF conversion path. The attack can be launched remotely without logging in, and the bundled REST server path is not affected.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

17Pcve.now Index 17 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity0/10CVSS 0.0
  • No patch0/5No signal

What would change the score

  • Would score about 62 if added to CISA KEV
  • Would score about 57 if CISA's SSVC rates exploitation active
  • Would score about 22 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 0.9.1.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • grobidOrg grobid

    fixed in 0.9.1

Evidence 3

  1. Advisory
  2. Repository
  3. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-123357

Is CVE-2026-123357 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-123357?

grobid: before 0.9.1.Source: cve.now feed data

How do I fix CVE-2026-123357?

Upgrade to a fixed version: 0.9.1.Source: cve.now feed data