{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-136513",
        "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "state": "PUBLISHED",
        "assignerShortName": "PostgreSQL",
        "dateReserved": "2026-11-24T20:17:10.904Z",
        "datePublished": "2026-11-25T22:25:52.869Z",
        "dateUpdated": "2026-12-02T15:09:55.565Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
                "shortName": "PostgreSQL",
                "dateUpdated": "2026-11-25T22:25:52.869Z"
            },
            "title": "Another local user can redirect log files (incomplete fix for CVE-2026-120066)",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "When Debug or CommLog is enabled and the log directory cannot be used, psqlODBC falls back to a directory under the user's home directory. It wrote that path with an unexpanded ~, which is resolved relative to the process's current directory. Another local user who controls a directory on that path can make the driver create the victim's mylog_*.log and psqlodbc_*.log files in any directory the victim can write to, or leave the victim's process blocked in open().\n\nThis completes the fix for CVE-2026-120066 in 18.00.0006.\n\nVersions up to and including psqlODBC 18.00.0006 are affected."
                }
            ],
            "affected": [
                {
                    "vendor": "PostgreSQL",
                    "product": "psqlODBC",
                    "collectionURL": "https://odbc.postgresql.org/",
                    "packageName": "psqlodbc",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThanOrEqual": "18.00.0006",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-59",
                            "description": "CWE-59 Improper Link Resolution Before File Access ('Link Following')",
                            "type": "CWE"
                        },
                        {
                            "lang": "en",
                            "cweId": "CWE-22",
                            "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N",
                        "baseScore": 3.6,
                        "baseSeverity": "LOW"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q",
                    "name": "GHSA-g5jq-mpgp-mq7q",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://odbc.postgresql.org/changelog/",
                    "name": "psqlODBC changelog",
                    "tags": [
                        "release-notes"
                    ]
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-02T15:09:37.866241Z",
                                "id": "CVE-2026-136513",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-02T15:09:55.565Z"
                }
            }
        ]
    }
}