Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
grobidOrg grobid
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GROBID 是一款用于从学术文档中提取信息的机器学习软件。在 0.9.1 版本之前, 中 Linux 非服务器模式的 PDF 转换路径,会将攻击者可控制的 PDF 文件名传递给 方法;该方法将该路径拼接到一条 命令字符串中。如果文件名中包含单个引号,即可提前终止预期的引号配对,而 中的 方法会通过 启动由此生成的命令,从而导致攻击者能够以 GROBID 进程权限执行任意命令。此问题不影响捆绑的 REST 服务器路径。该漏洞已在 0.9.1 版本中修复。

Affected Version Matrix 1

VendorProduct Version RangeStatus
grobidOrg grobid < 0.9.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-123357

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GROBID is vulnerable to OS command injection through crafted PDF filenames
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
grobidOrg grobid < 0.9.1 -

II. Public POCs for CVE-2026-123357

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-123357

请登录查看更多情报信息。

Other References for CVE-2026-123357 (3)

IV. Related Vulnerabilities