//nefariousplan

Emergent Primitive

Individually safe components that compose into an attack. Nobody owns the intersection.

A bug that lives inside one component has an owner. Somebody wrote the code, somebody maintains it, somebody will patch it. The report goes to the owner, the fix goes into the release, defenders follow the advisory. The ownership boundaries make the fix loop possible.

An emergent primitive does not live inside any one component. It lives in the COMPOSITION. Five products, each working exactly as designed, each with clear individual ownership, produce an attack primitive that none of them would have alone. The bug report asks, sensibly, which vendor to address it to. The answer is: all of them, none of them, and the integrator who assembled the combination. The integrator was probably the customer.

Mechanism

Modern systems are assemblies. A single production service might combine a web framework, a JSON parser, a message queue, an auth provider, a container runtime, an orchestrator, a service mesh, a logging pipeline, and a handful of language-level libraries. Each of those components has its own security model, its own threat assumptions, and its own patch schedule. The assembly has no single security model. The assembly is what the operator produced by wiring the pieces together.

The pattern arises when the wiring itself enables a primitive that no individual component produces. Component A exposes an administrative interface that is safe by assumption because A was designed to live inside a trusted network. Component B offers a serialization feature that is safe by assumption because B was designed to be fed trusted input. Component C provides an HTTP bridge to A's admin interface because an integrator needed it. Component D accepts HTTP from the internet because D is an internet-facing edge. The chain D to C to A to B takes attacker-controlled HTTP and converts it into deserialization at B, which yields code execution.

No component did anything wrong. Each component's assumptions were correct within its designer's scope. The assumption that failed was the one that spanned them all, and nobody owned that assumption.

What makes the pattern specific is the OWNERSHIP VACUUM. The advisory for an emergent primitive has to name a combination, not a product. The fix is not a patch but a rearchitecture. The detection is not a rule but an architectural review. The pattern is structurally uncomfortable because the disclosure pipeline is built around single-component bugs, and this is not that.

Exhibits

CVE-2026-46316: ITScape's Three Drainers Don't Share A Lock. The Patch Trusts xa_erase Instead.. CVE-2026-46316 is owned by arch/arm64/kvm/vgic/vgic-its.c. The patch lives there, the CVE record names it, the kernel CNA tracks it as a vGIC-ITS bug. The guest-to-host escape primitive lives at the intersection of five subsystems: the vGIC-ITS double-put provides the 96-byte UAF trigger; guest_memfd MMAP|INIT_SHARED in virt/kvm/guest_memfd.c gives the guest a direct mmap of freed slab pages; mm/slub.c's cgroup-accounted 96-byte merging puts vgic_irq and guest_memfd backing in the same cache; vgic_irq's field layout admits a fake object the guest fully authors; arp_tbl.gc_work.func in net/core/neighbour.c plus orderly_poweroff in kernel/reboot.c decouple the gadget fire from the usermode-helper invocation that runs as root. The patch closes the trigger. The primitive lives in the composition the patch does not touch.

CVE-2026-43494: net/rds Leaked One Page Reference Per Failed Send. io_uring Had Pre-Loaned 1024.. CVE-2026-43494 is the missed counter inside net/rds/message.c and the patch covers it. The PinTheft primitive is the composition. The RDS leak is one stolen page reference per failed send, owned by the RDS maintainers and fixed by a one-line commit. io_uring's FOLL_PIN bias of 1024 is a performance design owned by the gup/io_uring teams, correct in isolation. The page allocator's per-CPU page list is a LIFO that hands a freed page back to the same CPU's next allocation, a cache-locality decision owned by the mm allocator, correct in isolation. The cross-process page cache lookup for /usr/bin/su is the VFS, correct. The page-cache write at the end of the chain lives at the intersection of all four subsystems, and no single repository, maintainer, or patch is positioned to close it.

CVE-2026-47101: LiteLLM's allowed_routes Field Was The Bypass The Patch Comment Said It Was. Three components inside one repository, each correct in isolation, compose into a privilege escalation no single file owns. /key/generate accepts allowed_routes because keys-with-scoped-route-lists is a real admin feature. The route gate falls through to valid_token.allowed_routes because that field is the documented escape hatch for admin-issued scoped keys. /user/update permits self-update because self-service mutation is the design intent. The composition's primitive, internal_user minting a wildcard key and using it to overwrite their own user_role field, was authored by no one, because no commit in the history sat at the intersection of all three handlers. The fix ships in three independent commits across two files for the same reason: each gap had a separate owner.

CVE-2025-39247: HikCentral Spelled the AES Key Out of Arithmetic. The Endpoint That Encrypts the Admin's Recovery Code With It Is Pre-Auth.. Two endpoints inside HCMP, each correct under its own threat model, compose into a pre-auth admin takeover. The QR endpoint's team threat-modeled license fraud and shipped a feature that emits the install's License ActiveCode encrypted with a key the binary spells out of arithmetic; the password-reset team threat-modeled non-local callers and shipped a handler that accepts the same ActiveCode as proof of identity for admin. Each component is correct in its own scope. The V2.6.3 patch addresses each leak separately (removing the License:%s;DZP:%s format string from one binary, adding an Nginx remote_addr gate to the other config) and leaves the architectural pair intact. The bug lives above both components, and the CVSS vector files only one half.

