CVE-2026-85714CWE-94code-injection

CVE-2026-85714

Critical · published October 14, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
What it is

Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. Prior to 2.13.2, an authenticated administrator using the default H2 database and security mode can upload a crafted SQL file to POST /api/v1/database/import-database. DatabaseService.validateSqlContent() splits normalized input on semicolons and accepts a statement when it contains any allowed keyword, allowing dangerous H2 functions such as FILE_READ and CSVWRITE, plus CREATE ALIAS, to bypass the insufficient whitelist and execute side effects when RUNSCRIPT processes the file. This permits arbitrary file access. The demonstrated operating-system command execution chain writes attacker-controlled startup files to a user-site location and then triggers an application Python interpreter configured to load those startup files, resulting in command execution as the JVM service account. This issue is fixed in version 2.13.2.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00629 · 49.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-10-14T23:17Z
References (5)
EPSS history
Timeline
  • 16 OCT 03:33Z
    EPSS moved — → 1%
    epss
  • 14 OCT 18:22Z
    Stirling-PDF: Remote Code Execution via H2
    cvelistv5
  • 14 OCT 18:22Z
    Stirling-PDF: Remote Code Execution via H2
    cvelistv5