Untrusted Search Path Affecting timescale/timescaledb package, versions [2.23.0,2.25.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TIMESCALETIMESCALEDB-15440564
  • published8 Mar 2026
  • disclosed6 Mar 2026
  • creditUnknown

Introduced: 6 Mar 2026

CVE-2026-29089  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade timescale/timescaledb to version 2.25.2 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path via the extension upgrade process when malicious functions are placed in user-writable schemas. An attacker can execute arbitrary code with elevated privileges by creating functions that shadow built-in ones, which are then invoked during the upgrade due to the search_path configuration.

CVSS Base Scores

version 4.0
version 3.1