Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pomerium/pomerium
  4. ›
  5. CVE-2026-50285

CVE-2026-50285: Pomerium Pre-Auth Memory Exhaustion via Unbounded zstd Decompression in HPKE Callback

July 15, 2026

The HPKE V2 URL decode path in pkg/hpke/url.go decompresses attacker-controlled zstd data without any size limit. On Pomerium deployments using the stateless authentication flow (Pomerium Zero / hosted authenticate), the proxy’s /.pomerium/callback endpoint is reachable without credentials and processes attacker-crafted HPKE-encrypted payloads before the sender’s identity is validated. Because Pomerium’s HPKE receiver public key is publicly served, an attacker can encrypt a decompression bomb, deliver it to the callback endpoint, and cause unbounded memory allocation — crashing or degrading the proxy process.

References

  • github.com/advisories/GHSA-ggw3-5987-rx77
  • github.com/pomerium/pomerium/commit/593eb81c7e5bdbe6071a30d330f374967869577f
  • github.com/pomerium/pomerium/releases/tag/v0.32.8
  • github.com/pomerium/pomerium/security/advisories/GHSA-ggw3-5987-rx77
  • nvd.nist.gov/vuln/detail/CVE-2026-50285

Code Behaviors & Features

Detect and mitigate CVE-2026-50285 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.32.6 before 0.32.8

Fixed versions

  • 0.32.8

Solution

Upgrade to version 0.32.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1284: Improper Validation of Specified Quantity in Input
  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/pomerium/pomerium/CVE-2026-50285.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 10 Aug 2026 00:15:59 +0000.