GHSA-ggw3-5987-rx77: Pomerium Pre-Auth Memory Exhaustion via Unbounded zstd Decompression in HPKE Callback
Pomerium versions 0.32.6 and 0.32.7 contain a vulnerability in the HPKE V2 URL decode path where attacker-controlled zstd compressed data is decompressed without any size limit. The proxy's /.pomerium/callback endpoint is reachable without authentication and processes attacker-crafted HPKE-encrypted payloads before validating the sender's identity. Because the HPKE receiver public key is publicly available, an attacker can send a decompression bomb that causes unbounded memory allocation, potentially crashing or degrading the proxy process. This results in a denial-of-service condition with no confidentiality or integrity impact.
AI Analysis
Technical Summary
The vulnerability exists in Pomerium's HPKE V2 URL decode path (pkg/hpke/url.go) where the decodeQueryStringV2 function decompresses zstd data without limiting the decompressed output size. The callback endpoint /.pomerium/callback is accessible without credentials and processes HPKE-encrypted payloads before validating the sender's public key. Since the HPKE receiver public key is public, an attacker can craft a payload that decompresses to a very large size, exhausting memory resources and causing the proxy to crash or degrade. The decompression occurs before sender validation, allowing the attack to succeed without authentication. The issue is due to unbounded resource consumption (CWE-400) and improper validation of input quantity (CWE-1284).
Potential Impact
An attacker can remotely cause a denial-of-service by sending specially crafted HPKE-encrypted payloads containing zstd decompression bombs to the proxy's callback endpoint. This leads to unbounded memory allocation, exhausting process memory and crashing or degrading the Pomerium proxy. There is no impact on confidentiality or integrity, and no privileges or user interaction are required to exploit this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to the /.pomerium/callback endpoint or deploying network-level protections to limit exposure. Monitor for unusual memory usage patterns on the proxy process. Note that the vendor advisory or patch links are not provided, so verify with official Pomerium sources for updates.
GHSA-ggw3-5987-rx77: Pomerium Pre-Auth Memory Exhaustion via Unbounded zstd Decompression in HPKE Callback
Description
Pomerium versions 0.32.6 and 0.32.7 contain a vulnerability in the HPKE V2 URL decode path where attacker-controlled zstd compressed data is decompressed without any size limit. The proxy's /.pomerium/callback endpoint is reachable without authentication and processes attacker-crafted HPKE-encrypted payloads before validating the sender's identity. Because the HPKE receiver public key is publicly available, an attacker can send a decompression bomb that causes unbounded memory allocation, potentially crashing or degrading the proxy process. This results in a denial-of-service condition with no confidentiality or integrity impact.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in Pomerium's HPKE V2 URL decode path (pkg/hpke/url.go) where the decodeQueryStringV2 function decompresses zstd data without limiting the decompressed output size. The callback endpoint /.pomerium/callback is accessible without credentials and processes HPKE-encrypted payloads before validating the sender's public key. Since the HPKE receiver public key is public, an attacker can craft a payload that decompresses to a very large size, exhausting memory resources and causing the proxy to crash or degrade. The decompression occurs before sender validation, allowing the attack to succeed without authentication. The issue is due to unbounded resource consumption (CWE-400) and improper validation of input quantity (CWE-1284).
Potential Impact
An attacker can remotely cause a denial-of-service by sending specially crafted HPKE-encrypted payloads containing zstd decompression bombs to the proxy's callback endpoint. This leads to unbounded memory allocation, exhausting process memory and crashing or degrading the Pomerium proxy. There is no impact on confidentiality or integrity, and no privileges or user interaction are required to exploit this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to the /.pomerium/callback endpoint or deploying network-level protections to limit exposure. Monitor for unusual memory usage patterns on the proxy process. Note that the vendor advisory or patch links are not provided, so verify with official Pomerium sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-ggw3-5987-rx77
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50285"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a58b40468715ace43d6701f
Added to database: 07/16/2026, 10:35:48 UTC
Last enriched: 07/16/2026, 10:47:29 UTC
Last updated: 07/16/2026, 10:47:29 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.