Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-85714
VULNERABILITY

CVE-2026-85714

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.1
Severity
CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Timeline

Published
Oct 14, 2026 19:17
Modified
Oct 16, 2026 16:00
Last observed
Oct 16, 2026 23:39

CWE

CWE-94

References