Vulnerability advisory

CVE-2026-44981

CrowdSec LAPI: Denial of Service via Unbounded Gzip Decompression

Published Updated OSV record ↗

Also known as GHSA-273h-gvwr-c3qjGO-2026-5041

Severity
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/crowdsecurity/crowdsec ↗
c3036e21abca984952947360e47f1f36c2ef1b22 to before 632274597a88a6b01ed41c0e6affca0f87ff26df632274597a88a6b01ed41c0e6affca0f87ff26df
Not specified54a0dfe6c16b7687b0da6634e0b19ef0f5d9bb30
Not specified56d0d6915f7f25941dc5b4f484028646f6601a37
Also listed as affected (15)
  • v1.7.8-rc1
  • v1.7.7-rc1
  • v1.7.7
  • v1.7.6
  • v1.7.5
  • v1.7.5-rc1
  • v1.7.4
  • v1.7.4-rc2
  • v1.7.4-rc1
  • v1.7.1
  • v1.7.1-rc4
  • v1.7.1-rc3
  • v1.7.1-rc2
  • v1.7.1-rc1
  • v1.7.0

Description

CrowdSec offers crowdsourced protection against malicious IPs. From 1.7.0 until 1.7.8, the LAPI router used gin-contrib/gzip with DefaultDecompressHandle globally in pkg/apiserver/controllers/controller.go, causing /v1/watchers and /v1/watchers/login to decompress unauthenticated gzip-compressed JSON request bodies without enforcing a maximum decompressed size and allowing excessive heap allocation that can make LAPI unreachable. This issue is fixed in version 1.7.8.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools