ADVISORIES

Vulnerability

CVE-2026-53572

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.

74 advisories report this vulnerability, across 5 ecosystems.

Advisories in Go

  • GHSA-6w3m-4hhp-775q

    KEDA has PostgreSQL connection string parameter injection via incomplete whitespace escaping

    Moderate CVE-2026-53572 Go Updated 10 September 2026
  • GO-2026-5940

    KEDA has PostgreSQL connection string parameter injection via incomplete whitespace escaping in github.com/kedacore/keda

    CVE-2026-53572 Go Updated 21 July 2026

References