sadrobot

← Back to the monthly list

CVE-2026-85714 Stirling-Tools · Stirling-PDF

9.1 Critical

AI summary

Stirling-PDF before 2.13.2 using the default H2 database lets an authenticated administrator import a crafted SQL file that bypasses an insufficient whitelist, enabling arbitrary file access and command execution as the JVM service account. Critical (9.1); upgrade to 2.13.2.

Official description

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.

Published
2026-10-14 19:17 UTC
Modified
2026-10-16 16:00 UTC
CVSS
9.1 Critical CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
3.77% (percentile 91)
ENISA EUVD
EUVD-2026-101594
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
CWE
CWE-94

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
high
User interaction
none
Scope
changed
Confidentiality
high
Integrity
high
Availability
high

References