CVE-2026-123357

Source
https://cve.org/CVERecord?id=CVE-2026-123357
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123357.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-123357
Aliases
  • GHSA-mgxf-7mg7-qpmf
Published
2026-11-06T18:37:43Z
Modified
2026-11-14T02:30:33Z
Severity
  • 0.0 (None) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N CVSS Calculator
Summary
GROBID is vulnerable to OS command injection through crafted PDF filenames
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-78"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123357.json"
}
References

Affected packages

Git / github.com/grobidorg/grobid

Affected ranges

Type
GIT
Repo
https://github.com/grobidorg/grobid
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.9.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "original_tag":  "0.9.1",
            "range":  [
                {
                    "fixed":  "523bb8e97f357e93682dc4eaa6d22faa8b5b93de"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.9.1"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

0.*
0.5.0
0.5.2
0.5.3
0.5.5
0.5.6
0.6.0
0.6.2
0.7.0
0.7.1
0.7.3
0.8.0
0.8.1
0.8.2
grobid-parent-0.*
grobid-parent-0.3.0
grobid-parent-0.3.1
grobid-parent-0.3.3
grobid-parent-0.3.4
grobid-parent-0.3.5
grobid-parent-0.3.6
grobid-parent-0.3.8
grobid-parent-0.4.0
grobid-parent-0.4.2
grobid-parent-0.4.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123357.json"