Description
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses commands such as CREATE x IF NOT EXIST that allow an unprivileged user to precreate objects. These objects will be used by the installer (which executes as Superuser), leading to privilege escalation. In order to be able to take advantage of this, an unprivileged user would need to be able to create objects in a database and then get a Superuser to install TimescaleDB into their database. (In the fixed versions, the installation aborts when it finds that an object already exists.)
References (4)
Core 4
Core References
Release Notes, Vendor Advisory
https://docs.timescale.com/timescaledb/latest/overview/release-notes/
Third Party Advisory
https://github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9
Scores
CVSS v3
8.0
EPSS
0.0087
EPSS Percentile
54.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-863
Status
published
Products (1)
timescale/timescaledb
1.0.0 - 2.5.2
Published
Mar 13, 2022
Tracked Since
Feb 18, 2026