{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "18.00.0006"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "96fa03dbc968c40920c907bf18d3b4cbd8efeebc"
            }
          ],
          "repo": "https://github.com/postgresql-interfaces/psqlodbc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wj7r-6pj3-62g8"
  ],
  "database_specific": {
    "cna_assigner": "PostgreSQL",
    "cwe_ids": [
      "CWE-59",
      "CWE-732"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120066.json"
  },
  "details": "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.",
  "id": "CVE-2026-120066",
  "modified": "2026-11-08T02:30:34.111181474Z",
  "published": "2026-11-02T19:09:14.964Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120066.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-wj7r-6pj3-62g8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120066"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/postgresql-interfaces/psqlodbc"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "psqlODBC log files are created with default permissions at a predictable path and follow symbolic links"
}