RATATOSK
← All releases

Prometheusv3.13.6

Security 1Important fixes 7Dependency updates 5

Get Prometheus alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Security1

Unsafe /graph compatibility redirects fixed

Affectsnew UI with the /graph compatibility redirect enabled

A request with path-like .. segments in its query could redirect to an unintended target or escape --web.route-prefix; legitimate query values containing .. or // could also be mangled. The redirect now cleans only the path and preserves the raw query byte for byte.

Show release-note lines
- [SECURITY] UI: Fix open redirect in the `/graph` compatibility redirect, where `..` segments in the query string were resolved into the redirect target. #20055
github.com/prometheus/prometheus/releases/tag/v3.13.6

Important fixes7Silent failure1

  • TSDB checkpoint loss of WBL series references fixed
    Affectsout-of-order samples with WBL/WAL replay

    If an in-order head compaction checkpointed the WAL before out-of-order compaction wrote the WBL to a block and the process stopped in that window, the next replay skipped the only copy of already-acknowledged samples.

    - [BUGFIX] TSDB: Fix loss of out-of-order samples when a WAL checkpoint drops a series record that the out-of-order write-behind log still needs. #19737
    github.com/prometheus/prometheus/releases/tag/v3.13.6
  • TSDB chunk numbering stays monotonic across truncation
    Affectslow-volume TSDB servers with out-of-order samples

    After a restart, truncation before another chunk was written could reset the sequence; new out-of-order references then fell below query bookmarks and were ignored, and head GC dropped the samples. The mapper now names files from the sequence in chunk references instead of resetting evtlPos.seq when truncation deletes all files.

    - [BUGFIX] TSDB: Keep head chunk file numbering monotonic across truncation, so out-of-order samples are not lost after a restart on a low-volume server. #20149
    github.com/prometheus/prometheus/releases/tag/v3.13.6
  • TSDB WAL replay mapped-chunk overwrite fixed
    AffectsTSDB WAL replay with multiple references per series and mapped chunks

    When replay processed another reference for a series with chunks mapped through an earlier reference, it could overwrite those chunks, causing reconstructed out-of-order samples to be discarded and in-order chunks to be lost from queries after WAL repair. Replay now preserves and merges and deduplicates mapped chunks, preventing the documented missing out-of-order samples and duplicate in-order chunks after restart.

    - [BUGFIX] TSDB: Preserve mapped chunks when WAL replay merges multiple references for the same series, preventing missing out-of-order samples and duplicate in-order chunks after restart. #19805
    github.com/prometheus/prometheus/releases/tag/v3.13.6
  • TSDB head-chunk seeks now respect the query stop pointSilent failure
    AffectsTSDB queries that seek within head chunks

    When samples were committed after the querier was created, a seek within a head chunk could pass the iterator's stop point and return those newer samples through Seek and subsequent Next calls. Such seeks now respect the stop point; the common path is unaffected.

    - [BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started. #19854
    github.com/prometheus/prometheus/releases/tag/v3.13.6
  • Remote-write config state preserved after failed reloads
    Affectsremote-write configurations

    Previously, a failed reload—for example, from duplicate configs or a missing TLS CA file—left unchanged queues unmanaged and stored the new external labels; a later successful reload could panic while registering duplicate queue metrics and leave queues sending stale labels. Now, failed config application keeps the previous queues and external labels intact, so a later successful reload can update the queues without registering a second queue or retaining stale labels.

    - [BUGFIX] Remote write: Fix a panic on config reload after an earlier reload failed. #20106
    github.com/prometheus/prometheus/releases/tag/v3.13.6
  • Compressed response truncation fixed in CompressionHandler
    AffectsHTTP responses handled by CompressionHandler whose wrapped handler sets Content-Length

    When a wrapped handler set the uncompressed length, gzip and deflate responses could be truncated. Compressed responses now drop that handler-set Content-Length, while uncompressed responses retain their content length.

    - [BUGFIX] HTTP: Avoid truncating compressed responses when handlers set Content-Length. #19661
    github.com/prometheus/prometheus/releases/tag/v3.13.6
  • PromQL regex matcher false positives fixed
    AffectsPromQL regex matchers with a capturing group directly adjacent to a literal

    Before this fix, .*\|(foo)\|.* could incorrectly match |foo-bar| by finding |, foo and | in sequence despite the intervening text. After the upgrade, these patterns follow Go standard-library RE2 behavior: |foo-bar| does not match, while |foo| does.

    - [BUGFIX] PromQL: Fix regex matchers returning false-positive matches when a capturing group is directly adjacent to a literal, e.g. `.*\|(foo)\|.*`. #19516
    github.com/prometheus/prometheus/releases/tag/v3.13.6

Dependency updates5

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.