Vulnerability advisory
CVE-2026-44982
CrowdSec AppSec silently drops request body for chunked / HTTP-2 requests
Also known as GHSA-rw47-hm26-6wr7GO-2026-5641
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/crowdsecurity/crowdsec ↗ | |
| 712a2d1db00309915fcaf3e72189c1a74702b96c to before 632274597a88a6b01ed41c0e6affca0f87ff26df | 632274597a88a6b01ed41c0e6affca0f87ff26df |
| Not specified | 3d5c4d9b127091e9063b9b5eb785372a599a4435 |
| Not specified | 57a793548671e6bbd2cde5562fe87b856ec9c642 |
Description
CrowdSec offers crowdsourced protection against malicious IPs. From 1.5.0 until 1.7.8, pkg/appsec/request.go NewParsedRequestFromRequest allocated a request body buffer from max(r.ContentLength, 0), so HTTP/1.1 requests using Transfer-Encoding: chunked and HTTP/2 requests without a content-length header produced an empty body and caused WAF rules targeting REQUEST_BODY, BODY_ARGS, ARGS_POST, JSON, or XML to be skipped. This issue is fixed in version 1.7.8.
References
- Webgithub.com/crowdsecurity/crowdsec/releases/tag/v1.7.8 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44982.json ↗
- Advisorygithub.com/crowdsecurity/crowdsec/security/advisories/GHSA-rw47-hm26-6wr7 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-44982 ↗
- Fixgithub.com/crowdsecurity/crowdsec/commit/3d5c4d9b127091e9063b9b5eb785372a599a4435 ↗
- Fixgithub.com/crowdsecurity/crowdsec/commit/57a793548671e6bbd2cde5562fe87b856ec9c642 ↗
- Fixgithub.com/crowdsecurity/crowdsec/pull/4355 ↗