{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.20.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "703de9dec86cb25b6ecfa4948880a90487344d3f"
            },
            {
              "fixed": "5322ecb9c19fb37e59344afbb388471d40efc0d8"
            }
          ],
          "repo": "https://github.com/kedacore/keda",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6w3m-4hhp-775q"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-74",
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53572.json"
  },
  "details": "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.",
  "id": "CVE-2026-53572",
  "modified": "2026-08-27T11:30:32.325530179Z",
  "published": "2026-08-21T20:11:56.479Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kedacore/keda/releases/tag/v2.20.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53572.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53572"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kedacore/keda/issues/7784"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kedacore/keda/pull/7787"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping"
}