TimescaleDB uses untrusted search path during extension upgrade
TimescaleDB is a time-series database for high-performance real-time analytics packaged as a Postgres extension. From version 2.23.0 to 2.25.1, PostgreSQL uses the search_path setting to locate unqualified database objects (tables, functions, operators). If the search_path includes user-writable schemas a malicious user can create functions in that schema that shadow builtin postgres functions and will be called instead of the postgres functions leading to arbitrary code execution during extension upgrade. This issue has been patched in version 2.25.2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-29089
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:04 UTC · Revision 1
Source evidence
TimescaleDB uses untrusted search path during extension upgrade
core-osv · Original sourcePublished 6 Mar 2026, 17:06 UTC
TimescaleDB is a time-series database for high-performance real-time analytics packaged as a Postgres extension. From version 2.23.0 to 2.25.1, PostgreSQL uses the search_path setting to locate unqualified database objects (tables, functions, operators). If the search_path includes user-writable schemas a malicious user can create functions in that schema that shadow builtin postgres functions and will be called instead of the postgres functions leading to arbitrary code execution during extension upgrade. This issue has been patched in version 2.25.2.
osv:CVE-2026-29089
Complete source record
{
"id": "c24b766ef1279be288863909957b8da990a1b27974dab252da33c0c48297c63e",
"url": "https://osv.dev/vulnerability/CVE-2026-29089",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "TimescaleDB uses untrusted search path during extension upgrade",
"summary": "TimescaleDB is a time-series database for high-performance real-time analytics packaged as a Postgres extension. From version 2.23.0 to 2.25.1, PostgreSQL uses the search_path setting to locate unqualified database objects (tables, functions, operators). If the search_path includes user-writable schemas a malicious user can create functions in that schema that shadow builtin postgres functions and will be called instead of the postgres functions leading to arbitrary code execution during extension upgrade. This issue has been patched in version 2.25.2.",
"evidence": "osv:CVE-2026-29089",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-29089",
"aliases": [
"CVE-2026-29089",
"GHSA-vgp2-jj5c-828m"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/timescale/timescaledb",
"type": "GIT",
"events": [
{
"introduced": "ba5dcfd1c69f3529d0cc9de3028e1a12a36042ba"
},
{
"fixed": "3d9e005987643878a0cd51da40abbf7d3a63d453"
},
{
"fixed": "9a8f7f8bdeb99e6abae0786ffe526791a8628ce3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:timescale:timescaledb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.23.0"
},
{
"fixed": "2.25.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9a8f7f8bdeb99e6abae0786ffe526791a8628ce3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "3d9e005987643878a0cd51da40abbf7d3a63d453"
}
],
"source": "REFERENCES_TAG",
"original_tag": "2.25.2"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29089.json"
}
}
],
"modified": "2026-10-28T02:30:53.446196635Z",
"provider": "osv",
"references": [
"https://github.com/timescale/timescaledb/releases/tag/2.25.2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29089.json",
"https://github.com/timescale/timescaledb/security/advisories/GHSA-vgp2-jj5c-828m",
"https://nvd.nist.gov/vuln/detail/CVE-2026-29089",
"https://github.com/timescale/timescaledb/commit/9a8f7f8bdeb99e6abae0786ffe526791a8628ce3",
"https://github.com/timescale/timescaledb/pull/9331"
],
"provider_metadata": {
"cwe_ids": [
"CWE-426"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29089.json"
}
},
"related_cves": [
{
"value": "CVE-2026-29089",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522056,
"published_at": "2026-03-06T17:06:34.486+00:00"
}