Exhibits
CVE-2026-26190: Milvus's Metrics Port Mounted The Full REST API. The Authentication Middleware Stayed With The Other HTTP Server.. The smallest-distance variant the catalog has surfaced. The canonical implementation (startHTTPServer) and the divergent one (registerHTTPServer) live in the same file, twelve lines apart, gating the same gin.Engine against the same proxy.Params.CommonCfg.AuthorizationEnabled flag. The patch is three lines retyped: an if against that flag, a Use(authenticate), a closing brace. The pattern's defining cost — that the canonical guard exists in code one screen away from where it was omitted — is at its visual minimum here. Most parallel-implementation-gap exhibits separate the canonical and divergent paths by files, packages, or repos. This one separates them by a function boundary inside a 600-line file. The reviewer who wrote the guarded function also wrote the unguarded one.
CVE-2026-42083: free5GC's PCF Served The SUPI To Anyone Who Could Reach The Port. free5GC's PCF declares seven SBI route groups inside one function, NewServer in internal/sbi/server.go. Four are gated by a RouterAuthorizationCheck constructed for the group's ServiceName constant and wired in as Gin middleware via Use(). Three (SMPolicyControl, UEPolicyControl, npcf-callback) are three-line registrations that go straight to applyRoutes, with the two middle lines that construct the check and call Use simply absent. The canonical pattern is in the file, four times over. The divergent registrations are the canonical pattern with the middleware lines deleted. CVE-2026-42083 names only the SMPolicy gap because UEPolicy's handlers all return 501 Not Implemented and the callback path receives notifications rather than serving subscriber data; the SMPolicy GET returns the full SmPolicyContextData containing the SUPI, PEI, GPSI, IPv4 address, cell location, and serving PLMN to any caller who reaches the port without an Authorization header.
CVE-2026-27771: Gitea's ReqContainerAccess Does Not Know Which Container Is Being Accessed. Gitea's package module ships ten handlers (container, generic, npm, Maven, Helm, NuGet, Conda, RubyGems, Composer, PyPI) that share the same client-facing contract as the repository module ("access to a resource the owner created") without importing the canonical access_model.GetDoerRepoPermission utility the repository module has used for a decade. PR #37610 promoted exactly one of the ten (Composer) by wiring in the canonical gate, leaving the container handler that CVE-2026-27771 exploits, and eight other package types, still serving manifests and blobs without consulting the owner's visibility column. Same shape as Astro's Cloudflare adapter never importing isRemoteAllowed and MLflow's FastAPI routers missing from the basic-auth validator's table; the difference is the count of divergent implementations and the duration the gap held (forty-five months, ~31,750 internet-facing hosts).
CVE-2026-120539: Restrictions for BuddyPress Marked Three Rules Logged-In-Only. The Pmpro Handler Ran Them For Guests.. Restrictions for BuddyPress ships two handlers for the same restriction-processing contract, both registered on template_redirect and both iterating bp_restrict()->get_settings(). The handler in admin/class-bp-restrict-admin.php opens its loop with a four-line if ( isset( $restriction['logged_in'] ) && $restriction['logged_in'] ) continue; branch. The handler in admin/class-bp-restrict-pmpro.php is a parallel copy with that branch removed. The branch is the gate; the fork is the CVE. The 1.5.5 patch's second-line changelog admission, "logged-in-only restrictions are skipped for guests," is exactly the convergence the canonical already had and the parallel implementation lacked for the life of the integration file.
CVE-2026-123890: vmdir's DCE/RPC Interface Returned the SRP Session Key to Callers Who Had Not Proved the Password. Broadcom Patched the Same Primitive on vmdir's LDAP Interface in July.. vmdir implements SRP authentication over two transports in the same source tree: an LDAP SASL mechanism on 389 and 636, and a DCE/RPC interface named rpc_srp_verifier on port 2012. Both compute the SRP-6a session key K before the client proves possession of the password. CVE-2026-59309 named the LDAP surface on July 29, 2026 and the fix touched only the LDAP SASL dispatcher. The identical misuse of rpc_srp_verifier_get_session_key on the RPC surface was patched one hundred and thirteen days later as CVE-2026-123890, after ARMORY CASTLE had been exploiting the RPC surface since at least July. The capability was implemented twice, once with a proof check and once without, and the fix for the one surface was silent on the other.
CVE-2026-114938: HotSpot Swapped Java's Base64 Decoder for 500 Lines of AVX-512. The Length Check Did Not Come Along.. The canonical implementation is the Java body of java.util.Base64.Decoder.decode0, whose bounds checks are inserted by the Java verifier around its array stores. The divergent implementation is _base64_decodeBlock, a hand-written AVX-512 assembly stub emitted in stubGenerator_x86_64.cpp that HotSpot's C2 compiler substitutes for the Java method body at JIT-compile time. Both implement the same client-facing contract the caller sees. The Java body carries the invariant "writes do not exceed the output array's length"; the native stub was authored against the Base64 specification and the Intel software developer's manual and never imported the invariant. For callers like Spring Security's Basic-auth parser or java-jwt's segment decoder, the gated surface disappears the moment C2 warms up. The patch adds the length guard the stub always needed, exactly once, in the one call site where the Java body had covered the gap.
CVE-2026-42593: Gotenberg Shipped the Gate and the Bypass in the Same Commit. CVE-2026-42593 is the smallest-distance instance of this pattern the catalog has yet recorded. Where Astro's exhibit shows the gate failing across packages, MLflow's across runtimes, mcp-atlassian's across upload-versus-download directions in one module, Axios's across two branches of one function, NocoBase's across two exported keys of one object literal (sixteen months apart, same author), and Next.js's CVE-2026-44577 across two branches of one ternary (three months apart, same author), this exhibit shows the gate failing across two conditional shapes in the same commit, by the same author, on the same Wednesday morning. Gotenberg's pkg/modules/pdfengines/routes.go declares the dedicated stampRoute and watermarkRoute with the precondition test wrapped as a gate (if source is binary { if no file → reject 400; else use file }), and two hundred lines higher in the same file declares mergeRoute and splitRoute with the same precondition test wrapped as an assignment guard (if (source is binary) && (file present) { use file }). Four other routes in pkg/modules/libreoffice/routes.go and pkg/modules/chromium/routes.go carry the assignment shape. All eight were authored together in commit 19db80b on 2026-03-18 04:46:12 +0100. The April 21 patch extracts the gated shape into EnsureStampFile and EnsureWatermarkFile helpers in the pdfengines package and wires all eight call sites through them. The patch is not new logic. The patch is the dedicated route's existing logic, called from the six routes that needed it.
CVE-2026-42203: LiteLLM Patched One of Four Jinja2 Prompt Managers. CVE-2026-42203 is the same-library variant. LiteLLM has at least five implementations of "load a prompt template, render with Jinja2": litellm/llms/prompt_templates/factory.py (the canonical), and four prompt-manager modules under litellm/integrations/ (dotprompt, gitlab, bitbucket, arize). The canonical was hardened in April 2024 by BerriAI's co-founder, switching from jinja2.Environment to jinja2.sandbox.ImmutableSandboxedEnvironment. The four prompt managers added after that commit each imported plain Environment from the same library. The CVE was assigned only to the divergent module that had an HTTP route attached (POST /prompts/test); three weeks later a separate commit fixed the same primitive in the other three. Where Astro's Cloudflare adapter forgot the allowlist across packages and MLflow's FastAPI routers forgot it across runtimes, this exhibit shows the gate failing to copy from a security commit two years deep in the same repository's history to four sibling modules that all imported from the library the commit had already named.
CVE-2026-47344: Masterminds' rcdata() Accepted Whitespace In 2015. rawText() Did Not, For 4,102 Days.. CVE-2026-47344 collapses the parallelism to sibling methods on one class in one file, written by one author in one commit, diverging when one was patched and the other was not. Masterminds\HTML5\Parser\Tokenizer::rcdata() and ::rawText() both shipped on 2014-06-11 in commit e49c4591 with the same bug: $sequence = '</' . $this->untilTag . '>', a literal trailing > that the HTML5 spec does not require. Eight months later Zhaofeng Li's commit 7c1c7dfa rewrote rcdata() to construct $sequence without the trailing >, consume any whitespace after the matched name, then assert >. The commit edited rcdata() and stopped. Where Astro forgot the gate across packages, JeecgBoot across sibling methods on a controller, Netty across if/else branches in one dispatcher, and Froxlor across sibling functions in one file, this exhibit shows the gate forgotten across two methods in the same class twenty lines apart, with no abstraction, no helper, no separate codepath between them. The TYPO3 patch eleven years later does not touch Masterminds; it subclasses the tokenizer and reimplements rawText() with a docblock that reads, exactly, "aligning it with the existing rcdata() behaviour."
CVE-2026-41236: makeCorrectFile Only Corrected The Slash. Froxlor's case extends the pattern from sibling methods on one class (JeecgBoot's validateCaptcha) up to sibling functions in one file. FileDir::makeCorrectDir received a $fixed_homedir parameter and a component-walking symlink guard in October 2023; FileDir::makeCorrectFile did not, and sat two hundred and fifty-six lines below it in the same file for nine hundred and twenty-one days. The cron's author grepped for the function name they intended to harden and never grepped for the function name three characters shorter. Shared prefix, shared mental category, unshared invariant. The April 2026 patch literally copies the directory variant's loop into the file variant.
CVE-2026-46645: SQLAdmin's Prior Fix Added One of Two Rails. The CVE Names the Other.. CVE-2026-46645 is the within-dispatch-table variant. SQLAdmin's Admin class in sqladmin/application.py registers seven public routes against the same ModelView contract. Six of them, list, details, create, edit, delete, export, carry @login_required and delegate to an underscore-prefixed helper (_list, _details, etc.) whose body is a four-line call to is_accessible(request) that raises 403. The seventh route, ajax_lookup, was written separately for the Select2 widget that powers form_ajax_refs dropdowns; in 0.25.0 it carries neither the decorator nor a helper call, and no class-level pre-handler catches the omission. PR #1035 added the inline equivalent of @login_required while describing the fix as "consistent with how other protected endpoints are handled"; the convention's second rail, the is_accessible check, was not in the patch and was not in the review. The CVE-numbered fix arrived three weeks later through GitHub's private security-advisory fork workflow ("Merge commit from fork") and inlined the missing check directly, leaving ajax_lookup as a third dispatch shape that matches neither the original six nor the security model they encoded.
CVE-2026-47724: nebula-mesh's API Layer Documented the Authorization Gap. The Web Layer Had the Check.. nebula-mesh ships two HTTP entry points — internal/web for the browser and internal/api for machine clients — implementing the same multi-tenant contract over the same Postgres tables. Both packages contain a handler named handleHostUpdate. The Web one, at internal/web/handlers.go:917, reads the cas.owner_operator_id column and returns Forbidden if it does not match the session operator. The API one, at internal/api/hosts.go:369, reads the bearer token and trusts it. The shared utility — canAccessCA in internal/api/cas.go — sits in the same package as the divergent handler, called seven times from cas.go and zero times from hosts.go. The within-pattern variant in nebula-mesh is unusual only in its explicitness: the maintainer wrote a comment at hosts.go:384 naming the Web handler that did have the check and declaring that the API handler did not need one to match. The canonical module's check was found, read, and documented as not-imported. The CVE names the divergent module. The advisory's affected-versions field is <= 0.3.0. The Web layer is not affected. The API layer is the entire CVE.
CVE-2026-47125: Arcane's Admin Check Was Opt-In. The Templates Handler Did Not Opt In.. Arcane's backend/api/handlers package ships a single admin helper, checkAdminInternal, defined in helpers.go and called eighty-one times across eleven sibling handler files. Templates.go calls it zero times. Six template operations sit behind one Security block of BearerAuth/ApiKeyAuth, with no admin call site in any of them. The parallel modules are handler files in one package; the import is free; the choice to call is per-file. The CVE names the file where the choice was no.
CVE-2026-42036: Axios's maxContentLength Lived Inside the Buffered Branch's Counter. The Streaming Branch Did Not Buffer.. CVE-2026-42036 is the within-function variant. Axios's lib/adapters/http.js forks at line 788 on responseType === 'stream'. The else branch buffers the response and attaches a byte counter to the chunk handler it needs anyway; the maxContentLength check rides inside that counter, four lines below the buffer-append. The if branch hands the readable to the caller and settles immediately, so it has no chunk handler to attach a counter to and never had a place for the limit to live. Where Astro's Cloudflare adapter forgot the allowlist across files, mcp-atlassian forgot it across functions, and MLflow's FastAPI routers forgot it across runtimes, this exhibit shows the gate failing to copy across two adjacent branches of the same control-flow fork in the same function. The 2019 commit that added maxContentLength (acabfbd, fixing #1098) put the check inside the chunk handler it had open in its editor and never moved its gaze up. The 2026 patch is a Readable wrapper whose entire job is to count bytes the streaming branch never had to count. The same v1.15.1 release ships the same shape a second time: CVE-2026-42034 patches maxBodyLength, which had been enforced by follow-redirects for the redirect path and by no one for the native maxRedirects: 0 path. Both CVEs from the same researcher in the same release. Both are the gate failing to copy across paths that were always there.
CVE-2025-62507: The XACKDEL Patch Already Existed In Five Other Redis Stream Commands. Redis stream commands accept caller-supplied arrays of IDs whose count is unbounded by the protocol. Six functions in src/t_stream.c declare a fixed-size streamID static_ids[STREAMID_STATIC_VECTOR_LEN] buffer on the stack and pair it with a heap-realloc check that swaps to zmalloc when the count exceeds the static size. Five of the six functions ship the check; xackdelCommand does not. PR #14130 added both xackdelCommand and xdelexCommand in the same commit by the same author, and the divergence is internal to the patch: xdelexCommand carries the check, xackdelCommand omits it. The canonical idiom is in the file five times over. The CVE names the function with two lines missing.
CVE-2026-39363: Vite's /@fs Route Returns 403. The HMR WebSocket Returns the File.. Vite has two callers that ask the dev server to load a module by id: the HTTP /@fs/ middleware and the WebSocket fetchModule invoke handler. The middleware remembers to call isServerAccessDeniedForTransform against server.fs.allow; fetchModule calls transformRequest with no allowId, so the same loader path runs without the same gate. The canonical caller has the check, the divergent caller forgot it, and the loader they share will read whatever you ask for. CVE-2026-39363 is what happens when the second caller's author didn't know the first caller was the one holding the door shut.
CVE-2025-24893: XWiki's DatabaseSearch Bypassed the Renderer. SolrSearchMacros Emitted Into It.. XWiki's Main/DatabaseSearch.xml and Main/SolrSearchMacros.xml are parallel search backends that share the media=rss contract on the same default endpoint surface, both inlining the caller's text parameter into the feed they emit. DatabaseSearch ended its RSS branch with $response.writer.print($feedOutput) and $xcontext.setFinished(true), plus an inline comment naming the threat ("avoid the execution of the Rendering Transformations"). SolrSearchMacros ended its RSS branch with setContentType and a Velocity emit-the-string line, which sent the feed back through the rendering pipeline that runs {{groovy}} macros as the page's XWiki.Admin content author. The CVE names the divergent module. The same patch commit consolidates the writer.print + setFinished pattern into a new #rawResponse macro and retrofits it across four sibling files that already had the pattern by hand.
CVE-2026-0545: MLflow's basic-auth Only Gated Flask. Three FastAPI Routers Were Open.. CVE-2026-0545 is the across-runtimes variant. MLflow's tracking server is a FastAPI app with the legacy Flask app mounted at /, and the basic-auth provider in mlflow/server/auth/__init__.py writes one gate for each runtime: a Flask before_request hook that denies every path not on a four-entry unprotected list, and a FastAPI middleware that consults _find_fastapi_validator and forwards every path the function doesn't match. Both gates were registered in the same factory. They have opposite defaults. Three of the four FastAPI routers in mlflow/server/fastapi_app.py (otel_router, job_api_router, assistant_router) were not in the validator-finder's table and shipped publicly for twenty weeks until commit bb62e77 added them. Where Astro's exhibit shows the gate failing to copy across modules and mcp-atlassian's shows it failing to copy across upload-vs-download directions, MLflow's shows it failing to copy across the two router-tables one team owns and the other team has to mirror. Adding a router to fastapi_app.py and forgetting _find_fastapi_validator is "ship a new public HTTP surface."
CVE-2026-45395: Open WebUI's Create Endpoint Asked For workspace.tools. The Update Endpoint Did Not.. CVE-2026-45395 is the within-file, across-symmetric-handler variant. Open WebUI's backend/open_webui/routers/tools.py declares create_new_tools and update_tools_by_id as the canonical and divergent write paths into the same exec() sink at backend/open_webui/utils/plugin.py:231 (load_tool_module_by_id). The canonical opens with has_permission(user.id, 'workspace.tools', ...); the divergent opens with ownership-or-write-grant-or-admin and never imports the workspace gate. The two functions are 125 lines apart in the same file. Where the Astro exhibit shows the gate failing to copy across packages, MLflow's across runtimes, Axios's across two branches of one function, NocoBase's across two exported keys of one object literal, and the sibling Open WebUI exhibit (CVE-2026-45401) shows it across five sibling fetchers of one validator, this exhibit shows it across the two RESTful verbs (POST /create and POST /id/{id}/update) the same router file always exposes for a "tool" resource. The May 10 patch is the create endpoint's gate re-typed into the update endpoint with one extra predicate (form_data.content != tools.content) so metadata-only edits through the write-grant path remain a legitimate collaboration flow. The same maintainer (Classic298) closed this CVE and the SSRF-redirect cluster (CVE-2026-45401) within a 24-hour window, both shaped as shared-sink, multiple-callers, gate-fails-to-copy.
CVE-2026-45401: Open WebUI Has One URL Validator and Five URL Fetchers. CVE-2026-45401 is the SSRF gate, validate_url(), failing to copy across five sibling HTTP-fetcher helpers in one Python package. SafeWebBaseLoader._scrape, _fetch, get_content_from_url, load_url_image, and get_image_base64_from_url each call validate_url(url) on the user-submitted string, then independently invoke a different HTTP client (requests.get, aiohttp.ClientSession.get, langchain's WebBaseLoader._scrape) with that client library's redirect-follow default. Five GHSA reporters each filed against one of the five sites. The fix in PR #24491 closed three; PR #24524's commit message names what happened: "Cohort follow-up to PR #24491... this fourth call site in utils/files.py was missed." The advisory's own title, (not addressed by CVE-2025-65958), names the prior consolidated CVE that closed an earlier subset of fetchers in the same package six months earlier. The pattern's mechanism, that the gate fails to copy across siblings because there is no central function that holds both the gate and the operation, is literal here: there is no fetch_url(url) wrapper in the package, and the patches did not add one.
CVE-2026-27825: mcp-atlassian's Path Patch Guarded Every Write. open(file_path, "rb") Is a Read.. CVE-2026-27825 is the same-axis variant. mcp-atlassian implements "open a filesystem path the caller named" in two parallel modules, src/mcp_atlassian/confluence/attachments.py and src/mcp_atlassian/jira/attachments.py. Each module contains two open() call sites: one as the destination of a network response (download write) and one as the source of a network request (upload read). Commit 52b9b099 (Feb 24, 2026, addressing GHSA-xjgw-4wvw-rgm4) imported the shared validate_safe_path helper into both modules in the same diff. It applied the helper at both download sites and at neither upload site. The security utility was at the worksite. The patch author rewrote an existing inline guard in jira/attachments.py thirty lines above the unguarded upload_attachment and did not look further. Where Astro's exhibit shows the gate failing to copy across modules, this exhibit shows the gate failing to copy across directions within a module the patch already had open in its editor.
CVE-2026-41888: Distribution Added Tag Deletion in 2021. The Storage Gate Was Three Functions Away.. CVE-2026-41888 is the across-handler-branches variant of this pattern with a temporal precondition. Distribution's DeleteManifest handler in registry/handlers/manifests.go forks on imh.Tag != "": the digest branch ends at manifests.Delete and threads through linkedBlobStore.Delete, whose first statement is if !lbs.deleteEnabled { return distribution.ErrUnsupported }; the tag branch ends at tagStore.Untag, which calls the storage driver's raw Delete directly and never consults the flag. The structural shape is the same as Axios's CVE-2026-42036 (two branches of one function), Next.js's CVE-2026-44577 (two branches of one ternary), and NocoBase's CVE-2026-41641 (two of three actions on one object literal). What makes this exhibit distinct is that pre-2021, the storage-layer gate was sufficient because the handler refused tag references at its first executable line. Commit 6ae6df7d (May 27, 2021, "Add tag delete API," João Pereira) is the diff that simultaneously removed the handler's tag-shaped rejection AND added a tag-delete branch routed through the ungated storage sibling. The new branch reached tagStore.Untag for the first time on a code path where deleteEnabled could be false. The test added in the same commit, TestManifestAPI_DeleteTag, was set up with newTestEnv(t, false) (deletes disabled) and asserted the tag was gone after DELETE; it ran for nearly five years passing because the bug was the only reason it could. The April 25, 2026 patch (commit 8baf3e0, same author) wires deleteEnabled through three layers: an App.deleteEnabled field, an early-return at the top of DeleteManifest, and a defense-in-depth check inside tagStore.Untag itself. The handler-layer check alone closes the CVE; the storage-layer check exists because the author counted the other callers of Untag (proxy mode, garbage-collection tag-cleanup) and refused to leave the storage sibling reachable from any future route the handler gate might not cover. v3 is patched at 3.1.1; the v2 line (<= 2.8.3, the Docker registry:2 image) has first_patched_version: null and is unfixed.
CVE-2025-58179: Astro Shipped Two /_image Endpoints. Only One Read the Allowlist.. CVE-2025-58179 is the canonical exhibit. Astro's /_image URL contract is implemented twice: packages/astro/src/assets/endpoint/generic.ts (the canonical, used by the dev server and Astro's default image pipeline) and packages/integrations/cloudflare/src/entrypoints/image-endpoint.ts (the Cloudflare adapter's, used by output: 'server' deployments running imageService: 'compile'). The canonical imported isRemoteAllowed from astro/assets/utils from at least 2023-09-29 and enforced the configured image.domains allowlist on every remote URL. The Cloudflare adapter file was created empty in 2024-01, filled with a 12-line proxy in 2024-08 that imported zero security utilities, and shipped without the gate for twelve months and twenty-four days until the August 2025 patch. The patch is isRemoteAllowed, copied from the file two directories away. Five weeks later the same handler took another security commit, this one paired with an identical commit in the canonical generic endpoint, demonstrating the inheritance arrow goes both ways: the canonical's holes propagate to adapters that copy it, and adapters written without copying the canonical inherit none of its safety.
CVE-2026-44576: Next.js Had Five Inline RSC Header Checks. Two Accepted Any Truthy Value.. CVE-2026-44576 is the highest-multiplicity exhibit of this pattern in the Next.js v16.2.4→v16.2.5 window: one HTTP header (RSC) is interpreted by five different inline call sites at three different strictness levels (strict === '1', loose Boolean(...), and loosest !== undefined), and the URL handed to the deployment adapter is canonicalised on the strict path but left query-stringed on the rendering path. The bug is not any single mistake. The bug is that the same question gets answered five times with three different answers, and a router-level decision and an adapter-level decision disagree on what "this is an RSC request" means. The patch is a refactor: one helper, called from every site, plus a parseUrl(...).pathname strip before the adapter sees the URL. Pattern recognition would have surfaced this the moment the second call site was written.
CVE-2026-44577: Next.js Wired maximumResponseBody to One Branch of the Ternary. fetchInternalImage Was the Other.. CVE-2026-44577 is the smallest-distance instance in this catalog. Next.js's image optimizer dispatches every /_next/image request through a ternary in next-server.ts that chooses fetchExternalImage for absolute URLs and fetchInternalImage for path-relative URLs; both functions buffer the upstream response into a Buffer before handing it to Sharp. PR #88183 (January 6, 2026, author styfle) introduced images.maximumResponseBody, a 50 MB cap on that buffer, and wired it through the external branch of the ternary as a new fourth argument. The internal branch was four lines below in the same await expression, in the same statement, in the same editor view; it received no new argument because its function signature had no slot for one (the pre-fix fetchInternalImage declared _req and _res parameters it did not use, and had no concept of caller-supplied bytes). Where Astro's exhibit shows the gate failing to copy across packages, MLflow's across runtimes, Axios's across two branches of one function, and JeecgBoot's across sibling methods on one controller class, this exhibit shows the gate failing to copy across two branches of one ternary. The April 16 patch by the same author threads maximumResponseBody through four call sites (next-server.ts, fetchInternalImage, createRequestResponseMocks, MockedResponse constructor) and adds the byte counter to MockedResponse.write; the value being threaded had been on nextConfig.images with a default since January.
CVE-2026-44573: Next.js's resolveRoutes Prefixed Direct Pages With the Default Locale. It Did Not Prefix Data Routes.. An unusual instance of the pattern: the two parallel implementations are not two files or two services but two locale-resolution sites inside a single function, resolveRoutes. The early site applies the default-locale prefix for direct page requests. The later site, forty lines down, detects a locale on data requests but did not apply the default-locale fallback. The patch is the same eleven-line block, re-typed at the second site. The maintainer's comment in the fix admits the structural intent that the second site was supposed to embody: "the same locale-prefixed internal pathname shape used by direct page requests when the default locale was inferred."
CVE-2026-44575: Next.js's Middleware Matcher Recognized `.json`. The App Router Routes `.rsc`.. Next.js has two functions that classify an incoming URL. The App Router renderer strips three transport suffixes, .rsc, .segments, and .segment.rsc, and routes the canonical path to a page module. getMiddlewareMatchers compiles the developer's config.matcher source into the regex that decides whether middleware runs. The renderer imported the three suffix constants from lib/constants.ts. The matcher never reached for them. The constants pre-existed the bug. The gate's enforcement site ran on a hardcoded \.json alphabet from the Pages Router era while its sibling function had already learned the App Router's vocabulary. Same shape as Vite's CVE-2026-39363, where two callers of transformRequest agreed on which file to load and disagreed on whether to consult server.fs.allow.
CVE-2026-42587: Netty's HttpContentDecompressor Wires maxAllocation Through Two of Five Branches. CVE-2026-42587 is the across-codec-branches-in-one-dispatcher variant. Netty's HttpContentDecompressor.newContentDecoder() is an if/else over Content-Encoding with five branches: gzip and deflate route through ZlibCodecFactory.newZlibDecoder(wrapper, maxAllocation), a factory whose signature forces the call site to type the field name; brotli, snappy, and zstd route through direct new BrotliDecoder(), new SnappyFrameDecoder(), new ZstdDecoder(), no-arg constructors whose signatures make the call site say nothing. The same maxAllocation field is on the same class, declared three lines above and read in two of five branches; the constructor-versus-factory asymmetry is what made it possible to ship the divergence in the same method body. Where Astro's exhibit shows the gate failing to copy across packages, MLflow's across runtimes, Axios's across two branches of one function, NocoBase's across exported keys of one object literal, and JeecgBoot's across sibling methods on one controller class, this exhibit shows the gate failing to copy across five if/else branches inside one method on one class, three of which use constructors whose signatures release the call site from having to think about the field at all. The May 4, 2026 fix tagged netty-4.2.13.Final patches the HTTP/2 sibling dispatcher (DelegatingDecompressorFrameListener) by changing new BrotliDecoder() to new BrotliDecoder(maxAllocation) and new ZstdDecoder() to new ZstdDecoder(maxAllocation). The same two lines applied to HttpContentDecompressor would close the gap on HTTP/1. The patch does not apply them: at the release tag, the HTTP/1 dispatcher's brotli, snappy, and zstd branches are byte-identical to their pre-patch versions.
CVE-2025-8110: Gogs's Symlink Check Was Inside `if opts.IsNewFile`. CVE-2025-8110 is the layered variant of this pattern. Gogs's file-edit contract is implemented in two route handlers that converge on the same writer: editFilePost in internal/route/repo/editor.go (the web UI) and PutContents in internal/route/api/v1/repo/contents.go (the API), both terminating in Repository.UpdateRepoFile. The web UI handler was hardened in PR #7857 (December 8, 2024) with two entry.IsSymlink() calls that consult the git tree object's mode bits before UpdateRepoFile is ever invoked; the API handler never imported the check and called UpdateRepoFile directly. That is the outer gap. The inner gap is inside UpdateRepoFile itself: the function holds two osutil.IsSymlink(filePath) calls, each wearing a 🚨 SECURITY comment, each placed inside a conditional branch (if opts.IsNewFile and if osutil.IsFile(oldFilePath) && opts.OldTreeName != opts.NewTreeName) that the API's update-in-place call shape (IsNewFile=false, OldTreeName == NewTreeName) never enters. The PoC pushes the symlink via git push first, so the file is not new by the time the API arrives, and sets both tree names to "x", so the rename branch is skipped. Execution falls through to os.WriteFile, which follows the symlink and writes to .git/config. Where Astro's exhibit shows the gate failing to copy across packages, MLflow's across runtimes, n8n's across sibling nodes that all reach the same filesystem helper, and Vite's across HTTP-versus-WebSocket callers of a shared loader, this exhibit shows the gate failing to copy at two layers simultaneously: across HTTP route handlers that share a DB-layer writer, AND inside the DB-layer writer across the conditional branches that hold its own self-check. The January 2026 patch hoists the symlink check out of both conditional branches into the function's prologue and walks the entire path hierarchy, doing in one prologue what the prior shape needed two if-blocks to attempt.
CVE-2026-44329: free5GC's UPI Route Group Was Registered Above the OAuth Loop. CVE-2026-44329 is the across-route-group-registration-sites variant inside one Go function. free5GC's SMF SBI listener registers HTTP route groups from two places in newRouter: a canonical path that walks factory.SmfConfig.Configuration.ServiceNameList and dispatches each 3GPP service name to a switch branch whose body instantiates util_oauth.NewRouterAuthorizationCheck(serviceName), binds it via .Use, and registers the routes; and a divergent path at the flat top of the function where two route groups (the UPI topology editor and the SM policy callback group) are registered with router.Group(...).applyRoutes(...) and no middleware between them. The divergent path exists because the operator never enumerates UPI or the callback group in ServiceNameList; the iteration boundary that adds the gate is structurally unable to reach them. Where Astro's exhibit shows the gate failing to copy across packages, MLflow's across runtimes, Axios's across two branches of one function, and JeecgBoot's across sibling methods on one controller class, this exhibit shows the gate failing to copy across two route-registration call sites in the same function, where the iteration that holds the gate cannot enumerate the groups the framework's authors had to register outside it. Five days after the UPI patch (commit 138826c) the same author shipped a partial fix on the SM policy callback group (commit be755dd), the other divergent registration; the third route in that group (POST /:notifyUri for charging notifications) is still ungated by the path-parameter condition the partial fix attached. The pattern's punchline arrives in the patch: four lines that copy what the inside of the loop already did, attached to the group that was sitting above it.
CVE-2026-55199: libssh2's EXT_INFO Loop Skipped the Return Check the Rest of the File Was Running. CVE-2026-55199 is the across-switch-case-parsers-in-one-dispatcher variant. _libssh2_packet_add() in libssh2's src/packet.c is a switch over SSH message types where each case ships its own ad-hoc parser. The file's convention is to read protocol fields through string_buf helpers and check the return on every call; the canonical call sites are in packet_queue_listener (forwarded-tcpip CHANNEL_OPEN), packet_x11_open (X11 CHANNEL_OPEN), the KEXINIT algorithm-list parse, and the CHANNEL_REQUEST parser's request-name and exit-signal reads. The SSH_MSG_EXT_INFO case writes the same shape inside a count-driven loop with two unchecked _libssh2_get_string() calls, where the discarded returns cause the loop to no-op rather than break on parse failure. Where the sibling exhibit on _libssh2_transport_read shows the gate failing to copy across two branches of one fork twelve lines apart, this exhibit shows it failing to copy across the protocol-case parsers each owned by a different SSH message type in the same dispatcher. NVD's CWE-835 assignment ("Loop with Unreachable Exit Condition") misnames the bug: the pre-loop nr_extensions >= 1024 cap makes the exit reachable in at most 1023 iterations, and the patch author's commit message explicitly says so. The fix is two if(...) break; statements that exit the loop on the same -1 return value the file's other count-driven parsers had been checking against. Both libssh2 CVEs from the June 2026 audit cluster were landed by TristanInSec; both are this pattern, eight weeks apart.
CVE-2026-55200: libssh2's chacha20-poly1305 Branch Skipped the Precheck Its Sibling Already Had. CVE-2026-55200 is the across-branches-of-one-fork-in-one-function variant, with a structural cause attributable to cipher-suite history. _libssh2_transport_read forks on whether the negotiated cipher's CRYPT_FLAG_R(REQUIRES_FULL_PACKET) is set. The sibling branch (used by everything except [email protected]) validates p->packet_length > LIBSSH2_PACKET_MAXPAYLOAD against the wire field before computing the allocation. The divergent branch validates total_num > LIBSSH2_PACKET_MAXPAYLOAD against the sum after computing it, where the sum can wrap to a small value when packet_length is 0xffffffff and auth_len is 16. Where the radare2 exhibit shows the security envelope failing to copy across r2-command emit sites in a single parser, Vite's shows it failing to copy across the HTTP and WebSocket callers of one loader, and Netty's shows it failing across five if/else branches of one decoder method, libssh2's case is the same shape inside a much smaller distance: the divergent branch is twelve lines down from the sibling, in the same function, around the same if/else. The chacha20-poly1305 branch was added because the cipher's encrypted-length feature required whole-packet handling. It was added without copying the precheck the existing branch already had. The patch is the existing branch's precheck, copied across the if, byte-identical.
CVE-2026-44351: fast-jwt's Sync Path Rejected key: ''. The Async Resolver Verified Tokens Signed With ''.. CVE-2026-44351 is the within-library, across-lifecycle variant. fast-jwt implements "accept a key and use it" twice in src/verifier.js: once as a string/buffer option validated at createVerifier time (lines 514-525), once as a function-resolver invoked per request (lines 433-466). The synchronous option-validation block opens with if (key && keyType !== 'function'), a falsy guard that short-circuits on key: '' and leaves the string installed unprocessed; the synchronous verifyToken's hasKey = key instanceof Buffer ? key.length : !!key then short-circuits the missing-key check on the same ''. Neither line was written as an emptiness check. The async resolver path, written to handle callback dispatch, takes the same '' and runs Buffer.from('', 'utf-8') to normalise it, after which the value is a truthy zero-length Buffer that passes detectPublicKeyAlgorithms's if (!key) guard (the Buffer is truthy) and prepareKeyOrSecret's typeof key === 'string' guard (the Buffer is not a string), reaching createSecretKey(Buffer.alloc(0)). The April 29, 2026 fix is four lines added to prepareKeyOrSecret, the convergence point both call sites had been routing through unguarded. Where Axios's exhibit shows the gate failing to copy across two branches of one function in the same file, this exhibit shows the gate failing to copy across two lifecycle stages of the same option: an evaluation done at build time and an evaluation done per request.
CVE-2026-44334: PraisonAI's _safe_loader Was Imported in Four Files. tool_override.py Wrote Its Own Gate Two Days Earlier.. CVE-2026-44334 is the variant where the divergent module does not skip the gate by accident. It writes its own. PraisonAI's _safe_loader.load_user_module() is a 100-line helper in the same package whose entire job is to gate spec.loader.exec_module() behind PRAISONAI_ALLOW_LOCAL_TOOLS=true and a Path.relative_to(cwd) containment check. Four files in the package import it: tool_resolver.py, agents_generator.py, cli/main.py, api/call.py. The fifth file with an exec_module() sink, templates/tool_override.py, does not. Where Astro's Cloudflare adapter forgot the allowlist across packages, MLflow's FastAPI routers forgot it across runtimes, NocoBase's update action forgot it across exported keys of one object literal, Axios's streaming branch forgot it across two branches of one function, and JeecgBoot's mLogin forgot it across sibling methods on one controller, this exhibit shows the gate failing to copy across a shared safety helper sitting two directories away. The patch that closes this CVE is the most pointed version of the pattern's punchline yet: rather than add from .._safe_loader import load_user_module and replace one call, the patch author wrote a parallel gate function _autoload_tools_enabled() reading a parallel environment variable PRAISONAI_ALLOW_TEMPLATE_TOOLS. The shared helper exists; the patch declined to call it. The same author shipped both the parallel gate and the wiring of the shared helper through four other files, two days apart.
CVE-2026-43899: DeepChat Gated openExternal in the Preload. The Tab Window Imported shell.. CVE-2026-43899 is the across-handler-types-in-one-Electron-app variant. DeepChat reaches shell.openExternal from four call sites: the preload's api.openExternal IPC method, tabPresenter's setWindowOpenHandler for tab windows, windowPresenter's setupManagedWindowOpenHandler for managed windows, and windowPresenter's settings-window handler. The preload was hardened on February 14, 2026 (commit 89600d8b, fixing CVE-2025-55733) with a five-protocol allowlist named isValidExternalUrl. The managed-window handler had its own four-protocol denylist; the settings-window handler had its own two-protocol allowlist; the tab-window handler had no check at all. Where Astro's exhibit shows the gate failing to copy across packages, mcp-atlassian's across upload-versus-download directions, Axios's across branches of one function, NocoBase's across exported keys of one object literal, and LiteLLM's across sibling modules importing the same library, this exhibit shows the gate failing to copy across four parallel callers of shell.openExternal in the same Electron app: not just an absence on one path, but three independently-authored gates that disagreed on what "external URL" meant, plus one path with no gate at all. The April 25, 2026 fix (a935dc58, "Merge commit from fork") is the function the preload defined on February 14 lifted into a @shared/externalUrl module and applied at all four call sites. The patch is not a new control; the patch is the existing control imported three more times.
CVE-2026-39816: Apache NiFi Patched One Annotation. Ten Days Later, Apache Removed the Mechanism.. CVE-2026-39816 is the across-bundles variant. Apache NiFi gates code-executing components by a class-level @Restricted(requiredPermission = RequiredPermission.EXECUTE_CODE) annotation that the framework reads via class.getAnnotation(Restricted.class). Sixteen components across four bundles (nifi-scripting-bundle, nifi-groovyx-bundle, nifi-jolt-bundle, nifi-standard-bundle) carry the tag. The graph bundle ships three code-executing surfaces (TinkerpopClientService, ExecuteGraphQuery, ExecuteGraphQueryRecord) that all reach GroovyShell.parse() + compiled.run() in the NiFi JVM and never imported the annotation. Where Camel's CVE-2026-40858 shows the gate failing across nine independent component modules in the same vendor's monorepo with no shared utility tying them together, this exhibit shows the same shape in NiFi: the canonical scripting authors wrote @Restricted on every code-executing component they shipped; the graph-bundle author wrote a code-executing component and never imported org.apache.nifi.annotation.behavior.Restricted at all. The gate has been in the framework since NiFi 1.x. The fix is eleven lines copied from the file that had it. NiFi 2.0.0-M1 through 2.8.0 shipped the gap for two years.
CVE-2026-41641: NocoBase's checkSQL Gated Two of Three SQL Actions. The Third One Persists.. CVE-2026-41641 is the smallest-distance variant of this pattern. NocoBase's @nocobase/plugin-collection-sql exposes three actions that accept user-supplied SQL: collections:create, sqlCollection:execute, and sqlCollection:update. PR #5913 by maintainer 2013xile on December 19, 2024 introduced checkSQL in utils.ts and wired it to two of the three in a single diff: a middleware on collections.create in plugin.ts, and an inline guard on execute in sql.ts. The third action sits in the same file as execute, as the next exported key on the same object literal, under the same import { checkSQL } from '../utils'. Where Astro's exhibit shows the gate failing to copy across packages, MLflow's across runtimes, Axios's across branches of one function, and JeecgBoot's across sibling methods on a controller class, this exhibit shows the gate failing to copy across two exported keys of the same object literal in the same file. The April 17, 2026 fix (851aee5, PR #9134) is the six lines from execute re-typed into update. The fix author is the same 2013xile who shipped the original gate sixteen months earlier. The persister-versus-executor framing matters because update does not run SQL itself; it stores SQL the next :list executes, making the deferred-execution path the one place in the threat model the maintainers never wrote down.
CVE-2026-8196: validateCaptcha Is a Sibling Method. mLogin Does Not Call It.. CVE-2026-8196 is the same-class variant. JeecgBoot's LoginController.java declares two parallel implementations of "accept username and password, return a JWT for that user": login() at line 84 and mLogin() at line 650, both @RequestMapping POST handlers on the same controller class. The captcha gate is a private method named validateCaptcha declared on the same class, 278 lines below mLogin. The web login invokes it at step 2 of its numbered comment-block. The mobile mLogin copies steps 1, 3, 4, 5, 7, 8 of login's structure and omits step 2. Where Astro's Cloudflare adapter forgot the allowlist across packages, mcp-atlassian forgot it across upload-versus-download directions in the same module, MLflow forgot it across runtimes, Axios forgot it across two branches of one function, and Apache forgot it across module callers of the shared ap_expr parser, this exhibit shows the gate failing to copy across sibling methods on the same Java controller class. No import, no constructor wire, no shared utility module: validateCaptcha is reachable from mLogin by typing its name. The convention was local to one source file the whole time; the file's author of the divergent method copied the structure without copying the call.
CVE-2026-9675: undici's 6.x Port of PR #4955 Had the Cumulative Check. The 8.x Port Did Not.. Within v8.1.0's lib/web/websocket/receiver.js, the READ_DATA state branches on this.#info.compressed. The compressed branch calls writeFragments(data) and immediately checks this.#fragmentsBytes > this.#maxPayloadSize with a // Check cumulative fragment size comment naming the concern. The uncompressed branch calls writeFragments(body) and never checks #fragmentsBytes. Both branches share the same class field, both increment it through the same writeFragments helper, both expose the same client-facing maxPayloadSize contract. The canonical and the divergent module live in the same function, fifteen lines apart. The exhibit shows the pattern at its smallest grain: not two adapters in two files for two runtimes, but two arms of an if/else inside one function in one file, on one branch, sharing one variable, with one of the two arms enforcing the check the other was supposed to share.
CVE-2026-44578: The Advisory Names Cloud Metadata. The Bug Pins to Localhost.. The advisory says "self-hosted only; Vercel-hosted not affected" — that phrase is the pattern's fingerprint. Vercel's edge runtime and the standalone router-server are two implementations of the same upgrade-handling contract; only one received the absolute-URL guard. The vulnerable path is in packages/next/src/server/lib/router-server.ts, which is code Vercel deployments don't execute. The parallel implementation is hardened by being elsewhere; the self-hosted twin inherited the contract but not the hardening.
CVE-2026-24072: AP_EXPR_FLAG_RESTRICTED Was Opt-In For Fifteen Years. The Patch Opts In Three Modules. Four More Still Read /etc/passwd From .htaccess.. Apache's ap_expr parser shipped AP_EXPR_FLAG_RESTRICTED in 2011 with a docstring that named one consumer (mod_include). Two modules eventually picked it up on their own; three more were patched in 2.4.67 after this CVE; four still parse .htaccess-reachable expressions without it. The shared dangerous-provider gate exists; the callers are the inconsistent surface. This is the same shape as Vite's vite-fs-route-returns-403-hmr-socket-returns-the-file: one loader, multiple parallel callers, one path forgot to ask for the gate that the other paths remembered.
CVE-2026-10220: hermes-agent's Skill Loader Logs The Prompt Injection And Serves The Skill Anyway. CVE-2026-10220 is the within-repo variant where the canonical and divergent modules ship from the same git tree. agent/prompt_builder.py imports tools.threat_patterns.scan_for_threats (the library's own docstring identifies itself as "the single source of truth" for context-window security scanning and names prompt_builder.py and tools/memory_tool.py as its consumers) and on a hit replaces the file content with [BLOCKED: ... Content not loaded.]. The divergent module tools/skills_tool.py defines its own nine-substring _INJECTION_PATTERNS list inline at line 161 and on a hit calls logger.warning(...) and falls through. Both modules expose the same client-facing contract: load markdown into the model's context. The library's docstring on its strict scope names "skill installs" explicitly as a use case the library was written to serve. The CVE names the module that did not import the library.
CVE-2026-46526: local-deep-research Replaced urlparse With urllib3. The Audit That Followed Found Six More SSRF Bypasses.. security/ssrf_validator.py and security/notification_validator.py were two SSRF gates in the same repository that had drifted apart. The canonical one unwrapped IPv4-mapped IPv6 and treated the AWS metadata endpoint as absolutely forbidden. The notification one missed the unwrap and short-circuited the absolute metadata block whenever the operator passed allow_private_ips=True, which the notification path did by default for self-hosted Gotify and ntfy installs. Two validators, one threat model, divergent code. The fix in the cascade audit collapsed them to a single import.
CVE-2026-40369: ntoskrnl Set STATUS_INFO_LENGTH_MISMATCH And Did The Writes Anyway. CVE-2026-40369 is the across-switch-arms-in-one-C-function variant. ExpGetProcessInformation in ntoskrnl.exe is the dispatch target for five SystemInformationClass values (5, 0x39, 0x94, 0xFC, and 0xFD/253). The handlers for classes 5 and 252 hold the user pointer in locals v81 and v86 and check NULL before dereferencing inside the per-process loop. The handler for class 253 (SystemProcessInformationExtension, added later for the Pico-process and container accounting fields) reuses a different local v95, binds it from the caller's buffer pointer at line 8 of the simplified function, jumps over the NULL guard that the older arms execute, and proceeds into LABEL_11 with no precondition. Where Astro's Cloudflare adapter exhibit shows the gate failing to copy across packages, MLflow's exhibit shows it across runtimes, mcp-atlassian's across upload-versus-download directions in one module, Axios's across two branches of one function, NocoBase's across two exported keys of one object literal, and JeecgBoot's across sibling methods on one controller class, this exhibit shows the gate failing to copy across the switch arms of one C function in ntoskrnl. The check is three lines higher in the same function body on the older arms. The divergent arm reuses a different local and inherits none of the precautions written into the locals it does not touch.
CVE-2026-40858: Same Five Lines. Same Author. Eight Apache Camel Components.. CVE-2026-40858 is the across-components-in-one-monorepo variant. Apache Camel implements "ferry a DefaultExchangeHolder over a network" in at least nine separate modules: camel-sql, camel-cassandraql, camel-leveldb, camel-consul, camel-netty, camel-mina, camel-jms, camel-infinispan, and the camel-vertx-http / camel-netty-http helpers. The first instance to get ObjectInputFilter was camel-sql on January 9, 2024 (CVE-2024-22369). The eighth, camel-infinispan, got it on April 14, 2026 (this CVE), twenty-seven months later. Where Axios's exhibit shows the gate failing to copy across branches of one function, MLflow's across runtimes, mcp-atlassian's across upload-versus-download directions, and JeecgBoot's across sibling methods on the same controller class, this exhibit shows the gate failing to copy across nine independent component modules in the same vendor's monorepo with no shared utility tying them together. The canonical was hardened first; the divergent modules each waited their turn. The same author signed all nine commits.
CVE-2026-9082: The Comment Said Use the Array Values. A 2020 Refactor Started Using the Keys.. The base Sql/Condition::translateCondition() refuses to handle array values; it returns early. The pgsql override has to handle them because PostgreSQL's case-sensitive text collation forces a manual LOWER() IN-clause build. The safe sibling abstains; the unsafe sibling overrides the abstention. The 2026 patch inserts the same array_values() guard into the base class's compile() so the next dialect-specific override cannot reintroduce the gap by accident.
The contract is what you promised the caller. The invariants that make the promise safe are what you forgot to promise the next author.