//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-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-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-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-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-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-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.