# CVE-2022-24128: Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation.

- Severity: High 8.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-03-13T00:00:00.000Z
- Modified: 2026-06-17T04:31:21.167Z
- Weaknesses: CWE-863
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- timescale timescaledb: from 1.0.0 before 2.5.2

## Every score

- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://docs.timescale.com/timescaledb/latest/overview/release-notes/> (release-notes, vendor-advisory)
- <https://github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9> (third-party-advisory)
- <https://github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c>
- <https://github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2>

## Sources

- CVE List: [CVE-2022-24128](https://www.cve.org/CVERecord?id=CVE-2022-24128), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-24128](https://nvd.nist.gov/vuln/detail/CVE-2022-24128), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24128 · Whole record: https://cve.day/CVE-2022-24128.json · Rebuilt by cve.day 2026-11-25T22:58:10.072Z
