Skip to main content

CVE-2026-85714: CWE-94: Improper Control of Generation of Code ('Code Injection') in Stirling-Tools Stirling-PDF

0
Critical
VulnerabilityCVE-2026-85714cvecve-2026-85714cwe-94
Published: 10/14/2026 (10/14/2026, 18:22:21 UTC)
Source: CVE Database V5
Vendor/Project: Stirling-Tools
Product: Stirling-PDF

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected software

Stirling-Tools

Stirling-PDF

Affected versions
<2.13.2

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-04T14:45:10.647Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acfceae2cdf04f656a1f7e6

Added to database: 10/14/2026, 18:49:18 UTC

Last updated: 10/14/2026, 18:49:18 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses