{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134845 exists.","exposure":"An affected version is only exploitable if your software calls BaseDataSource.setUrl(). Many projects that include it are not exposed.","fix":"Upgrade pgjdbc to 42.2.5 or later. The advisory says that version fixes it.","what":"CVE-2026-134845 is a high-severity security feature bypass vulnerability in pgjdbc, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-134845 and fix it if it is affected.\n\nWhat it is: CVE-2026-134845 is a high-severity security feature bypass vulnerability in pgjdbc, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134845 exists.\nExposure: An affected version is only exploitable if your software calls BaseDataSource.setUrl(). Many projects that include it are not exposed.\n\nAffected product: pgjdbc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to BaseDataSource.setUrl() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-134845/ (Markdown: https://insights.sbomify.com/CVE-2026-134845/index.md)","id":"CVE-2026-134845","markdown":"https://insights.sbomify.com/CVE-2026-134845/index.md","name":"CVE-2026-134845","record":{"aliases":["DEBIAN-CVE-2026-134845","GHSA-3mrw-838h-x9j9","UBUNTU-CVE-2026-134845"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Java database driver","requires_auth":"none","requires_specific_call":true,"summary":"Network attackers can read and alter traffic because pgjdbc ignores some TLS settings when a service name is used; Java apps using pgjdbc should care.","user_interaction":"not_required","vuln_class":"security_feature_bypass","vulnerable_functions":["BaseDataSource.setUrl()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"PostgreSQL","component":null,"cpe":[],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"},{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes or verify-full gives sslmode=prefer, or no TLS before 42.2.5. A service given in the Properties instead of the URL is ignored, so the sslmode of its pg_service.conf entry is lost. BaseDataSource.setUrl() keeps an sslmode, channelBinding or gssEncMode that was set before it. An attacker on the network path can then read and change the traffic. Versions 9.4.1208 through 42.7.14 are affected, and 42.7.15 fixes the problem.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"pgjdbc does not enforce TLS for some ssl, service and DataSource settings","id":"CVE-2026-134845","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":1,"n_vendor_status":0,"next":{"headline":"pgjdbc GSS encryption accepts replayed packets and can stop encrypting","id":"CVE-2026-134846"},"nickname":null,"packages":[],"prev":{"headline":"pgjdbc catalog queries can run objects of other database roles","id":"CVE-2026-134844"},"products":["pgjdbc"],"published":"2026-11-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","text_fixes":["42.2.5"],"updated":"2026-11-23","vendor_status":[],"vendors":["pgjdbc"]},"summary":"Network attackers can read and alter traffic because pgjdbc ignores some TLS settings when a service name is used; Java apps using pgjdbc should care.","url":"https://insights.sbomify.com/CVE-2026-134845/"}