151 lines
6.1 KiB
JSON
151 lines
6.1 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-18408",
|
|
"assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "PostgreSQL",
|
|
"dateReserved": "2026-07-30T16:28:38.730Z",
|
|
"datePublished": "2026-08-13T13:00:14.898Z",
|
|
"dateUpdated": "2026-08-29T23:07:32.420Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
|
|
"shortName": "PostgreSQL",
|
|
"dateUpdated": "2026-08-29T23:07:32.420Z"
|
|
},
|
|
"title": "PostgreSQL psql \\unrestrict lets superuser of pg_dump origin server execute arbitrary code in psql client",
|
|
"x_postgresql": {
|
|
"component": "client"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql \\restrict meta-command input expansion. The fix for CVE-2025-8714 introduced \\restrict and \\unrestrict to block this attack, but \\unrestrict itself was sufficient for an attack. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. Non-core use of \\restrict would be affected, but we've not identified non-core use. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected."
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"defaultStatus": "unaffected",
|
|
"product": "PostgreSQL",
|
|
"vendor": "n/a",
|
|
"versions": [
|
|
{
|
|
"lessThan": "18.6",
|
|
"status": "affected",
|
|
"version": "18",
|
|
"versionType": "rpm"
|
|
},
|
|
{
|
|
"lessThan": "17.11",
|
|
"status": "affected",
|
|
"version": "17",
|
|
"versionType": "rpm"
|
|
},
|
|
{
|
|
"lessThan": "16.15",
|
|
"status": "affected",
|
|
"version": "16",
|
|
"versionType": "rpm"
|
|
},
|
|
{
|
|
"lessThan": "15.19",
|
|
"status": "affected",
|
|
"version": "15",
|
|
"versionType": "rpm"
|
|
},
|
|
{
|
|
"lessThan": "14.24",
|
|
"status": "affected",
|
|
"version": "0",
|
|
"versionType": "rpm"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"cweId": "CWE-829",
|
|
"type": "CWE",
|
|
"description": "Inclusion of Functionality from Untrusted Control Sphere"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://www.postgresql.org/support/security/CVE-2026-18408/"
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"format": "CVSS",
|
|
"cvssV3_1": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
|
|
"baseScore": 8.8,
|
|
"baseSeverity": "HIGH"
|
|
}
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"lang": "en",
|
|
"value": "attacker can direct pg_dump et al. to a malicious origin server"
|
|
}
|
|
],
|
|
"workarounds": [
|
|
{
|
|
"lang": "en",
|
|
"value": "use \"pg_restore --dbname\" instead of restore methods that involve \"psql\""
|
|
}
|
|
],
|
|
"credits": [
|
|
{
|
|
"lang": "en",
|
|
"value": "The PostgreSQL project thanks Lucas Velgus, Filip Janus, and Daniel Bakker for reporting this problem."
|
|
}
|
|
]
|
|
},
|
|
"adp": [
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2026-08-13T00:00:00+00:00",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "total"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3",
|
|
"id": "CVE-2026-18408"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2026-08-14T03:55:33.366Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |