Every CVE Search/ Get API key

CVE-2022-24128

Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension...

8.0 HighFix available

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.)

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.90%Unchanged since Mar 14, 2022
90%50%10%1%

What each source reports

NVD Score used 8.0

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.)

Record
CVE-2022-24128
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.0 MediumAV:N/AC:M/Au:S/C:P/I:P/A:P
Weakness
CWE-863
Updated
2026-11-02
CVE List No score

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.)

Record
CVE-2022-24128
Updated
2026-11-02
EUVDEUVD-2022-29039 No score

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.)

Record
EUVD-2022-29039
Updated
2026-11-03
GitHub AdvisoriesGHSA-9cr2-2mw7-2c7r 8.0

Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension...

Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation.

Record
GHSA-9cr2-2mw7-2c7r
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
OSV No score

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.)

Record
CVE-2022-24128
Updated
2026-11-02
OSVopenSUSE-SU-2023:0046-1 No score

Security update for timescaledb

This update for timescaledb fixes the following issues:

Update to version 2.9.3

Record
openSUSE-SU-2023:0046-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0053-1 No score

Security update for timescaledb

This update for timescaledb fixes the following issues:

timescaledb was updated to version 2.9.3

Record
openSUSE-SU-2023:0053-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
postgresql12-timescaledb
SUSE:Package Hub 15 SP4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql13-timescaledb
SUSE:Package Hub 15 SP4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql14-timescaledb
SUSE:Package Hub 15 SP4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql15-timescaledb
SUSE:Package Hub 15 SP4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql12-timescaledb
openSUSE:Leap 15.4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql13-timescaledb
openSUSE:Leap 15.4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql14-timescaledb
openSUSE:Leap 15.4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql15-timescaledb
openSUSE:Leap 15.4
before 2.9.3-bp154.2.3.1
2.9.3-bp154.2.3.1
postgresql12-timescaledb
SUSE:Package Hub 15 SP3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
postgresql13-timescaledb
SUSE:Package Hub 15 SP3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
Show 6 moreShow less
Affected packages
PackageAffectedFixed
postgresql14-timescaledb
SUSE:Package Hub 15 SP3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
postgresql15-timescaledb
SUSE:Package Hub 15 SP3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
postgresql12-timescaledb
openSUSE:Leap 15.3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
postgresql13-timescaledb
openSUSE:Leap 15.3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
postgresql14-timescaledb
openSUSE:Leap 15.3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1
postgresql15-timescaledb
openSUSE:Leap 15.3
before 2.9.3-bp153.2.3.1
2.9.3-bp153.2.3.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-24128 is a high vulnerability (CVSS 8.0) in Timescale Timescaledb, published March 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.90%, the 59th percentile. Fixed in postgresql12-timescaledb 2.9.3-bp154.2.3.1.

References

Show 5 moreShow less
MoveEnter Open