Read the docs
TI-2026-38635 Aliases CVE-2026-53572GHSA-6w3m-4hhp-775q

KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping

Priority MEDIUM 60CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
SQL injection
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00386 32nd percentileScored 2026-11-07
Fix Fixed keda (kedacore): 2.20.0github.com/kedacore/keda/v2 (Go): 2.20.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
kedacorekedabefore 2.20.02.20.0Patch availableCNA
—github.com/kedacore/keda/v2 (Go)before 2.20.02.20.0Patch availableGHSA-6w3m-4hhp-775q
  • keda Vendorkedacore Affected before 2.20.0 Fixed in 2.20.0 Patch available CNA
  • github.com/kedacore/keda/v2 (Go) Vendor— Affected before 2.20.0 Fixed in 2.20.0 Patch available GHSA-6w3m-4hhp-775q

Remediation

  • Fix · CNA keda (kedacore) Fixed in 2.20.0
  • Fix · GHSA-6w3m-4hhp-775q github.com/kedacore/keda/v2 (Go) Fixed in 2.20.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-53572
  2. 2026-10-03 Alias added: GHSA-6w3m-4hhp-775q

References

  • TI-2026-74325 Privilege escalation in KEDA lets namespace admins gain cluster admin CVSS 3.1CRITICAL 9.9
  • TI-2025-42006 KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential CVSS 4.0HIGH 8.2

Sources