Skip to content

TimescaleDB 2.23.0 through 2.25.1 uses untrusted search path during extension upgrade

High
svenklemm published GHSA-vgp2-jj5c-828m Mar 3, 2026

Package

TimescaleDB (TimescaleDB)

Affected versions

2.23.0 through 2.25.1

Patched versions

2.25.2

Description

Impact

Critical. A low-privileged user can gain superuser privileges.

Summary

PostgreSQL uses the search_path setting to locate unqualified database objects (tables, functions, operators). If the search_path includes user-writable schemas a malicious user can create functions in that schema that shadow builtin postgres functions and will be called instead of the postgres functions leading to arbitrary code execution during extension upgrade.

Fix

Upgrade to TimescaleDB 2.25.2.

Workarounds

Since the vulnerability is in the upgrade script, blocking extension upgrades will prevent exploitation.

Affected Platforms

The vulnerability is not exploitable on instances in Tiger Cloud and Managed Service for TimescaleDB due to additional security provisions in place on those platforms.

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2026-29089

Weaknesses

Untrusted Search Path

The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. Learn more on MITRE.