//nefariousplan

Fail Open Intercept

Security gate can't decrypt/validate a message and forwards it anyway. Logs the failure, does the action.

A security gate has one job: decide. A message passes or a message does not. When the gate receives input it cannot process, it has two choices. Reject. Or pass.

The pattern this names is what happens when a gate was designed to reject, and the code written for the gate picked the second option. Not by accident. By catch block. The failure gets logged. The action proceeds. The operator reads the log the next morning and learns that a security control they deployed to enforce something had, for the entire window between deploy and now, been narrating the attack instead of blocking it.

The gate was doing its job exactly as designed. The design treated inability-to-enforce as an operational concern. The attackers treated it as a feature.

Mechanism

Security gates are code. The code sits in a pipeline, receives input, evaluates a security property, and decides whether to forward or stop. The shape that produces fail-open-intercept is a specific style of exception handling in that code: a try block that performs the security check, a catch block that logs the failure and continues without re-raising.

The surface reason this shape appears is operational pressure. A security gate that throws on corrupted-transport errors stops the entire pipeline, which looks like a denial of service from the gate's own operator. The fix, at the time, is to make the gate tolerate failure: log it, let the operator debug, keep the system running. What the fix also does is convert the security property the gate was supposed to enforce into a property it merely tries to enforce, and then apologizes about in the log when it cannot.

The deeper reason is the confusion between two failure modes. A gate can fail because transport is broken (corrupted bytes, wrong key, protocol mismatch). It can also fail because an attacker is testing whether the gate enforces. In the code, these two look identical. The gate receives bytes it cannot decrypt. The reason could be either. If the gate's designer chose to fail open because transport-broken was the common case, they chose for the attacker-testing case too. The attacker now has a working path through the gate by sending garbage.

Exhibits

CVE-2026-45783: libp2p's verifyRecord Returned Without Verifying. The Test Suite Had A Case For It.. CVE-2026-45783 is the silent-return dialect of fail-open-intercept, and the first exhibit in the catalog where the gate has neither a catch block nor a fall-through header() call: the pre-patch verifyRecord reaches an if (parts.length < 3) branch, the comment names the condition (No validator available), and the body is one word, return. Where the Tomcat exhibit catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter writes a 401 inside a catch and calls filterChain.doFilter() after, where Xerte's connector.php emits a 302 without exit, libp2p's gate has no exception at all and no fallthrough sequence either. The function's declared contract is Promise<void> resolving to success or rejecting with the error; there is no third option in the type signature. The caller, PutValueHandler.handle(), treats the resolved promise as success and writes the record to the datastore. The patch is one line: the bare return becomes throw new InvalidParametersError(...). The catch path that drops the record had been wired into PutValueHandler since the handler was first written, and the patch's own commit message names that fact: "the handler's catch path drops the record." The exhibit's distinctive twist is that the silent-return branch was embedded in test infrastructure: an integration test titled 'put - get using key with no prefix (no selector available)' asserted the bypass as end-to-end expected behavior, the unit test 'stores the record in the datastore' constructed a Message whose envelope key and payload key disagreed and asserted the disagreement landed in the datastore, and the patch deletes the first test and rewrites the second.

CVE-2026-44310: gitsign Exits Zero When the Signature Has No Certificate. Gitsign is the Go dialect of fail-open-intercept, and the cleanest exhibit yet of the pattern split across three files. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase catches a JWT verification exception and forwards via filterChain.doFilter(), where Admidio's validateSignature() returns a translation key the callers never read, gitsign's pkg/git/verifier.go reads certs[0] without a length check on a spec-legal empty CMS envelope, panics, and the panic is caught by internal/io/streams.go's generic Wrap() wrapper whose deferred recover() writes the stack to TTYOut and never assigns the named return. Wrap returns nil. rootCmd.Execute() returns nil. main.go's if err != nil { os.Exit(1) } is false. Process exits 0. The consumer reading the exit code, git verify-commit in shell, treats the verdict as the gate's verdict. The distinctive twist is that the fail-open lives in a generic wrapper that does not know it is wrapping a security check, written for one subcommand's terminal UX and inherited by another subcommand whose consumers depend on exit-code semantics.

