# Prometheus v3.8.1

2025-12-16 · [Original release notes](https://github.com/prometheus/prometheus/releases/tag/v3.8.1) · [Full summary](https://ratatosk.io/en/releases/prometheus/v3.8.1)

Security 1 · Important fixes 1

## Security (1)

### Remote-Write receiver rejects oversized Snappy requests

- Affects: Remote-Write receiver setups using Snappy compression (Inferred)

Requests are rejected when their declared decoded length exceeds the decode limit.

> * [SECURITY] Remote-Write: Reject snappy-compressed requests whose declared decoded length exceeds the decode limit. #17683

https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md

## Important fixes (1)

### False zero-sample response headers fixed in the `PRWv1` Remote Write receiver

- Affects: Remote Write receiver handling `PRWv1` requests

Senders treated the PRWv2 `X-Prometheus-Remote-Write-Samples-Written 0` header as a partial error, logging a false error and reporting incorrect metrics; sharding might also have been affected because it depends on this data. The receiver no longer sends response headers in the `PRWv1` flow, so senders do not receive the false zero-samples signal.

> * [BUGFIX] remote: Fix Remote Write receiver, so it does not send wrong response headers for v1 flow and cause Prometheus senders to emit false partial error log and metrics. #17683
> * [BUGFIX] remote: Fix Remote Write receiver, so it does not send wrong response headers for v1 flow and cause Prometheus senders to emit false partial error log and metrics. #17683

---

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