{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-53572",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-09T19:11:53.483Z",
        "datePublished": "2026-08-21T20:11:56.479Z",
        "dateUpdated": "2026-08-21T20:11:56.479Z"
    },
    "containers": {
        "cna": {
            "title": "KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-74",
                            "lang": "en",
                            "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "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"
                }
            ],
            "affected": [
                {
                    "vendor": "kedacore",
                    "product": "keda",
                    "versions": [
                        {
                            "version": "< 2.20.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-21T20:11:56.479Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-6w3m-4hhp-775q",
                "discovery": "UNKNOWN"
            }
        }
    }
}