Skip to main content
Public proof of conceptAwaiting NVD analysis

CVE-2026-85714

Stirling-PDF: Remote Code Execution via H2

A public proof of concept exists; no exploitation attested.

  • Published2026-10-14
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-10-1419:17CVE publishedNVD

Versions per branch

Products declared by the CNA

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.

  • Stirling-Tools Stirling-PDF
    Affected
    • = < 2.13.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-14

Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-85714 yet.

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-11-30 11:20 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2026-10-15
  • CNACVSS 3.19.1known since 2026-10-23
  • CNAweakness (CWE)CWE-94known since 2026-10-23
  • FIRST EPSSEPSS score3.8 %2026-11-29
  • ProjectDiscoverydetectionread 2026-11-30

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published
2026-10-14
Last modified
2026-10-16
NVD status
Awaiting Analysis

Frequently asked questions

What is CVE-2026-85714?

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.

Is CVE-2026-85714 actively exploited?

A proof-of-concept exploit exists for CVE-2026-85714, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-85714?

CVE-2026-85714 has a CVSS v3 base score of 9.1 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record