1. Accueil
  2. Vulnérabilités
  3. CVE-2026-120066

CVE-2026-120066

psqlODBC log files are created with default permissions at a predictable path and follow symbolic links

Publiée le 2 nov. 2026 · modifiée le 2 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 21/100

Résumé

On Unix-like systems, when logging is enabled, psqlODBC creates its log files in /tmp by default, named from the program name, user name, and process ID, with the default permissions, typically world-readable, and follows symbolic links when opening them. A local user can read query text and data from another user's logs, and can place a symbolic link at the predictable path so that the driver appends log data to a file of the attacker's choosing with the victim's privileges. Versions before psqlODBC 18.00.0006 are affected.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Postgresql (1 ligne(s))
Postgresql
ProduitVersionsCorrigé dansSource
psqlODBC avant 18.00.0006 (exclu) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Upgrade to psqlODBC 18.00.0006 or later. On Unix-like systems, log files are opened with mode 0600 and O_NOFOLLOW, and an existing log file is used only if it is a regular file owned by the user running the application.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Leave Debug and CommLog disabled in production. If logging is needed, set Logdir in the driver's section of odbcinst.ini (PostgreSQL Unicode or PostgreSQL ANSI) to a directory writable only by the user running the application.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1445)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1, CNA:PostgreSQL)
Faiblesse
CWE-732 · Autre (CWE-732)

Comment sont obtenues et calculées ces données