{"schema_version":"1.7.5","id":"GHSA-8rm2-7qqf-34qm","published":"2026-05-05T19:34:05Z","modified":"2026-07-14T16:41:01.254644922Z","aliases":["BIT-prometheus-2026-42154","CVE-2026-42154","GO-2026-5264"],"related":["CGA-j6q3-2q44-hhxx"],"summary":"Prometheus: Remote read endpoint allows denial of service via crafted snappy payload","details":"### Impact\n\nThe remote read endpoint (`/api/v1/read`) does not validate the declared decoded length in a snappy-compressed request body before allocating memory.\nAn 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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nFixed in 3.11.3 and 3.5.3 LTS. Users should upgrade to these versions or later.\n\n### Workarounds\nUser who can not upgrade can place Prometheus behind a reverse proxy or firewall that requires authentication before requests reach /api/v1/read.","affected":[{"package":{"name":"github.com/prometheus/prometheus","ecosystem":"Go","purl":"pkg:golang/github.com/prometheus/prometheus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.306.0"},{"fixed":"0.311.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-8rm2-7qqf-34qm/GHSA-8rm2-7qqf-34qm.json"}},{"package":{"name":"github.com/prometheus/prometheus","ecosystem":"Go","purl":"pkg:golang/github.com/prometheus/prometheus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.305.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-8rm2-7qqf-34qm/GHSA-8rm2-7qqf-34qm.json"}},{"package":{"name":"github.com/prometheus/prometheus","ecosystem":"Go","purl":"pkg:golang/github.com/prometheus/prometheus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0-rc.0"},{"last_affected":"2.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-8rm2-7qqf-34qm/GHSA-8rm2-7qqf-34qm.json"}}],"references":[{"type":"WEB","url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-8rm2-7qqf-34qm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42154"},{"type":"WEB","url":"https://github.com/prometheus/prometheus/pull/18584"},{"type":"WEB","url":"https://github.com/prometheus/prometheus/pull/18585"},{"type":"PACKAGE","url":"https://github.com/prometheus/prometheus"},{"type":"WEB","url":"https://github.com/prometheus/prometheus/releases/tag/v3.11.3"},{"type":"WEB","url":"https://github.com/prometheus/prometheus/releases/tag/v3.5.3"}],"database_specific":{"cwe_ids":["CWE-400","CWE-789"],"github_reviewed":true,"github_reviewed_at":"2026-05-05T19:34:05Z","nvd_published_at":"2026-05-04T19:16:04Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}