Dirty Frag: the patched half is the half Ubuntu already mitigated. Two correct kernel patches compose into a write primitive across a six-year reviewer gap. The 2017 fast path in esp_input was guarded for the world it lived in. The 2023 MSG_SPLICE_PAGES UDP path added a new way for skbs to enter that world without setting SKBFL_SHARED_FRAG, and skb_has_shared_frag() did not know about it. Neither commit was wrong on its own. The four-byte page-cache write at crypto_authenc_esn_decrypt is the emergent primitive their composition produced.

CVE-2026-7270: FreeBSD's Exec Pool Staged the Payload. The arithmetic bug in exec_args_adjust_args is the patch and the CVE. The LPE is the composition. Four independently-owned design decisions had to align for a 2,024-byte OOB into the next exec_map entry to become a root shell: the kernel's pool returns entries without zeroing them, the kernel lays them out contiguously without guard pages, sshd uses execv (not execve) to launch sshd-session so the child inherits the environment the OOB just rewrote, and the FreeBSD runtime linker honors LD_PRELOAD whenever issetugid() is zero, even when the process is running as root. Each of those is correct in its own scope. The kernel exec-map team owns the first two, OpenSSH owns the third, FreeBSD's rtld-elf maintainers own the fourth. The patch closes the precedence bug; the primitive it produced was the intersection, which no single repository can fix.

CVE-2026-63030: WordPress's REST Batch Sanitized Under /wp/v2/categories. It Dispatched Under /wp/v2/posts.. The CVE record is filed against the REST batch handler. The unauthenticated-RCE primitive lives at the intersection of four components, each correct under its designer's local scope. The batch handler's three-pass loop is correct as long as its two arrays stay 1-to-1 (fixed by CVE-2026-63030's one line). WP_Query::get_posts()'s author__not_in scalar branch is correct as long as author__not_in arrives as a sanitized array (fixed by CVE-2026-60137's substitution). The posts collection's public-read permission callback is correct because posts are, by design, public-readable. The Customizer changeset, nav-menu-item, and oEmbed-cache subsystems' practice of reading rows out of wp_posts and treating them as legitimate application state is correct as long as nothing else can forge rows into the SELECT output. UNION-based row forgery through a read-only blind SQL injection breaks the last assumption, which is the one that spans all four components. The CVSS 9.8 vector on CVE-2026-63030 and the KEV deadline file the composition under the component that produces the routing bug; the other three carry no record of their contribution.

CVE-2026-42231: xml2js Used defineProperty So __proto__ Wouldn't Mutate. The Property It Wrote Is The Pollution.. No function in this chain has a bug. xml2js's defineProperty bypasses the prototype setter by spec. JSON.stringify enumerates own enumerable string keys by spec. JSON.parse installs keys via CreateDataProperty by spec. Object.assign reads via [[Get]] and writes via [[Set]] by spec. simple-git's createInstanceConfig merges options via Object.assign({...defaults}, ...userOptions) because that is what a config builder does. The RCE lives at the intersection of five repositories, none of which own the chain. The patch ships at one of the five, the others are unchanged.

CVE-2026-46716: Nezha's Permission Check Said Yes to an Empty Servers List. The Dispatcher Ran the Cron on Every Tenant.. No component in this chain is wrong in isolation. The auth gate (commonHandler on /cron) reflects the legitimate design intent that a RoleMember should be allowed to schedule a script on their own server. The generic CheckPermission helper rejects on the first ID the caller does not own, which is what its name promises over non-empty input. The CronTrigger dispatcher walks ServerShared.Range and honors the Cover mode field's ignore-list semantics, which is what the mode field documents. Each author held a coherent threat model. The cross-tenant RCE lives where the three meet, in the way an empty Servers slice becomes a grant at the validator (universal quantifier over zero items) AND a wildcard at the dispatcher (empty ignore-map skips nothing) through the same twelve characters of request body. The May 10 patch ships only at the dispatcher because that is the only component with one author holding the whole picture; the validator is shared by twelve call sites, no single one of whose authors saw the composition that produced CVE-2026-46716.

CVE-2026-34910: UniFi's Auth Gate Read The Raw URI. Nginx Routed The Normalized One.. Three CVSS 10.0 CVEs file SAB-064's RCE chain (CVE-2026-34908 access-control flaw, CVE-2026-34909 path-traversal normalization, CVE-2026-34910 command injection), and the nuclei template's one URL exercises all three in series because the only network-adjacent attacker is one without credentials. Each component is correct under its designed threat model: the SSO callback is legitimately auth-exempt because the request that establishes a session has to be reachable without one; the package-update handler legitimately accepts a package name from authenticated callers; dpkg legitimately runs .deb postinst scripts as root because that is what package managers do. The 5.0.8 fix ships in three independent commits across three different owners (an Nginx ops change, a Go application change, a sudoers system-packaging change). The CVSS vector files each link in isolation; the KEV deadline is filed for the third link because that is the one that produces code execution. The composition has no record of its own. Closest sibling on the catalog is Nezha CVE-2026-46716, where the same shape (three handlers correct in isolation, primitive at their intersection, patch at the only handler whose author can see the whole picture) plays out inside one repository rather than across an Nginx config plus a Go service plus a sudoers file.

