Security mailing lists by PureSourceCode

CVE-2026-53572

MEDIUM 5.9CVSS 3.1

KEDA has PostgreSQL connection string parameter injection via incomplete whitespace escaping

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.

Published
21 Aug 2026
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-74CWE-89
Also known as
GHSA-6w3m-4hhp-775qGO-2026-5940
Sources
NVDJSONOSV GHSA-6w3m-4hhp-775qJSONOSV GO-2026-5940JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/kedacore/keda/v2 < 2.20.0 2.20.0
OSV Go github.com/kedacore/keda all versions

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.