CVE-2022-24128Timescaledb
High 8.0
Follow: this CVE · Timescale · Timescaledb We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 3.1
- 8.0
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- Auth required
- Yes
- Published
- Mar 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
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.)
What to do
- Apply the vendor's security update for Timescaledb.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| timescale | timescaledb | ≥ 1.0.0 < 2.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- docs.timescale.com Release Notes Vendor Advisory
- github.com
- github.com
- github.com Third Party Advisory