CrowdSec LAPI: Denial of Service via Unbounded Gzip Decompression
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-44981
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 07:36 UTC · Revision 1
Source evidence
CrowdSec LAPI: Denial of Service via Unbounded Gzip Decompression
core-osv · Original sourcePublished 16 Jul 2026, 19:47 UTC
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.
osv:CVE-2026-44981
Complete source record
{
"id": "2960ab0d47c2944e83d85dbb27e43741ca22130d0aabc6e6cff7873014d15547",
"url": "https://osv.dev/vulnerability/CVE-2026-44981",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CrowdSec LAPI: Denial of Service via Unbounded Gzip Decompression",
"summary": "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.",
"evidence": "osv:CVE-2026-44981",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-44981",
"aliases": [
"CVE-2026-44981",
"GHSA-273h-gvwr-c3qj",
"GO-2026-5041"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS: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": [
{
"ranges": [
{
"repo": "https://github.com/crowdsecurity/crowdsec",
"type": "GIT",
"events": [
{
"introduced": "c3036e21abca984952947360e47f1f36c2ef1b22"
},
{
"fixed": "632274597a88a6b01ed41c0e6affca0f87ff26df"
},
{
"fixed": "54a0dfe6c16b7687b0da6634e0b19ef0f5d9bb30"
},
{
"fixed": "56d0d6915f7f25941dc5b4f484028646f6601a37"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "54a0dfe6c16b7687b0da6634e0b19ef0f5d9bb30"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "56d0d6915f7f25941dc5b4f484028646f6601a37"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44981.json"
}
}
],
"modified": "2026-10-28T02:30:26.600145895Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44981.json",
"https://github.com/crowdsecurity/crowdsec/security/advisories/GHSA-273h-gvwr-c3qj",
"https://nvd.nist.gov/vuln/detail/CVE-2026-44981",
"https://github.com/crowdsecurity/crowdsec/commit/54a0dfe6c16b7687b0da6634e0b19ef0f5d9bb30",
"https://github.com/crowdsecurity/crowdsec/commit/56d0d6915f7f25941dc5b4f484028646f6601a37"
],
"provider_metadata": {
"cwe_ids": [
"CWE-409"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44981.json"
}
},
"related_cves": [
{
"value": "CVE-2026-44981",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493436,
"published_at": "2026-07-16T19:47:30.747+00:00"
}