{"answers":{"affected":"3 open source packages ship an affected version, including org.postgresql:postgresql and postgresql-jdbc-driver. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-54291 in the wild and no public exploit code.","fix":"Upgrade org.postgresql:postgresql to 42.7.12 or later.","what":"CVE-2026-54291 is a high-severity vulnerability in pgjdbc, published on 6 Jul 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-54291 and fix it if it is affected.\n\nWhat it is: CVE-2026-54291 is a high-severity vulnerability in pgjdbc, published on 6 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-54291 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.postgresql:postgresql (Maven): affected from 42.7.4; fixed in 42.7.12\n- org.postgresql:postgresql (Maven): affected from 42.7.4; fixed in 42.7.12\n- postgresql-jdbc-driver (Bitnami): affected from 42.7.4; fixed in 42.7.12\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.\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-54291/ (Markdown: https://insights.sbomify.com/CVE-2026-54291/index.md)","id":"CVE-2026-54291","markdown":"https://insights.sbomify.com/CVE-2026-54291/index.md","name":"CVE-2026-54291","record":{"aliases":["BIT-postgresql-jdbc-driver-2026-54291","CLEANSTART-2026-EP87494","CLEANSTART-2026-KV94279","CLEANSTART-2026-WV63281","CLEANSTART-2026-XF69190","CLEANSTART-2026-ZS37563","DEBIAN-CVE-2026-54291","ECHO-96c6-986e-d7f0","GHSA-j92g-9f8w-j867","MINI-46f5-mcrg-678f","MINI-4mgp-gg4j-pm63","MINI-4mjh-4jpp-rv53","MINI-57m8-j52p-3jp3","MINI-63pg-ww5w-wh24","MINI-6jr6-v7g5-8x9c","MINI-7cc2-826r-p24w","MINI-9mc6-hfq4-59wq","MINI-9r3p-x7hq-rr6j","MINI-c25p-w8qc-qwj2","MINI-fmj6-389f-g4cr","MINI-m9cm-3q73-vh53","MINI-mc72-x8cf-877c","MINI-mpqj-r28h-w78r","MINI-mqh2-7fpq-87gx","MINI-mrf8-9xgx-mfmm","MINI-qmrj-rj7m-32jm","MINI-r4rh-2jcf-48j4","MINI-w3p3-87rm-573j","MINI-x5m6-59rf-r43c","MINI-xjgh-43v6-xfrx","ROOT-APP-MAVEN-CVE-2026-54291","UBUNTU-CVE-2026-54291"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"PostgreSQL JDBC driver","requires_auth":"none","summary":"Attackers can bypass channel-binding protections in PostgreSQL JDBC connections by triggering a silent authentication downgrade, enabling man-in-the-middle attacks.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"postgresql_jdbc_driver","vendor":"postgresql"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-757","name":"Selection of Less-Secure Algorithm During Negotiation"},{"id":"CWE-636","name":"Not Failing Securely"}],"description":"pgjdbc is an open source postgresql JDBC Driver. In releases 42.7.4 through 42.7.11, channelBinding=require connections can be silently downgraded from SCRAM-SHA-256-PLUS with channel binding to plain SCRAM-SHA-256 without it, losing the man-in-the-middle protection the setting is meant to guarantee. An attacker who can intercept the TLS connection can trigger the downgrade with a certificate whose signature algorithm has no tls-server-end-point channel-binding hash, because the bundled com.ongres.scram:scram-client returns an empty byte array instead of failing and pgJDBC ScramAuthenticator checks only that the server advertised a PLUS mechanism, without rejecting the empty binding or checking that the negotiated mechanism uses channel binding. This issue is fixed in version 42.7.12.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Silent channel-binding authentication downgrade via unsupported certificate algorithms","id":"CVE-2026-54291","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"** REJECT ** DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2026-54292"},"packages":[{"ecosystem":"Bitnami","fixed":["42.7.12"],"introduced":["42.7.4"],"last_affected":[],"package":"postgresql-jdbc-driver","purl":"pkg:bitnami/postgresql-jdbc-driver","source":"BIT-postgresql-jdbc-driver-2026-54291"},{"ecosystem":"Maven","fixed":["42.7.12"],"introduced":["42.7.4"],"last_affected":[],"package":"org.postgresql:postgresql","purl":null,"source":"GHSA-j92g-9f8w-j867"},{"ecosystem":"Maven","fixed":["42.7.12"],"introduced":["42.7.4"],"last_affected":[],"package":"org.postgresql:postgresql","purl":"pkg:maven/org.postgresql/postgresql","source":"GHSA-j92g-9f8w-j867"}],"prev":{"headline":"Hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard","id":"CVE-2026-54290"},"products":["pgjdbc"],"published":"2026-07-06","related":[{"cvss_score":8.2,"headline":"pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration","id":"CVE-2025-49146","kev_date_added":null,"published":"2025-06-11"},{"cvss_score":8.1,"headline":"Moderate severity vulnerability that affects org.postgresql:pgjdbc-aggregate","id":"CVE-2018-10936","kev_date_added":null,"published":"2018-08-30"},{"cvss_score":7.5,"headline":"pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS","id":"CVE-2026-42198","kev_date_added":null,"published":"2026-04-29"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-06","vendors":["pgjdbc"]},"summary":"Attackers can bypass channel-binding protections in PostgreSQL JDBC connections by triggering a silent authentication downgrade, enabling man-in-the-middle attacks.","url":"https://insights.sbomify.com/CVE-2026-54291/"}