CVE-2026-136504 (GCVE-0-2026-136504)
Vulnerability from cvelistv5 – Published: 2026-11-25 22:25 – Updated: 2026-11-25 22:25
VLAI
EPSS
VEX
Title
Debug log records the database password in clear text
Summary
With the driver's debug log (MyLog) turned on, two paths write the database
password to the log in clear text, both beside a line where the driver's own
redaction masks it as PWD=xxxxx:
- Pressing "Test" in the Windows data source setup dialog (psqlsetup.dll)
logs the whole connection string, which carries PWD= percent-encoded,
which is reversible, and any password= or sslpassword= inside pqopt.
- The Unicode connect functions SQLDriverConnectW, SQLConnectW and
SQLBrowseConnectW log their arguments as they convert them between UTF-16
and UTF-8, before the masking happens. The ANSI entry points are unaffected.
Turning the log on takes an administrator, and MyLog is off by default. The
exposure is the person who later reads the log, which in practice means a log
attached to a bug report or handed to support. Making that safe is the purpose
of the driver's redaction, and these two sites bypassed it.
Versions up to and including psqlODBC 18.00.0006 are affected.
Severity
5 (Medium)
CWE
- CWE-532 - Insertion of Sensitive Information into Log File
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/postgresql-interfaces/psqlodbc… | vendor-advisory |
| https://odbc.postgresql.org/changelog/ | release-notes |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| PostgreSQL | psqlODBC |
Affected:
0 , ≤ 18.00.0006
(custom)
|
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://odbc.postgresql.org/",
"defaultStatus": "unaffected",
"packageName": "psqlodbc",
"product": "psqlODBC",
"vendor": "PostgreSQL",
"versions": [
{
"lessThanOrEqual": "18.00.0006",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "With the driver\u0027s debug log (MyLog) turned on, two paths write the database\npassword to the log in clear text, both beside a line where the driver\u0027s own\nredaction masks it as PWD=xxxxx:\n\n- Pressing \"Test\" in the Windows data source setup dialog (psqlsetup.dll)\n logs the whole connection string, which carries PWD= percent-encoded,\n which is reversible, and any password= or sslpassword= inside pqopt.\n- The Unicode connect functions SQLDriverConnectW, SQLConnectW and\n SQLBrowseConnectW log their arguments as they convert them between UTF-16\n and UTF-8, before the masking happens. The ANSI entry points are unaffected.\n\nTurning the log on takes an administrator, and MyLog is off by default. The\nexposure is the person who later reads the log, which in practice means a log\nattached to a bug report or handed to support. Making that safe is the purpose\nof the driver\u0027s redaction, and these two sites bypassed it.\n\nVersions up to and including psqlODBC 18.00.0006 are affected."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 5,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-532",
"description": "CWE-532 Insertion of Sensitive Information into Log File",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T22:25:47.271Z",
"orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"shortName": "PostgreSQL"
},
"references": [
{
"name": "GHSA-4cgj-r3wg-3rj2",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4cgj-r3wg-3rj2"
},
{
"name": "psqlODBC changelog",
"tags": [
"release-notes"
],
"url": "https://odbc.postgresql.org/changelog/"
}
],
"title": "Debug log records the database password in clear text"
}
},
"cveMetadata": {
"assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"assignerShortName": "PostgreSQL",
"cveId": "CVE-2026-136504",
"datePublished": "2026-11-25T22:25:47.271Z",
"dateReserved": "2026-11-24T20:17:10.903Z",
"dateUpdated": "2026-11-25T22:25:47.271Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-136504",
"date": "2026-11-27",
"epss": "0.00192",
"percentile": "0.05116"
},
"microsoft_vex": {
"current_release_date": "2026-11-27T01:18:00.000Z",
"cve": "CVE-2026-136504",
"id": "msrc_CVE-2026-136504",
"initial_release_date": "2026-11-27T01:18:00.000Z",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "Debug log records the database password in clear text",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-136504.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://odbc.postgresql.org/",
"defaultStatus": "unaffected",
"packageName": "psqlodbc",
"product": "psqlODBC",
"vendor": "PostgreSQL",
"versions": [
{
"lessThanOrEqual": "18.00.0006",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "With the driver\u0027s debug log (MyLog) turned on, two paths write the database\npassword to the log in clear text, both beside a line where the driver\u0027s own\nredaction masks it as PWD=xxxxx:\n\n- Pressing \"Test\" in the Windows data source setup dialog (psqlsetup.dll)\n logs the whole connection string, which carries PWD= percent-encoded,\n which is reversible, and any password= or sslpassword= inside pqopt.\n- The Unicode connect functions SQLDriverConnectW, SQLConnectW and\n SQLBrowseConnectW log their arguments as they convert them between UTF-16\n and UTF-8, before the masking happens. The ANSI entry points are unaffected.\n\nTurning the log on takes an administrator, and MyLog is off by default. The\nexposure is the person who later reads the log, which in practice means a log\nattached to a bug report or handed to support. Making that safe is the purpose\nof the driver\u0027s redaction, and these two sites bypassed it.\n\nVersions up to and including psqlODBC 18.00.0006 are affected."
}
],
"id": "CVE-2026-136504",
"lastModified": "2026-11-25T23:17:23.437",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.0,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.3,
"impactScore": 3.6,
"source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"type": "Secondary"
}
]
},
"published": "2026-11-25T23:17:23.437",
"references": [
{
"source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4cgj-r3wg-3rj2"
},
{
"source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"url": "https://odbc.postgresql.org/changelog/"
}
],
"sourceIdentifier": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-532"
}
],
"source": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"type": "Secondary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…