CVE-2026-116606: Barracuda's Failed Password Change Returns $userrole. The Patch Comment Names the Bug.. CVE-2026-116606 is the Perl dialect of fail-open-intercept, and the first exhibit in the catalog where the pattern is named inline in the vendor's own patch comment. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter writes a 401 in the catch and calls filterChain.doFilter() after, where Admidio's validateSignature() returns a translation key the callers never read, Barracuda's Index.pm detects password-change failure ($password_change_status == $Login::status_codes{ERROR_PASSWD_CHANGE}->{val}), builds an error-shaped JSON body with success => 'true', logs the audit event, and returns $userrole. The dispatcher upstream reads $userrole as the authority to continue running module handlers. The failure branch returned the success branch's authorization value because the handler's return type was never widened to distinguish "I succeeded" from "I failed and here is the failure object." The 9.4.0.030 patch replaces the bare return $userrole with a call to _bailout_with_json_login_response, and the two-line Perl comment the fix-author left above the return reads: "Send the error and stop here. Returning a userrole would let response() run module handlers." The pattern's mechanism_md describes a gate that narrates its failure and forwards the request anyway; this exhibit shows a vendor who understood that shape precisely enough to describe it in their own patch comment.

CVE-2026-32253: Sunshine's mTLS Whitelisted Three X509 Errors As Success. The Patch Removed One.. CVE-2026-32253 is the OpenSSL verify-callback dialect of fail-open-intercept, and the first exhibit in which the pattern lives entirely inside a switch statement with no try/catch around it. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter writes a 401 inside the catch and calls filterChain.doFilter() after, where gitsign's panic recover writes a stack trace and exits zero, Sunshine's openssl_verify_cb enumerates the OpenSSL error codes it has decided to forgive as case labels and returns 1 from each. No exception. No log line. No rethrow. The X509 chain verifier hands the callback an error code that names a specific failure mode (X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY, X509_V_ERR_CERT_NOT_YET_VALID, X509_V_ERR_CERT_HAS_EXPIRED) and the callback overwrites each with the success verdict. The exhibit's distinctive twist is that the advisory described the bug as three case labels, the advisory's PoC reached exactly one of them (a self-signed leaf whose issuer is not in the trust store), and the 2026-05-07 patch removed the one case label the PoC reached. The patched binary still returns 1 on the two case labels under the comment that defends them with operational and binary-compatibility reasoning. The pattern's mechanism_md describes the operational pressure that produces this shape; here the pressure is binary-compatibility with NVIDIA's closed-source GeForce Experience, and the maintainer named the pressure inline.

CVE-2026-44578: The Advisory Names Cloud Metadata. The Bug Pins to Localhost.. Next.js's return-value-flow variant: resolveRoutes returned a four-field decision — finished, matchedOutput, parsedUrl, statusCode — but the upgrade handler destructured only matchedOutput and parsedUrl, so the gate's two refusal signals (finished=true with statusCode=308 from the slash-normalization early-exit) were discarded at the call site. The action ran on a verdict it never read. The patch is one line of destructuring plus a finished && !statusCode guard, which is what fail-open-intercept always looks like once you find the dropped field.

CVE-2026-8181: Burst Statistics Tests For WP_Error. Null Is Not WP_Error.. Burst Statistics is the fifth exhibit and the cleanest PHP specimen: the gate function wp_authenticate_application_password() returns three shapes (WP_User, WP_Error, null), the plugin tests only is_wp_error(), and the null path drops straight through to get_user_by('login', $username) and wp_set_current_user(). Where Tomcat catches the exception and forwards anyway, where DataEase catches, logs 401, and forwards anyway, where Admidio routes the verdict to a logging string while the listener watches a different variable, where Xerte calls header('Location: ...') without exit, Burst tests the verdict for the wrong shape. Five languages, five gates, one wiring fault: the verdict is reached, and the listener is wired to a channel the verdict never enters. The PHP nullable return type is the perfect medium for this pattern because it gives the gate a third exit the caller almost never sees.

CVE-2026-48039: meta-ads-mcp Logged "No Authentication Tokens Found In Headers." The Next Line Called call_next.. CVE-2026-48039 is the Python middleware dialect of fail-open-intercept, and the cleanest specimen yet of a deny branch whose body was one logger call. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter writes a 401 inside a catch and calls filterChain.doFilter() after it, where hermes-agent's _serve_plugin_skill writes if any(p in content): logger.warning(...) and returns the unfiltered tool result, meta-ads-mcp v1.0.108's AuthInjectionMiddleware.dispatch() writes if not auth_token and not pipeboard_token: logger.warning("HTTP Auth Middleware: No authentication tokens found in headers") and falls through to await call_next(request). The deny conditional exists. The deny conditional fires on every unauthenticated request. The deny conditional's body is one statement. The 1.0.109 patch's contribution is fourteen lines added inside the same conditional whose existence the 1.0.108 source had already established. The exhibit's distinctive twist is that Pipeboard had to ship the fix twice: 1.0.109 wired a return Response(401) into a conditional that admitted X-Pipeboard-Token: anything, and 1.0.114 narrowed the predicate. Three iterations of one conditional. The warning was the gate; the second wiring still admitted the gate's own duplication-callback header.

