{"api_version":"1","generated_at":"2026-08-22T05:28:01+00:00","cve":"CVE-2026-53572","urls":{"html":"https://cve.report/CVE-2026-53572","api":"https://cve.report/api/cve/CVE-2026-53572.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53572","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53572"},"summary":{"title":"KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping","description":"KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to 2.20.0, pkg/scalers/postgresql_scaler.go constructs libpq-style connection strings from tenant-controlled host, port, userName, dbName, sslmode, and password values, while escapePostgreConnectionParameter() only quotes values containing a literal space. Tabs, newlines, carriage returns, form feeds, vertical tabs, quotes, and backslashes can therefore create additional key-value tokens when pgx parses the string. An attacker able to create or modify a TriggerAuthentication or ScaledObject can inject host or sslmode parameters, redirect the database connection to an attacker-controlled server, expose credentials, or disable intended TLS protection. This issue is fixed in version 2.20.0.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-08-21 21:16:59","updated_at":"2026-08-21 21:16:59"},"problem_types":["CWE-74","CWE-89","CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/kedacore/keda/pull/7787","name":"https://github.com/kedacore/keda/pull/7787","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q","name":"https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/kedacore/keda/issues/7784","name":"https://github.com/kedacore/keda/issues/7784","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/kedacore/keda/releases/tag/v2.20.0","name":"https://github.com/kedacore/keda/releases/tag/v2.20.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f","name":"https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53572","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53572","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"kedacore","product":"keda","version":"affected < 2.20.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"keda","vendor":"kedacore","versions":[{"status":"affected","version":"< 2.20.0"}]}],"descriptions":[{"lang":"en","value":"KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to 2.20.0, pkg/scalers/postgresql_scaler.go constructs libpq-style connection strings from tenant-controlled host, port, userName, dbName, sslmode, and password values, while escapePostgreConnectionParameter() only quotes values containing a literal space. Tabs, newlines, carriage returns, form feeds, vertical tabs, quotes, and backslashes can therefore create additional key-value tokens when pgx parses the string. An attacker able to create or modify a TriggerAuthentication or ScaledObject can inject host or sslmode parameters, redirect the database connection to an attacker-controlled server, expose credentials, or disable intended TLS protection. This issue is fixed in version 2.20.0."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-21T20:11:56.479Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q"},{"name":"https://github.com/kedacore/keda/issues/7784","tags":["x_refsource_MISC"],"url":"https://github.com/kedacore/keda/issues/7784"},{"name":"https://github.com/kedacore/keda/pull/7787","tags":["x_refsource_MISC"],"url":"https://github.com/kedacore/keda/pull/7787"},{"name":"https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f","tags":["x_refsource_MISC"],"url":"https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f"},{"name":"https://github.com/kedacore/keda/releases/tag/v2.20.0","tags":["x_refsource_MISC"],"url":"https://github.com/kedacore/keda/releases/tag/v2.20.0"}],"source":{"advisory":"GHSA-6w3m-4hhp-775q","discovery":"UNKNOWN"},"title":"KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-53572","datePublished":"2026-08-21T20:11:56.479Z","dateReserved":"2026-06-09T19:11:53.483Z","dateUpdated":"2026-08-21T20:11:56.479Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-21 21:16:59","lastModifiedDate":"2026-08-21 21:16:59","problem_types":["CWE-74","CWE-89","CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":4.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53572","Ordinal":"1","Title":"KEDA: PostgreSQL connection string parameter injection via incom","CVE":"CVE-2026-53572","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53572","Ordinal":"1","NoteData":"KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to 2.20.0, pkg/scalers/postgresql_scaler.go constructs libpq-style connection strings from tenant-controlled host, port, userName, dbName, sslmode, and password values, while escapePostgreConnectionParameter() only quotes values containing a literal space. Tabs, newlines, carriage returns, form feeds, vertical tabs, quotes, and backslashes can therefore create additional key-value tokens when pgx parses the string. An attacker able to create or modify a TriggerAuthentication or ScaledObject can inject host or sslmode parameters, redirect the database connection to an attacker-controlled server, expose credentials, or disable intended TLS protection. This issue is fixed in version 2.20.0.","Type":"Description","Title":"KEDA: PostgreSQL connection string parameter injection via incom"}]}}}