Update docker.io/prom/prometheus Docker tag to v3.11.2
No issues with this by means of Docker-compose YAML automated GitOps minor update of the Docker container and on the K3s Kubernetes cluster by means of Flux with dependency update facilitated by Mend's Renovate Bot.
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| docker.io/prom/prometheus | minor | v3.10.0 β v3.11.2 |
Release Notes
prometheus/prometheus (docker.io/prom/prometheus)
v3.11.2: 3.11.2 / 2026-04-13
This release has a fix for a Stored XSS vulnerability that can be triggered via crafted metric names and label values in Prometheus web UI tooltips and metrics explorer. Thanks to Duc Anh Nguyen from TinyxLab for reporting it.
- [SECURITY] UI: Fix stored XSS via unescaped metric names and labels. CVE-2026-40179. #β18506
- [ENHANCEMENT] Consul SD: Introduce
health_filterfield for Health API filtering. #β18499 - [BUGFIX] Consul SD: Fix filter parameter being incorrectly applied to the Health API. #β18499
v3.11.1: 3.11.1 / 2026-04-07
- [BUGFIX] Tracing: Fix startup failure for OTLP HTTP tracing with
insecure: true. #β18469
v3.11.0: 3.11.0 / 2026-04-02
- [CHANGE] Hetzner SD: The
__meta_hetzner_datacenterlabel is deprecated for the rolerobotbut kept for backward compatibility, use the__meta_hetzner_robot_datacenterlabel instead. For the rolehcloud, the label is deprecated and will stop working after the 1 July 2026. #β17850 - [CHANGE] Hetzner SD: The
__meta_hetzner_hcloud_datacenter_locationand__meta_hetzner_hcloud_datacenter_location_network_zonelabels are deprecated, use the__meta_hetzner_hcloud_locationand__meta_hetzner_hcloud_location_network_zonelabels instead. #β17850 - [CHANGE] Promtool: Redirect debug output to stderr to avoid interfering with stdout-based tool output. #β18346
- [FEATURE] AWS SD: Add Elasticache Role. #β18099
- [FEATURE] AWS SD: Add RDS Role. #β18206
- [FEATURE] Azure SD: Add support for Azure Workload Identity authentication method. #β17207
- [FEATURE] Discovery: Introduce
prometheus_sd_last_update_timestamp_secondsmetric to track the last time a service discovery update was sent to consumers. #β18194 - [FEATURE] Kubernetes SD: Add support for node role selectors for pod roles. #β18006
- [FEATURE] Kubernetes SD: Introduce pod-based labels for deployment, cronjob, and job controller names:
__meta_kubernetes_pod_deployment_name,__meta_kubernetes_pod_cronjob_nameand__meta_kubernetes_pod_job_name, respectively. #β17774 - [FEATURE] PromQL: Add
</and>/operators for trimming observations from native histograms. #β17904 - [FEATURE] PromQL: Add experimental
histogram_quantilesvariadic function for computing multiple quantiles at once. #β17285 - [FEATURE] TSDB: Add
storage.tsdb.retention.percentageconfiguration to configure the maximum percent of disk usable for TSDB storage. #β18080 - [FEATURE] TSDB: Add an experimental
st-storagefeature flag. When enabled, Prometheus stores ingested start timestamps (ST, previously called Created Timestamp) from scrape or OTLP in the TSDB and Agent WAL, and exposes them via Remote Write 2. #β18062 - [FEATURE] TSDB: Add an experimental
xor2-encodingfeature flag for the new TSDB block float sample chunk encoding that is optimized for scraped data and allows encoding start timestamps. #β18062 - [ENHANCEMENT] HTTP client: Add AWS
external_idsupport for sigv4. #β17916 - [ENHANCEMENT] Kubernetes SD: Deduplicate deprecation warning logs from the Kubernetes API to reduce noise. #β17829
- [ENHANCEMENT] TSDB: Remove old temporary checkpoints when creating a Checkpoint. #β17598
- [ENHANCEMENT] UI: Add autocomplete support for experimental
first_over_timeandts_of_first_over_timePromQL functions. #β18318 - [ENHANCEMENT] Vultr SD: Upgrade govultr library from v2 to v3 for continued security patches and maintenance. #β18347
- [PERF] PromQL: Improve performance and reduce heap allocations in joins (VectorBinop)/And/Or/Unless. #β17159
- [PERF] PromQL: Partially address performance regression in native histogram aggregations due to using
KahanAdd. #β18252 - [PERF] Remote write: Optimize WAL watching used for RW sending to reuse internal buffers. #β18250
- [PERF] TSDB: Optimize LabelValues intersection performance for matchers. #β18069
- [PERF] UI: Skip restacking on hover in stacked series charts. #β18230
- [BUGFIX] AWS SD: Fix EC2 SD ignoring the configured
endpointoption, a regression from the AWS SDK v2 migration. #β18133 - [BUGFIX] AWS SD: Fix panic in EC2 SD when DescribeAvailabilityZones returns nil ZoneName or ZoneId. #β18133
- [BUGFIX] Agent: Fix memory leak caused by duplicate SeriesRefs being loaded as active series. #β17538
- [BUGFIX] Alerting: Fix alert state incorrectly resetting to pending when the FOR period is increased in the config file. #β18244
- [BUGFIX] Azure SD: Fix system-assigned managed identity not working when
client_idis empty. #β18323 - [BUGFIX] Consul SD: Fix filter parameter not being applied to health service endpoint, causing Node and Node.Meta filters to be ignored. #β17349
- [BUGFIX] Kubernetes SD: Fix duplicate targets generated by
*DualStackEndpointSlices policies. #β18192 - [BUGFIX] OTLP: Fix ErrTooOldSample being returned as HTTP 500 instead of 400 in PRW v2 histogram write paths, preventing infinite client retry loops. #β18084
- [BUGFIX] OTLP: Fix exemplars getting mixed between incorrect parts of a histogram. #β18056
- [BUGFIX] PromQL: Do not skip histogram buckets in queries where histogram trimming is used. #β18263
- [BUGFIX] Remote write: Fix
prometheus_remote_storage_sent_batch_duration_secondsmeasuring before the request was sent. #β18214 - [BUGFIX] Rules: Fix alert state restoration when rule labels contain Go template expressions. #β18375
- [BUGFIX] Scrape: Fix panic when parsing bare label names without an equal sign in brace-only metric notation. #β18229
- [BUGFIX] TSDB: Fail early when
use-uncached-iofeature flag is set on unsupported environments. #β18219 - [BUGFIX] TSDB: Fall back to CLI flag values when retention is removed from config file. #β18200
- [BUGFIX] TSDB: Fix memory leaks in buffer pools by clearing reference fields before returning buffers to pools. #β17895
- [BUGFIX] TSDB: Fix missing mmap of histogram chunks during WAL replay. #β18306
- [BUGFIX] TSDB: Fix storage.tsdb.retention.time unit mismatch in file causing retention to be 1e6 times longer than configured. #β18200
- [BUGFIX] Tracing: Fix missing traceID in query log when tracing is enabled, previously only spanID was emitted. #β18189
- [BUGFIX] UI: Fix tooltip Y-offset drift when using multiple graph panels. #β18228
- [BUGFIX] UI: Update retention display in runtime info when config is reloaded. #β18200