v3.13.2 Thu, Jul 30
## What's Changed - [SECURITY] Bump golang.org/x/text to v0.39.0 (CVE-2026-56852) and google.golang.org/grpc to v1.82.1 (GHSA-hrxh-6v49-42gf). #19290 by @krajorama - [BUGFIX] PromQL: Preallocate the active query tracker file to avoid SIGBUS crashes when the data disk is full. #19289 by @akshajrawat **Full Changelog**: https://github.com/prometheus/prometheus/compare/v3.13.1...v3.13.2
v0.313.2 Thu, Jul 30
v3.13.1 Fri, Jul 10
This is a bugfix release for 3.13 LTS. - [BUGFIX] TSDB: Fix the head-chunk cache returning samples from the wrong chunk, or spurious not-found errors, to range queries after head-chunk truncation. #19134
v0.313.1 Fri, Jul 10
v3.5.5 Thu, Jul 9
This release is built with Go 1.25.12 and fixes a security issue in a UI dependency. - [SECURITY] UI: Bump `sanitize-html` to v2.17.5 to fix CVE-2026-53606. #19060
v3.13.0-rc.0 Thu, Jul 9
- [SECURITY] UI: Bump `sanitize-html` to fix a cross-site scripting vulnerability (CVE-2026-44990). #18697 - [CHANGE] API: Use SHA-256 instead of SHA-1 to generate rule group pagination tokens. #18927 - [CHANGE] HTTP clients: Credentials (Authorization header, basic auth, bearer token, OAuth2, configured headers) are no longer forwarded when following a redirect to a different host; affects scraping, remote read/write, alerting, and service discovery.
v0.305.5 Wed, Jul 8
v3.13.0 Wed, Jul 1
This is a Long Term Support [LTS](https://prometheus.io/docs/introduction/release-cycle/) release. - [SECURITY] UI: Bump `sanitize-html` to fix a cross-site scripting vulnerability (CVE-2026-44990). #18697 - [CHANGE] UI: Third-party npm dependency licenses are now embedded in the Prometheus binary and served at `/assets/third-party-licenses.txt`, replacing the `npm_licenses.tar.bz2` archive previously shipped in release tarballs and container images.
v0.313.0 Wed, Jul 1
v3.13.0-rc.1 Mon, Jun 22
Release notes of the 3.13-rc.1 release: The 3.13.0-rc.0 release was only partially successful due to the migration from NPM to PNPM and subsequent CI issues, so most of the changes in this release candidate are CI/build-related.
v0.313.0-rc.1 Mon, Jun 22
v3.5.4 Wed, Jun 17
This release fixes multiple security issues. - [SECURITY] STACKIT SD: Fix secrets being exposed in plaintext via `/-/config` endpoint. Thanks to @August829 and @Phaxma for reporting. GHSA-39j6-789q-qxvh #18650 - [SECURITY] Dependencies: Bump `golang.org/x/net` to v0.55.0 and OpenTelemetry to v1.43.0 to fix reported CVEs (GO-2026-5026, GO-2026-4918, GO-2026-4985).
v0.305.4 Wed, Jun 17
v3.12.0 Thu, May 28
This release contains security fixes, new features (especially around PromQL and Service Discovery), performance improvements in TSDB, Start Timestamp improvements and numerous bug fixes. Thanks to all contributors! ## Key Highlights * **Security**: Two security vulnerabilities have been addressed: a denial of service in remote-write (snappy decompression limit) and a secret exposure leak in STACKIT service discovery.
v0.312.0 Thu, May 28
v3.12.0-rc.0 Tue, May 19
This release contains security fixes, new features (especially around PromQL and Service Discovery), performance improvements in TSDB, Start Timestamp improvements and numerous bug fixes. Thanks to all contributors! ## Key Highlights * **Security**: Two security vulnerabilities have been addressed: a denial of service in remote-write (snappy decompression limit) and a secret exposure leak in STACKIT service discovery.
v0.312.0-rc.0 Tue, May 19
MODERATE CVE-2026-44903 Tue, May 5
### Impact In the Prometheus server's legacy web UI (enabled via the command-line flag `--enable-feature=old-ui`), the histogram heatmap chart view does not escape `le` label values when inserting them into the HTML for use as axis tick mark labels. An attacker who can inject crafted metrics (e.g. via a compromised scrape target, remote write, or OTLP receiver endpoint) can execute JavaScript in the browser of any Prometheus user who views the metric in the heatmap chart UI.
GHSA-fw8g-cg8f-9j28
CVE-2026-44903
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
github.com/prometheus/prometheus introduced: 0 fixed: 0.311.3
HIGH CVE-2026-42154 Tue, May 5
### Impact The remote read endpoint (`/api/v1/read`) does not validate the declared decoded length in a snappy-compressed request body before allocating memory. An unauthenticated attacker can send a small payload that causes a huge heap allocation per request. Under concurrent load this can exhaust available memory and crash the Prometheus process. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Fixed in 3.11.3 and 3.5.3 LTS.
GHSA-8rm2-7qqf-34qm
CVE-2026-42154
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
github.com/prometheus/prometheus introduced: 0.306.0 fixed: 0.311.3
github.com/prometheus/prometheus introduced: 0 fixed: 0.305.2
github.com/prometheus/prometheus introduced: 1.0.0-rc.0 last_affected: 2.5.0
HIGH CVE-2026-42151 Tue, May 5
### Impact Users who use Azure AD remote write with OAuth authentication are impacted. The `client_secret` field in the Azure AD remote write OAuth configuration (`storage/remote/azuread`) was typed as `string` instead of `Secret`. Prometheus redacts fields of type `Secret` when serving the configuration via the `/-/config` HTTP API endpoint. Because the field was a plain string, the Azure OAuth client secret was exposed in plaintext to any user or process with access to that endpoint.
GHSA-wg65-39gg-5wfj
CVE-2026-42151
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
github.com/prometheus/prometheus introduced: 0.45.2 fixed: 0.311.3
v3.11.3 Mon, Apr 27
This release fixes mutiple security issues. We would like to thank the following people for the responsible disclosures: - Shadowbyte (4c1dr3aper) - Charlie Lewis for the Remote-Read snappy decode vulnerability. - Brett Gervasoni for the AzureAD OAuth `client_secret` vulnerability. - @iiihaiii and @Ngocnn97 for the Old UI XSS vulnerability. - [SECURITY] AzureAD remote write: Fix OAuth `client_secret` being exposed in plaintext via `/-/config` endpoint.
v0.311.3 Mon, Apr 27
v3.5.3 Mon, Apr 27
MODERATE CVE-2026-40179 Mon, Apr 13
### Impact Stored cross-site scripting (XSS) via crafted metric names in the Prometheus web UI: * **Old React UI + New Mantine UI:** When a user hovers over a chart tooltip on the Graph page, metric names containing HTML/JavaScript are injected into `innerHTML` without escaping, causing arbitrary script execution in the user's browser.
GHSA-vffh-x6r8-xx99
CVE-2026-40179
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
github.com/prometheus/prometheus introduced: 3.0.0 last_affected: 3.5.1
github.com/prometheus/prometheus introduced: 3.6.0 last_affected: 3.11.1
github.com/prometheus/prometheus introduced: 0 fixed: 0.311.2-0.20260410083055-07c6232d159b
HIGH GHSA-4v48-4q5m-8vx4 Mon, Dec 5
### Impact Prometheus can be secured by a web.yml file that specifies usernames and hashed passwords for basic authentication. Passwords are hashed with bcrypt, which means that even if you have access to the hash, it is very hard to find the original password back. However, a flaw in the way this mechanism was implemented in the [exporter toolkit](https://github.com/prometheus/exporter-toolkit) makes it possible with people who know the hashed password to authenticate against Prometheus.
GHSA-4v48-4q5m-8vx4
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
github.com/prometheus/prometheus introduced: 2.24.1 fixed: 2.37.4
github.com/prometheus/prometheus introduced: 2.38.0 fixed: 2.40.4
github.com/prometheus/prometheus/v2 introduced: 2.24.1 fixed: 2.37.4
github.com/prometheus/prometheus/v2 introduced: 2.38.0 fixed: 2.40.4