CVE-2026-42589: Gotenberg Fixed It Twice. The Advisory Names The First Fix.. No single component on the chain is wrong in isolation. encoding/json is correct to accept any UTF-8 in map keys. go-exiftool's Fprintln interpolation is the documented way to use the persistent-mode protocol. ExifTool's -stay_open True -@ - is a documented batch interface. ExifTool's -if is a documented filter flag whose argument is evaluated as Perl. The RCE primitive is built when those four documented behaviors compose across the trust boundary of an HTTP route, and it is not visible to any review that inspects only one component.

tj-actions: Mutable Tags Were Always a Lie. The tj-actions incident is an emergent primitive across git, GitHub Actions, and the workflow ecosystem. Git tags are mutable by design, which git owns. GitHub Actions resolves action references by tag, which GitHub owns. Workflows run with access to repository secrets, which the repository owner configures. Third-party actions are composed into workflows by whoever authored the workflow, often an integrator with no control over the three upstreams. The primitive (rewritten tag plus automatic re-resolution plus secret exposure) is the composition. No single fix from a single vendor closes it. The defender's work is to push pinning by SHA, a workaround at the composition layer, because that is the only layer with a single owner (the workflow author).

Boundaries

Not every multi-component attack is emergent-primitive. An attacker who chains a known OS bug with a known browser bug to escape a sandbox is combining pre-existing primitives. The primitives existed individually; the chain is the exploit mechanics, not a new primitive. Emergent-primitive requires that the PRIMITIVE ITSELF is a property of the composition, not assembled from primitives each component had on its own.

Not every integration bug. A vendor whose product mishandles input from a second vendor's product is ordinary integration breakage, typically owned by whichever product parsed the input wrong. Emergent-primitive specifically describes the case where all involved components parsed correctly and the problem lives above them.

Not every supply-chain compromise. A maintainer-account-compromise that ships malicious code has a clear owner: the compromised maintainer and the registry that served the code. Those incidents have attribution. Emergent-primitive incidents have attribution vacuums.

Defender playbook

Map the composition boundaries in your stack. For every integration point that crosses a vendor boundary, identify which decisions on each side enable the integration and whose threat model those decisions come from. Decisions that depended on an upstream threat model that is no longer accurate (the component is now exposed on the internet, the input is no longer trusted) are the candidate sites for emergent primitives.

Ask who owns the combination. If the answer is "us, the customer, because we integrated it," you have identified the ownership vacuum. The customer is the last line of defense against bugs that are nobody else's to fix. Budget for the customer's share of the work: architecture review, network segmentation, compensating controls, monitoring that spans component boundaries.

Treat internet exposure as a composition-breaking change. A component designed to live inside a trusted network has a threat model that assumes the network is trusted. Putting it on the internet, or putting it behind a bridge that effectively puts it on the internet, changes the component's security properties without changing its code. The new properties are the composition's problem.

Watch the advisory streams for named-combination advisories. Real disclosures of emergent primitives sometimes come from independent researchers who found the chain, because the vendors individually had no incentive to look. Those advisories read differently from single-product CVEs, they name a combination, suggest configuration changes rather than patches, and often arrive without a CVE because no single vendor took ownership.

Do not assume a vendor fix closes the chain. If the pattern is emergent, the vendor who patched owned one component. The chain may still work via the other four. Verify by rebuilding the chain against the patched version, or by reasoning about whether the patched component's change plugs any path in the composition.

Kinship

Design Debt Driver. Design-debt-driver is vertical: one component repeatedly produces CVEs of the same class. Emergent-primitive is horizontal: multiple components compose into a primitive nobody owns. A component that is a design-debt-driver often participates in emergent primitives, because its recurring bug class is one of the compositional ingredients attackers keep reaching for.

Trust Inversion. Emergent primitives frequently produce trust-inversion outcomes: the composition authorizes actions that none of the components would authorize alone. The authorizing mechanism is the composition itself. Trust inversion is the consequence; emergent-primitive is the generator.

Unauth Write To Execution Path. A specific recurring composition: component A accepts writes without auth, component B executes files from the directory A writes to. Neither component is broken individually. The composition produces pre-auth RCE. Unauth-write-to-execution-path is a named instance of emergent-primitive with enough recurrence to merit its own entry in the taxonomy.

The attack lives in the spaces between your inventory items. Your inventory is components. Your attack surface is compositions. Most security programs measure the first. Attackers exploit the second.