{"id":"CVE-2026-116246","aliases":[],"cve":{"records":[{"id":"CVE-2026-116246","source":"PostgreSQL","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-25T16:26:16.419Z","published":"2026-10-30T19:55:16.276Z","modified":"2026-10-30T19:55:16.276Z"}],"publishers":[{"name":"PostgreSQL","role":"CNA","organizationId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","modified":"2026-10-30T19:55:16.276Z"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/10653","tags":["issue-tracking"],"source":"PostgreSQL"},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/0eefa38f774dce07c1f939d87f2993b36e2313b9","tags":["patch"],"source":"PostgreSQL"}],"weaknesses":[{"id":"CWE-214","description":"CWE-214 Invocation of Process Using Visible Sensitive Information","source":"PostgreSQL"},{"id":"CWE-526","description":"CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable","source":"PostgreSQL"}],"applicability":[],"prioritization":[]},"title":"pgAdmin 4: Server passwords are left in pgAdmin's process environment","titleSource":"PostgreSQL","descriptionSource":"PostgreSQL","description":"To pass a server's password to psql and to the utilities pgAdmin 4 runs as background processes, the server manager wrote it into pgAdmin's own process environment: as PGPASSWORD for the PSQL tool, and under a per-process variable for a utility. Nothing removed it afterwards. pgAdmin's environment is shared by every user's requests and copied into every process it starts, so in server mode another user's later PSQL session or utility inherited the password, and libpq used PGPASSWORD for any connection made without a password of its own, letting one user connect with another user's saved password.\n\nThe fix puts the password only into the environment built for the process that needs it and starts psql with a copy of pgAdmin's environment instead of the environment itself.\n\nThis issue affects pgAdmin 4: before 9.19.","score":7,"severity":"high","published":"2026-10-30T19:55:16.276Z","modified":"2026-10-30T19:55:16.276Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"pgadmin.org","name":"pgAdmin 4","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"9.19","versionType":"custom"}],"defaultStatus":"unaffected","cpes":[],"source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-116246"}],"remediation":[],"references":["https://github.com/pgadmin-org/pgadmin4/issues/10653","https://github.com/pgadmin-org/pgadmin4/commit/0eefa38f774dce07c1f939d87f2993b36e2313b9"],"sources":[{"name":"CVE","id":"CVE-2026-116246","modified":"2026-10-30T19:55:16.276Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-116246"}],"assessments":[{"source":"PostgreSQL","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","score":6.5},{"source":"PostgreSQL","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N","score":7}],"sourceAffected":[],"observedAt":"2026-10-30T20:24:42.636Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T16:40:31.722Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"pgAdmin 4, before version 9.19, stores server passwords in its process environment, allowing other users to access them. This weakness affects server mode, where another user's session can inherit the password. The issue is due to the storage of sensitive information in environment variables.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T05:16:09.918Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-116246"}]}}