CVE-2026-10795: UpdraftPlus's RSA Decrypt Returned False. The Next Line Used It As The Key.. UpdraftPlus's decrypt_message is the silent-coercion dialect of fail-open-intercept. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter catches a JWT exception and calls filterChain.doFilter() after writing a 401, where gitsign panics on an empty cert and exits zero through a generic Wrap(), UpdraftPlus has no exception at all. phpseclib's RSA decrypt() returns the boolean false on failure; phpseclib's Crypt\Base::setKey() accepts any argument and stores it; strlen(false) is zero, so the key length defaults to 16 bytes and the engine derives a deterministic 16-byte key from a value PHP coerces to the empty string. No catch block. No log.warn. No stack trace anywhere in the failure path. The gate fails open through type coercion across two library boundaries the call site neither validates nor inspects. The Tomcat exhibit and UpdraftPlus are the two cluster/RPC encryption gates in the catalog; UpdraftPlus is the one where the language did the catch for you.

CVE-2026-10220: hermes-agent's Skill Loader Logs The Prompt Injection And Serves The Skill Anyway. CVE-2026-10220 is the Python conditional dialect of fail-open-intercept. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter writes a 401 in the catch and calls filterChain.doFilter() after, NousResearch's _serve_plugin_skill writes the conditional inline: if any(p in content.lower() for p in _INJECTION_PATTERNS): logger.warning(...). The body of the conditional contains exactly one statement, and the function falls through to the return statement that serializes the unfiltered content into the JSON tool result. The source comment above the conditional names the choice in six words and cites the file's other branch as the precedent it was written to match. The Python if shrinks the gate's decision tree to one screen; the boundary rule (log AND reject is the right shape; log AND continue is the failure) reads identically.

CVE-2026-41669: Admidio's smc_require_auth_signed Was a Setting Before It Was a Control. Admidio's SAML signature gate is fail-open-intercept transposed from try/catch into return values. validateSignature() is declared bool|string: true on success, a gL10n translation key on every failure path. The two call sites at lines 418 and 613 of SAMLService.php discard the return value entirely, with a comment above each that reads // Validate signatures. Will throw an exception. The function does not throw. From the first SAML commit on 2025-03-16 through v5.0.8, the gate ran, identified failure, and narrated it through a channel the callers were not listening on. Same architectural shape as the Tomcat EncryptInterceptor exhibit (catch + log + super.messageReceived(msg) outside the try) and the DataEase CommunityTokenFilter exhibit (catch + write 401 + filterChain.doFilter() outside the try). The Admidio variant adds the language-level twist that the narration channel and the listener channel were different: the function's return type carried the verdict; the caller wired itself for an exception that never arrived. The patch makes the function throw, retroactively making the call-site comments correct.

CVE-2026-34040: Moby's AuthZ Plugin Skipped Bodies Larger Than 1 MiB. The Daemon Read Them.. Moby's pkg/authorization/authz.go is the exhibit where fail-open was a budget, not a catch block. Where Tomcat's EncryptInterceptor catches GeneralSecurityException and calls super.messageReceived(msg) outside the try, where DataEase's CommunityTokenFilter catches and calls filterChain.doFilter() after writing a 401, where gitsign catches a panic in a generic Wrap() and exits zero, Moby's pre-patch drainBody() has no exception at all. The gate's author wrote if err == nil { log.Warnf("Request body is larger than: '%d' skipping body", maxBodySize); return nil, newBody, nil } as a deliberate success-branch handling of Peek(maxBodySize). The Warnf was the design. The author of the fix admitted as much by committing the budget-tripling commit forty-two seconds after the fail-closed commit, naming the legitimate clients the original fail-open had been protecting. The pattern's mechanism_md describes the operational pressure that produces this shape; the Moby exhibit shows that pressure named explicitly in the patch author's own follow-on commit.

