Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app behind SamWaf
-
DeliveryCraft injection payload in body
-
ExploitSend chunked or padded ≥2048 bytes
-
ExecutionWAF skips body inspection
-
PersistPayload reaches backend uninspected
-
ImpactBackend processes malicious input
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Trusted input validation
|
| Exploitation Conditions | Exploitation requires that vulnerable SamWaf (1.0.128 through 1.3.25-beta.11) is deployed as the protecting WAF in front of a backend, and that the request uses either chunked transfer-encoding OR a request body of 2048 bytes or more - either condition alone causes WafEngine.ServeHTTP to skip body inspection. No authentication is required (PR:N) and no user interaction is needed, and it works against default behavior of the affected versions. The key limiting factor is that this is a control bypass, not a direct compromise: meaningful impact depends on the protected backend actually being vulnerable to the smuggled payload (SQLi, XSS, command injection, traversal, or upload). Where the backend is otherwise hardened, the bypass yields no direct damage. |
| Impact | This is a moderate, defense-in-depth-weakening issue rather than a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes an easy, remote, unauthenticated trigger, but the impact metrics are deliberately limited to VI:L with VC:N/VA:N and no subsequent-system impact (SC:N/SI:N/SA:N), yielding a 6.9 (Medium). That is consistent with the mechanism: the flaw does not itself compromise data or availability - it causes SamWaf to skip inspection of request bodies that are chunked or ≥2048 bytes, so malicious payloads (SQLi, XSS, command injection, traversal, upload) pass uninspected to the protected backend. Real-world severity is therefore contingent: it only matters where SamWaf is the relied-upon control AND the backend is itself exploitable by the smuggled payload. No EPSS score and no CISA KEV entry are provided, and the vuln.today priority is 'this_month' (not act_now/emergency), all pointing to elevated-but-not-critical urgency. PoC references exist (the SamWaf GitHub issue and the VulnCheck advisory) but the input does not confirm them as working exploit code, so exploitation is plausible and well-documented but not evidenced as active. CWE-807 (reliance on untrusted inputs in a security decision) accurately frames this as a control-bypass class issue. |
| Exploit ScenarioDerived | An attacker targeting a web application sitting behind SamWaf resends an attack (e.g. a SQL injection or command injection payload) in the HTTP request body using chunked transfer-encoding, or pads the body to 2048 bytes or more. SamWaf's WafEngine.ServeHTTP skips body inspection for these cases, so the payload reaches the backend uninspected and is processed as if no WAF were present. A public PoC reference exists (SamWaf issue #1063 and the VulnCheck advisory), but it is not verified as working exploit code; the bypass itself is simple and remote/unauthenticated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Web application firewall bypass in SamWaf 1.0.128 through 1.3.25-beta.11 lets remote unauthenticated attackers slip SQL injection, XSS, command injection, path traversal and malicious upload payloads past the WafEngine.ServeHTTP inspection routine by sending them either with chunked transfer-encoding or padded to a request body of 2048 bytes or more, after which the payload reaches the protected backend uninspected. The defect is a control bypass rather than direct compromise: real damage only occurs where the backend behind SamWaf is itself vulnerable to the smuggled payload, and the assessed vector reflects that low integrity-only impact (CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; vendor CVSS 4.0 score 6.9). No public working exploit code is confirmed in the available sources and the issue is not in CISA KEV; it is prioritized as a this-month item rather than an emergency, with reference material published via VulnCheck and a SamWaf GitHub issue.
RemediationAI
No vendor-released patch version is identified in the available data, so operators should track https://github.com/samwafgo/SamWaf/issues/1063 and the VulnCheck advisory https://www.vulncheck.com/advisories/samwaf-1.0.128-through-1.3.25-beta.11-waf-bypass-via-chunked-or-oversized-request-body for the fixed release and upgrade past 1.3.25-beta.11 as soon as it is published; running the current beta line should not be assumed to include a fix. Until then, because the bypass hinges on chunked framing and on bodies at or above 2048 bytes, place a normalizing reverse proxy in front of SamWaf that terminates chunked transfer-encoding and re-emits the request with an explicit Content-Length so SamWaf sees a bounded, non-chunked body - the trade-off is that streaming and some long-poll clients break. Alternatively, reject Transfer-Encoding: chunked at the edge and require Content-Length, accepting that legitimate streaming APIs fail, and buffer or independently inspect bodies larger than 2048 bytes upstream of SamWaf, which costs memory and latency on large uploads. Because this is a control bypass rather than a backend compromise, reduce the blast radius by hardening the protected applications directly: parameterized queries, context-aware output encoding, restricted file-upload handlers and canonical path validation, so that a payload which slips past the WAF is not exploitable on arrival. Do not treat SamWaf inspection as a compensating control for these applications until a patched version is confirmed in place.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SamWaf is an open-source Go web application firewall that proxies HTTP traffic through a WafEngine whose ServeHTTP handler performs the request-body rule inspection. The cited code locations (wafengine.go lines 270-292 and 1428-1435 at commit 23bb891) show the inspection path being gated on request characteristics that the client fully controls: the presence of chunked transfer-encoding, and the declared or observed body length. Either condition alone is enough to route the request around the rule engine. Root cause maps to CWE-807, Reliance on Untrusted Inputs in a Security Decision - the security decision 'should this body be inspected?' is derived from attacker-supplied message framing (Transfer-Encoding / Content-Length) instead of from a normalized, fully buffered body, so an attacker chooses whether detection runs. The underlying protocol issue is familiar from HTTP request smuggling and WAF-evasion research: chunked framing and oversized bodies are common blind spots because many inspection stacks either stream past them or cap buffering at a fixed threshold (here 2048 bytes) and stop scanning the remainder. Because the payload classes named in the advisory (SQLi, XSS, command injection, traversal, upload) are exactly what a WAF is expected to catch, the flaw removes the primary compensating control for the backend behind SamWaf; it does not by itself grant code execution, data access, or availability loss on the WAF host. The trigger has been described in the advisory and code references, but the specific deployment topologies and configuration variants (for example whether reverse-proxy mode versus other modes change the behavior) are not detailed in the available sources and remain unverified.
Know when Samwaf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Remote, unauthenticated, no user interaction with a trivial trigger (AV:N/AC:L/PR:N/UI:N); the flaw only weakens a security control, so integrity-low and no confidentiality/availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SamWaf 1.0.128 through 1.3.25-beta.11 contains a request body inspection bypass vulnerability in WafEngine.ServeHTTP that skips bodies with chunked encoding or lengths of 2048 bytes or more. Remote unauthenticated attackers can send SQL injection, XSS, command injection, traversal or upload payloads chunked or padded, which reach the protected backend uninspected.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-126451
GHSA-3rhw-292r-4fv7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB