Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0546

NIXPKGS-2026-0546
published on 7 Mar 2026
updated 11 hours ago by @mweinelt Activity log
  • Created automatic suggestion
  • @mweinelt removed
    17 packages
    • timescaledb-tune
    • timescaledb-parallel-copy
    • postgresql14Packages.timescaledb
    • postgresql15Packages.timescaledb
    • postgresql16Packages.timescaledb
    • postgresql17Packages.timescaledb
    • postgresql18Packages.timescaledb
    • postgresqlPackages.timescaledb-apache
    • postgresqlPackages.timescaledb_toolkit
    • postgresql14Packages.timescaledb-apache
    • postgresql15Packages.timescaledb-apache
    • postgresql16Packages.timescaledb-apache
    • postgresql17Packages.timescaledb-apache
    • postgresql18Packages.timescaledb-apache
    • postgresql15Packages.timescaledb_toolkit
    • postgresql16Packages.timescaledb_toolkit
    • postgresql17Packages.timescaledb_toolkit
  • @mweinelt accepted
  • @mweinelt published on GitHub
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.

Affected products

timescaledb
  • ==>= 2.23.0, < 2.25.2

Matching in nixpkgs

Ignored packages (17)

Package maintainers

NixOS Unstable fixed in https://github.com/NixOS/nixpkgs/pull/496218