CVE-2026-44981: CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) in crowdsecurity crowdsec
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.
AI Analysis
Technical Summary
CVE-2026-44981 is a high-severity vulnerability in CrowdSec's LAPI router affecting versions from 1.7.0 up to but not including 1.7.8. The vulnerability arises because the gin-contrib/gzip middleware with DefaultDecompressHandle is used globally for decompressing gzip-compressed JSON request bodies on the /v1/watchers and /v1/watchers/login endpoints without enforcing a maximum decompressed size. This allows an attacker to send specially crafted compressed data that decompresses to a very large size, causing excessive heap memory allocation and potentially making the LAPI service unreachable due to resource exhaustion. The vulnerability is classified under CWE-409 (Improper Handling of Highly Compressed Data).
Potential Impact
An attacker can cause a denial of service by sending unauthenticated gzip-compressed JSON requests that decompress to a large size, leading to excessive heap memory usage and making the LAPI service unavailable. There is no indication of data disclosure or privilege escalation. The impact is limited to service availability degradation.
Mitigation Recommendations
Upgrade CrowdSec to version 1.7.8 or later, where this issue is fixed by enforcing limits on decompressed data size. Since no official patch link or advisory is provided, verify the upgrade from the vendor's official release notes or repository. Until upgraded, consider restricting access to the affected endpoints or implementing external rate limiting to mitigate potential abuse.
CVE-2026-44981: CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) in crowdsecurity crowdsec
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.
CVSS v4.0
Score 8.2high
Affected software
pkg:github/crowdsecurity/crowdsecRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-44981 is a high-severity vulnerability in CrowdSec's LAPI router affecting versions from 1.7.0 up to but not including 1.7.8. The vulnerability arises because the gin-contrib/gzip middleware with DefaultDecompressHandle is used globally for decompressing gzip-compressed JSON request bodies on the /v1/watchers and /v1/watchers/login endpoints without enforcing a maximum decompressed size. This allows an attacker to send specially crafted compressed data that decompresses to a very large size, causing excessive heap memory allocation and potentially making the LAPI service unreachable due to resource exhaustion. The vulnerability is classified under CWE-409 (Improper Handling of Highly Compressed Data).
Potential Impact
An attacker can cause a denial of service by sending unauthenticated gzip-compressed JSON requests that decompress to a large size, leading to excessive heap memory usage and making the LAPI service unavailable. There is no indication of data disclosure or privilege escalation. The impact is limited to service availability degradation.
Mitigation Recommendations
Upgrade CrowdSec to version 1.7.8 or later, where this issue is fixed by enforcing limits on decompressed data size. Since no official patch link or advisory is provided, verify the upgrade from the vendor's official release notes or repository. Until upgraded, consider restricting access to the affected endpoints or implementing external rate limiting to mitigate potential abuse.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-08T16:23:33.264Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a593c8b68715ace43a4aab2
Added to database: 07/16/2026, 20:18:19 UTC
Last enriched: 07/17/2026, 08:16:04 UTC
Last updated: 08/28/2026, 22:52:11 UTC
Views: 61
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.