CVE-2023-25149 json
TimescaleDB has incorrect access control
published 2023-02-14 3 y ago modified 2026-06-17 4 mo ago also BIT-timescaledb-2023-25149 , EUVD-2023-29127 , GHSA-44jh-j22r-33wq
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
TimescaleDB, an open-source time-series SQL database, has a privilege escalation vulnerability in versions 2.8.0 through 2.9.2. During installation, TimescaleDB creates a telemetry job that is runs as the installation user. The queries run as part of the telemetry data collection were not run with a locked down `search_path`, allowing malicious users to create functions that would be executed by the telemetry job, leading to privilege escalation. In order to be able to take advantage of this vulnerability, a user would need to be able to create objects in a database and then get a superuser to install TimescaleDB into their database. When TimescaleDB is installed as trusted extension, non-superusers can install the extension without help from a superuser.
Version 2.9.3 fixes this issue. As a mitigation, the `search_path` of the user running the telemetry job can be locked down to not include schemas writable by other users. The vulnerability is not exploitable on instances in Timescale Cloud and Managed Service for TimescaleDB due to additional security provisions in place on those platforms.
Patch / fix
- bitnami timescaledb 2.9.2
- postgresql-timescaledb Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 2.9.3-r0
alpine advisories ALPINE-CVE-2023-25149
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/timescale/timescaledb#5259 pull request
- github.com/timescale/timescaledb/releases/tag/2.9.3 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-25149 updated cvss 8.8
timescaledb: incorrect access control
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | timescaledb | >=2.8.0, <2.9.2 |
2.9.2 |
Affected products
- timescale timescaledb
Classification
References
-
github.com
/timescale/timescaledb/pull/5259
patch, web
-
github.com
/timescale/timescaledb/security/advisories/GHSA-44jh-j22r-33wq
mitigation, third-party-advisory, web
-
github.com
/timescale/timescaledb/releases/tag/2.9.3
release-notes, web
Sources
- CVE List CVE-2023-25149
- NVD CVE-2023-25149
- OSV BIT-timescaledb-2023-25149
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.