ADVISORIES

Vulnerability

CVE-2022-26520

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

11 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • DEBIAN-CVE-2022-26520

    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…

    CVE-2022-26520 Debian Updated 20 November 2026
  • DSA-5196-1

    libpgjava - security update

    CVE-2022-21724CVE-2022-26520 Debian Updated 20 November 2026
  • GHSA-673j-qm5f-xpv8

    pgjdbc Arbitrary File Write Vulnerability

    Moderate CVE-2022-26520 Maven Updated 10 September 2026
  • GHSA-727h-hrw8-jg8q

    Path traversal in org.postgresql:postgresql

    Low CVE-2022-26520 Maven Updated 10 September 2026
  • RHVEX-CVE-2022-26520

    postgresql-jdbc: Arbitrary File Write Vulnerability

    Moderate CVE-2022-26520 Red Hat Updated 23 November 2026
  • SUSE-FU-2022:2794-1

    Feature update for ongres-scram, ongres-stringprep, postgresql-jdbc

    CVE-2022-26520 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2143-1

    Recommended update for SUSE Manager 4.1.15 Release Notes

    CVE-2022-21724CVE-2022-21952CVE-2022-26520CVE-2022-31248 SUSE Updated 4 February 2026
  • SUSE-SU-2022:2145-1

    Security update for SUSE Manager Server 4.1

    CVE-2022-21698CVE-2022-21724CVE-2022-21952CVE-2022-26520 SUSE Updated 4 February 2026
  • SUSE-SU-2022:2655-1

    Security update for postgresql-jdbc

    CVE-2022-26520 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2022-26520

    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…

    Moderate CVE-2022-26520 SUSE Updated 16 October 2026
  • UBUNTU-CVE-2022-26520

    ** DISPUTED ** 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…

    CVE-2022-26520 Ubuntu Updated 16 July 2025

References