CVE-2025-32966: DataEase's RCE Precondition Was a Length Check. DataEase's CommunityTokenFilter#doFilter() is the licensed-fallback authentication filter. It loads the right algorithm with the right secret, builds an auth0 JWTVerifier, and calls verifier.verify(token) inside a try block. When verification throws, the catch block writes a 401 response body, encodes the exception message into the DE-GATEWAY-FLAG response header, and exits the catch. The next line, outside the try, calls filterChain.doFilter(servletRequest, servletResponse) without condition. The Java servlet API does not require setStatus() to terminate the request, so the chain continues to the handler with the same forged token in hand. Same shape as the Tomcat EncryptInterceptor exhibit (catch (GeneralSecurityException) { log; } super.messageReceived(msg);) and the Xerte connector.php exhibit (header(302); /* fall through to handler */): the gate ran, identified the failure, narrated it, and forwarded the request anyway. The DataEase variant adds the perimeter twist that the OTHER filter, TokenFilter, never attempts verification at all, so on most installs the fail-open path never fires because the request was never being checked in the first place.

CVE-2026-40369: ntoskrnl Set STATUS_INFO_LENGTH_MISMATCH And Did The Writes Anyway. CVE-2026-40369 is the C kernel dialect of fail-open-intercept. Where the Tomcat EncryptInterceptor exhibit catches GeneralSecurityException and calls super.messageReceived(msg) outside the try block, the DataEase CommunityTokenFilter exhibit writes a 401 inside a catch and calls filterChain.doFilter() after it, and Xerte's connector.php exhibit issues header('Location: ...') without exit, ExpGetProcessInformation evaluates if (length < 12), writes STATUS_INFO_LENGTH_MISMATCH into the local that holds the return value, and falls through into the per-process loop that writes to v95. The verdict was reached. The error code occupies one local variable. The conditional that gates the writes is infoClass == 253, not status == 0. The function does not consult its own verdict before acting. The Linux exhibit (CVE-2026-46333) showed the same shape one stack frame deeper, where a deny clause's first conjunct goes false and the deny becomes unreachable; this exhibit shows it one frame deeper still, where the deny was never wired to status at all. The patch reduces to one return statement on the line that already stored the error.

CVE-2026-46333: The Dumpability Check Needs an mm. exit_mm() Runs Before exit_files().. CVE-2026-46333 is the kernel-C dialect of fail-open-intercept. Where the Tomcat EncryptInterceptor exhibit catches a GeneralSecurityException and forwards the bytes, and the Next.js exhibit destructures away a finished flag the upgrade handler never reads, Linux's __ptrace_may_access() wires its deny clause through a conjunction whose first term is the precondition the verdict needs. The deny reads if (mm && (get_dumpable(mm) != SUID_DUMP_USER) && !ptrace_has_cap(mm->user_ns, mode)) return -EPERM. The mm && guard exists because the next two terms read fields of mm, but it also short-circuits the entire deny when mm is null. do_exit() calls exit_mm() before exit_files(), so for the few microseconds between those two calls, the deny's first conjunct is false, the deny is unreachable, and the function falls through to the LSM check, which on default kernels passes. Same wiring fault as the Java/PHP exhibits: the verdict held, the listener was wired to a channel (get_dumpable(mm)) that required a precondition the runtime had already removed. The patch caches the dumpability decision in task->user_dumpable during exit_mm(), exactly so the deny path no longer disappears when one of its inputs disappears.

CVE-2026-34486: EncryptInterceptor Only Encrypts Messages That Survive Decryption. The EncryptInterceptor.messageReceived() method catches GeneralSecurityException from the AES/CBC decrypt call, logs the failure, and then calls super.messageReceived(msg) outside the try block, forwarding the undecrypted bytes downstream. The interceptor was the only membership gate on port 4000: if you could not decrypt, you were not a cluster member and your message was supposed to die there. When decryption fails, the gate logs the failure and passes the message anyway. Every frame that fails decryption reaches ObjectInputStream.readObject(). This post traces that path end to end, from the bytecode exception table through the deserialization call, and names the log entry that is the only evidence it happened.

CVE-2026-45707: n8n-MCP's Router Reads ENABLE_MULTI_TENANT. The Credential Factory Below It Does Not.. getN8nApiClient(context) is a two-branch decision tree with no failure exit. If context?.n8nApiUrl && context?.n8nApiKey, return an instance client. Otherwise, return the env client. There is no third branch labeled "this request cannot be served." A missing tenant header takes the otherwise branch, lands in the env-derived client, and the request executes against the operator's n8n instance with the operator's authority. The router upstream can refuse the request all it wants. The factory shares its fall-through with the single-tenant code path and that fall-through is the bypass. Fail-open by inheritance from the regime the function was originally written for.

