This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 54907bc5c7d Chart: bump PgBouncer to 1.26.1 and pgbouncer-exporter to
v0.22.0 (#77468)
54907bc5c7d is described below
commit 54907bc5c7d7083c233643ee7a8fccf2dbcc048d
Author: Parth Rana <[email protected]>
AuthorDate: Wed Dec 2 01:55:14 2026 +0530
Chart: bump PgBouncer to 1.26.1 and pgbouncer-exporter to v0.22.0 (#77468)
---
.../pgbouncer-exporter/build_and_push.sh | 6 ++--
chart/dockerfiles/pgbouncer/build_and_push.sh | 8 +++---
chart/newsfragments/74647.significant.rst | 32 ++++++++++++++++------
chart/values.schema.json | 4 +--
chart/values.yaml | 4 +--
5 files changed, 35 insertions(+), 19 deletions(-)
diff --git a/chart/dockerfiles/pgbouncer-exporter/build_and_push.sh
b/chart/dockerfiles/pgbouncer-exporter/build_and_push.sh
index a207cbd9500..239fad080c4 100755
--- a/chart/dockerfiles/pgbouncer-exporter/build_and_push.sh
+++ b/chart/dockerfiles/pgbouncer-exporter/build_and_push.sh
@@ -21,16 +21,16 @@ readonly DOCKERHUB_USER
DOCKERHUB_REPO=${DOCKERHUB_REPO:="airflow"}
readonly DOCKERHUB_REPO
-PGBOUNCER_EXPORTER_VERSION="0.21.0"
+PGBOUNCER_EXPORTER_VERSION="0.22.0"
readonly PGBOUNCER_EXPORTER_VERSION
# The commit that PGBOUNCER_EXPORTER_VERSION's tag pointed at when it was
reviewed. The image
# is built from this commit, not from the tag: tags on the upstream repository
are mutable and
# can be moved to different content without this file changing. Update both
together, and
# re-check the diff upstream when you do.
-PGBOUNCER_EXPORTER_COMMIT_SHA="9e444947e9f21df7a4e120156a1e3fa5fae26b4a"
+PGBOUNCER_EXPORTER_COMMIT_SHA="bb10c05d2009b101acefbfcb2eb5a482457b3aa9"
readonly PGBOUNCER_EXPORTER_COMMIT_SHA
-AIRFLOW_PGBOUNCER_EXPORTER_VERSION="2026.10.13"
+AIRFLOW_PGBOUNCER_EXPORTER_VERSION="2026.11.22"
readonly AIRFLOW_PGBOUNCER_EXPORTER_VERSION
EXPECTED_GO_VERSION="1.27.2"
diff --git a/chart/dockerfiles/pgbouncer/build_and_push.sh
b/chart/dockerfiles/pgbouncer/build_and_push.sh
index 26b7f2cdb12..cbb6c7a6dfd 100755
--- a/chart/dockerfiles/pgbouncer/build_and_push.sh
+++ b/chart/dockerfiles/pgbouncer/build_and_push.sh
@@ -24,16 +24,16 @@ readonly DOCKERHUB_REPO
# Sometimes the pgbouncer tag does not reliably correspond with the version
name
# For example, it may have a `-fixed` suffix
-PGBOUNCER_TAG="pgbouncer_1_25_2"
+PGBOUNCER_TAG="pgbouncer_1_26_1"
readonly PGBOUNCER_TAG
-PGBOUNCER_VERSION="1.25.2"
+PGBOUNCER_VERSION="1.26.1"
readonly PGBOUNCER_VERSION
-PGBOUNCER_SHA256="924ad35113fd0a71c8e2dbe85b5d03445532e2b7b37a9f8a48983beea238b332"
+PGBOUNCER_SHA256="00886a2994b4844cd37110970df777772cfc42a74c400522c82fba509a3f42d9"
readonly PGBOUNCER_SHA256
-AIRFLOW_PGBOUNCER_VERSION="2026.10.13"
+AIRFLOW_PGBOUNCER_VERSION="2026.11.22"
readonly AIRFLOW_PGBOUNCER_VERSION
COMMIT_SHA=$(git rev-parse HEAD)
diff --git a/chart/newsfragments/74647.significant.rst
b/chart/newsfragments/74647.significant.rst
index 7b6ba42952f..d9a4fdae43b 100644
--- a/chart/newsfragments/74647.significant.rst
+++ b/chart/newsfragments/74647.significant.rst
@@ -1,10 +1,15 @@
-Default PgBouncer image updated to PgBouncer 1.25.2 and PgBouncer exporter
image to 0.21.0
+Default PgBouncer image updated to PgBouncer 1.26.1 and PgBouncer exporter
image to 0.22.0
-The default PgBouncer image is now ``airflow-pgbouncer-2026.10.13-1.25.2``,
previously it was
-``airflow-pgbouncer-2026.04.17-1.23.1``. It fixes CVE-2026-6664,
CVE-2026-6665, CVE-2026-6666 and
-CVE-2026-6667. The default PgBouncer exporter image is now
``airflow-pgbouncer-exporter-2026.10.13-0.21.0``,
-previously it was ``airflow-pgbouncer-exporter-2026.04.17-0.18.0``, built with
Go 1.27.2. Exporter
-0.21.0 is required to scrape PgBouncer 1.24 and later; its metric names are
unchanged.
+The default PgBouncer image is now ``airflow-pgbouncer-2026.11.22-1.26.1``,
previously it was
+``airflow-pgbouncer-2025.03.05-1.23.1``. It fixes CVE-2026-6664,
CVE-2026-6665, CVE-2026-6666,
+CVE-2026-6667, CVE-2026-19888, CVE-2026-6668, CVE-2026-6669, CVE-2026-107348,
CVE-2026-107349 and
+CVE-2026-107350. The default PgBouncer exporter image is now
+``airflow-pgbouncer-exporter-2026.11.22-0.22.0``, previously it was
+``airflow-pgbouncer-exporter-2025.03.05-0.18.0``, built with Go 1.27.2.
Exporter 0.22.0
+(`jbub/pgbouncer_exporter#35`_) is required to scrape PgBouncer 1.26.x; 0.21.0
only returned
+``build_info`` against 1.26. Metric names are unchanged.
+
+.. _`jbub/pgbouncer_exporter#35`:
https://github.com/jbub/pgbouncer_exporter/pull/35
PgBouncer 1.24 and 1.25 change some behaviour:
@@ -15,5 +20,16 @@ PgBouncer 1.24 and 1.25 change some behaviour:
* ``KILL_CLIENT`` is restricted to users listed in ``admin_users``
(CVE-2026-6667).
* A custom ``auth_query`` must take the password's ``VALID UNTIL`` into
account (CVE-2025-2291).
-The first three are defaults, and the previous values can be restored through
``pgbouncer.extraIni``.
-The last three need no action: the old name still works, and the two security
fixes cannot be turned off.
+PgBouncer 1.26 changes some further behaviour:
+
+* On PostgreSQL 18 and above, ``search_path`` is now tracked per client in
transaction pooling
+ by default. To restore the 1.25 behaviour, add
+ ``ignore_startup_parameters = extra_float_digits, search_path`` to
``pgbouncer.extraIni``
+ (the chart already emits ``extra_float_digits``; the value must be kept).
+* The legacy online-restart flags ``-R``, ``SUSPEND``, and ``SHOW FDS`` are
removed.
+* Passwords in ``auth_file`` can now be up to 65535 bytes, matching libpq.
Earlier versions
+ rejected entries longer than 2047 characters (``password too long in auth
file``), which
+ broke long cloud IAM tokens.
+
+The 1.24/1.25 defaults can be restored through ``pgbouncer.extraIni``. The
security fixes and the
+removal of ``-R``/``SUSPEND``/``SHOW FDS`` cannot be turned off.
diff --git a/chart/values.schema.json b/chart/values.schema.json
index 3245bef9372..9e3f5729074 100644
--- a/chart/values.schema.json
+++ b/chart/values.schema.json
@@ -933,7 +933,7 @@
"tag": {
"description": "The PgBouncer image tag.",
"type": "string",
- "default": "airflow-pgbouncer-2026.10.13-1.25.2"
+ "default": "airflow-pgbouncer-2026.11.22-1.26.1"
},
"pullPolicy": {
"description": "The PgBouncer image pull policy.",
@@ -960,7 +960,7 @@
"tag": {
"description": "The PgBouncer exporter image tag.",
"type": "string",
- "default":
"airflow-pgbouncer-exporter-2026.10.13-0.21.0"
+ "default":
"airflow-pgbouncer-exporter-2026.11.22-0.22.0"
},
"pullPolicy": {
"description": "The PgBouncer exporter image pull
policy.",
diff --git a/chart/values.yaml b/chart/values.yaml
index c2e96c5e21d..3db710a5b7d 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -113,11 +113,11 @@ images:
pullPolicy: IfNotPresent
pgbouncer:
repository: apache/airflow
- tag: airflow-pgbouncer-2026.10.13-1.25.2
+ tag: airflow-pgbouncer-2026.11.22-1.26.1
pullPolicy: IfNotPresent
pgbouncerExporter:
repository: apache/airflow
- tag: airflow-pgbouncer-exporter-2026.10.13-0.21.0
+ tag: airflow-pgbouncer-exporter-2026.11.22-0.22.0
pullPolicy: IfNotPresent
gitSync:
repository: registry.k8s.io/git-sync/git-sync