{"cve":"CVE-2022-26520","nvd":{"published":"2022-03-10T17:47:45.810","modified":"2026-06-17T04:35:20.700","status":"Modified","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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":[],"references":["https://github.com/pgjdbc/pgjdbc/pull/2454/commits/017b929977b4f85795f9ad2fa5de6e80978b8ccc","https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-673j-qm5f-xpv8","https://jdbc.postgresql.org/documentation/changelog.html#version_42.3.3","https://jdbc.postgresql.org/documentation/head/tomcat.html","https://www.debian.org/security/2022/dsa-5196"],"products":["debian:debian_linux","postgresql:postgresql_jdbc_driver"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2022-26520","score":0.02999,"percentile":0.87361,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-673j-qm5f-xpv8","url":"https://osv.dev/vulnerability/GHSA-673j-qm5f-xpv8","summary":"pgjdbc Arbitrary File Write Vulnerability","modified":"2026-09-10T03:49:16.897291449Z","packages":[{"ecosystem":"Maven","name":"org.postgresql:postgresql","purl":"pkg:maven/org.postgresql/postgresql","ranges":[">=42.1.0 <42.3.3"],"fixed":["42.3.3"]}]},{"id":"GHSA-727h-hrw8-jg8q","url":"https://osv.dev/vulnerability/GHSA-727h-hrw8-jg8q","summary":"Path traversal in org.postgresql:postgresql","modified":"2026-09-10T03:49:13.124569915Z","packages":[{"ecosystem":"Maven","name":"org.postgresql:postgresql","purl":"pkg:maven/org.postgresql/postgresql","ranges":[">=42.1.0 <42.3.3"],"fixed":["42.3.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}