CVE-2026-33534: EspoCRM's Host Check Had No IPv4 Parser. cURL Did.. The secondary read on CVE-2026-33534. HostCheck::isNotInternalHost has two oracles, filter_var for IPv4 literals and dns_get_record for hostnames. When both produce nothing, the function reaches if (!$records) { return true; } and returns the "this is not internal, allow it" verdict without inspecting anything. The third branch is the only one in the function that decides without an inspection, and it decides "allow." The 9.3.4 patch inverts the default: a host that resolves to no IPs now returns false. The fix is the inversion of one return value, in service of closing the parser-mismatch hole the IPv4-notation payloads were already through.

CVE-2026-34413: Xerte's Auth Check Issued the Redirect, Then Did the Upload. Xerte's auth check is fail-open-intercept expressed in PHP rather than Java try/catch. The block at the top of connector.php runs on every request, tests the session, identifies unauthenticated callers, and emits a 302 redirect to refuse them. PHP's header() does not terminate the script, so execution falls through to the elFinder dispatcher and processes the request the gate had refused. The exploit's three primitives all expect HTTP 302 as the success indicator: the redirect is what the server emits to refuse, AND what the server emits after performing the operation. Same shape this pattern names. The Tomcat EncryptInterceptor exhibit catches a GeneralSecurityException and forwards the bytes; Xerte's connector.php calls header() and forwards the request. Different language, same gate-design failure: the security check ran, identified the failure, and continued. The patch is the PHP-specific spelling of catch-then-rethrow: exit(0);.

Boundaries

Not every logged error is fail-open. A gate that logs AND rejects is doing the right thing: the log tells the operator something anomalous happened, the rejection enforces the security property. The pattern specifically requires that the gate forwards after logging. Log-and-block is correct. Log-and-continue is the failure.

Not every gate that forwards. Some components are lenses, not barriers. An observability sidecar that cannot parse a message should not drop the message, because its job was never to enforce anything. The pattern describes gates that were DESIGNED to enforce a security property. A component that is non-blocking by design is a different category. The distinction is in the gate's stated contract, not its runtime behavior.

Not every misconfiguration. An operator who disables a gate on purpose is making a trade, usually for operational reasons, and the fix is a process conversation. Fail-open-intercept is the gate CODE failing open in default configuration, against inputs the gate's designer knew existed. The pattern lives in the source, not the YAML.

Defender playbook

For every security component in your stack, identify what it does when it cannot decide. If the answer is "forwards the message anyway" or "passes through with a warning", the component is a fail-open-intercept candidate. Read the exception handlers specifically. The pattern's signature is catch (SecurityException e) { log.warn(...); } with no throw after.

Distinguish transport failure from authentication failure in gate logic. A gate that authenticates messages should refuse to handle messages it cannot authenticate, regardless of why authentication failed. Transport corruption and attacker probing look identical at the bytes level. Your gate must treat both as reject.

Make fail-closed the default. In security-sensitive code, the exception handler should re-raise or return a REJECT verdict. If operational uptime requires that a gate tolerate failure, document that tradeoff explicitly and separate the fallback path from the code that enforces. "The gate cannot enforce right now, so the message flows" is a configuration-level decision, not an exception handler.

Test your gates with garbage. If a fuzzing pass sends random bytes to an encryption gate and the gate logs warnings but passes the bytes downstream, the test is reporting a defect. The defect is not that garbage caused noise; it is that garbage crossed the gate. Signature: the fuzzer's "stops" equal the downstream's "accepts" for inputs the gate rejected by its own account.

Audit cluster / inter-node message paths specifically. This pattern shows up disproportionately in code written to coordinate distributed components, where operators are loath to have a dropped message kill cluster health. The bet against dropping messages is the same as the bet against attackers sending messages that look like dropped ones.

Kinship

Content Is Command. Downstream consequence. When a fail-open gate forwards garbage to a component that interprets the bytes (a deserializer, a template engine, a parser), the garbage becomes command. Fail-open is the enabler; content-is-command is the exit.

Design Debt Driver. Components that repeatedly produce fail-open-intercept CVEs have this shape in their substrate. A codebase whose exception-handler style is 'log and continue' throughout will keep producing this class, one interceptor at a time. Each patch closes a specific catch block. The code style persists.

Security Tool As Primitive. Related but distinct. Security-tool-as-primitive is when the tool works but its privileges become the attacker's. Fail-open-intercept is when the tool does not work and the attacker rides through its silence. The two patterns overlap when the failed gate's downstream is a privileged tool.

A gate that logs its failure and proceeds is narration, not security. Your logs are a record of the attack, not evidence that it was blocked.