{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-136501 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"No fix has been published for CVE-2026-136501 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-136501 is a high-severity other vulnerability in PostgreSQL psqlODBC, published on 25 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-136501 and fix it if it is affected.\n\nWhat it is: CVE-2026-136501 is a high-severity other vulnerability in PostgreSQL psqlODBC, published on 25 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-136501 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected product: PostgreSQL psqlODBC. 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.\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-136501/ (Markdown: https://insights.sbomify.com/CVE-2026-136501/index.md)","id":"CVE-2026-136501","markdown":"https://insights.sbomify.com/CVE-2026-136501/index.md","name":"CVE-2026-136501","record":{"aliases":["GHSA-38cc-jj5v-wrg6","UBUNTU-CVE-2026-136501"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["data_modify","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PostgreSQL ODBC driver","requires_auth":"low_privilege","requires_specific_call":false,"summary":"A database user can redirect another user's positioned updates, inserts and deletes to their own table, or run expressions as that user; psqlODBC users should care.","user_interaction":"required","vuln_class":"other","vulnerable_functions":["SQLBulkOperations","SQLSpecialColumns","SQLPrimaryKeys"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"PostgreSQL","component":null,"cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"},{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"description":"To build positioned updates and to describe columns, psqlODBC matches the names in a statement against the catalog. Where it matched differently from the server, it used another table or column:\n\n- Table and schema names were compared case-insensitively in its column-information cache, so users could be taken for another user's \"Users\", and the driver then evaluated that table's column default to answer @@IDENTITY.\n- In FROM ONLY t, ONLY was taken for the table name.\n- Column names were compared case-insensitively, so with Parse=1 the type of another column could decide the size of the application's buffer, which a fetch then overflowed.\n- In a database whose encoding is single-byte, such as LATIN1 or SQL_ASCII, the server folds the accented letters of an unquoted name by its own locale, while the driver folded only A-Z, so ÉTAT could be taken for another user's \"État\" instead of état.\n- On systems other than Windows, in a Turkish or Azeri locale, an unquoted I was not folded to i, and keywords and ODBC function names did not match.\n- Without a schema name, SQLSpecialColumns() could report the key columns of another user's same-named temporary table, and SQLPrimaryKeys() could take another user's index named \u003ctable\u003e_pkey for the primary key of a table without one.\n- After search_path changed other than through a plain SET statement, positioned writes went to the same-named table in the previously current schema.\n- SQLBulkOperations() trusted the ctid stored inside a variable-length bookmark handed back by the application, and ignored the WHERE clause that restricted the cursor, so a forged bookmark read, updated or deleted any row of the cursor's table.\n\nA database user who can create a table in a schema on another user's search_path can redirect that user's positioned updates, inserts and deletes to a table of their choosing, where they run with the victim's rights, or run an expression of their choosing under the victim's role.\n\nVersions up to and including psqlODBC 18.00.0006 are affected.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Positioned writes go to another user's table through name and case matching","id":"CVE-2026-136501","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":2,"n_vendor_status":0,"next":{"headline":"SQL injection and redirected writes because the driver reads SQL text differently from the server","id":"CVE-2026-136502"},"nickname":null,"packages":[],"prev":{"headline":"SQL injection with BIG5 aliases and the JOHAB, EUC_TW, EUC_CN and EUC_KR client encodings","id":"CVE-2026-136500"},"products":["psqlODBC"],"published":"2026-11-25","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["PostgreSQL"]},"summary":"A database user can redirect another user's positioned updates, inserts and deletes to their own table, or run expressions as that user; psqlODBC users should care.","url":"https://insights.sbomify.com/CVE-2026-136501/"}