BreachSpiderVerified, not vibes

CVE-2022-26520 in Debian Linux and 1 more product

Critical 9.8

In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: t...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS2.7%
EPSS percentile87th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0 11.0
Postgresql Postgresql Jdbc Driver ≥ 42.1.0, ≤ 42.1.4 ≥ 42.3.0, < 42.3.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection properties

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-26520
BreachSpider IDBS-2022-GLOBAL-069994-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-03-10
Last modified2026-06-17
SourceNVD

Analysis AI-written, not human-reviewed

CVE-2022-26520 affects pgjdbc versions before 42.3.3, allowing an attacker to write to arbitrary files through the loggerFile and loggerLevel connection properties, potentially leading to the creation of executable files on the server.

An attacker who controls the JDBC URL or properties can exploit this vulnerability by specifying malicious values for the loggerFile and loggerLevel connection properties, which can result in the creation of arbitrary files, including executable files, on the server.

Questions

What is CVE-2022-26520?

CVE-2022-26520 affects pgjdbc versions before 42.3.3, allowing an attacker to write to arbitrary files through the loggerFile and loggerLevel connection properties, potentially leading to the creation of executable files on the server.

What is the CVSS score for CVE-2022-26520?

CVE-2022-26520 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.7%.

Is CVE-2022-26520 actively exploited?

No confirmed active exploitation of CVE-2022-26520 as of 2026-09-25.

How do I remediate CVE-2022-26520?

Priority: IMMEDIATE. Advisory: https://jdbc.postgresql.org/documentation/head/tomcat.html PSIRT: [email protected]

What systems are affected by CVE-2022-26520?

CVE-2022-26520 affects Debian Debian Linux; Postgresql Postgresql Jdbc Driver.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.