Skip to content
RCE Write-up Advanced

The target

A hardcoded API key in client-side JavaScript gave access to a GraphRAG API that allowed reading and writing thousands of real meeting sessions. An unsanitised filename in an upload endpoint allowed arbitrary file write, which was chained with an unsafe pickle load to achieve blind remote code execution as root, exposing AWS credentials and 17 secrets.

zonduu.me

Published on zonduu.me

I found this for Meta's May 2026 live hacking event in Taiwan, which I was invited to. I chained a hardcoded API key with two path traversals and an unsafe pickle load to get code execution as root on a Meta service, and from there I pulled the container's AWS credentials, two GCP service accounts, and every secret in…

The author, on zonduu.me

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a combination of a hardcoded API key in client-side code, missing sanitisation of uploaded filenames allowing path traversal, and unsafe deserialisation of pickle files without signature checks.

Impact

An attacker could read and write thousands of real meeting sessions, execute code as root on the container, and obtain AWS credentials and 17 secrets including OAuth client secrets, a JWT signing key, and two GCP service accounts.

What the attacker needed

Access to the client-side JavaScript; the hardcoded API key is valid; the upload endpoint accepts files; the /visualize endpoint loads pickle files

How it was found

  1. Find the hardcoded API key in a Next.js JavaScript chunk.
  2. Use the key to list available datasets and read session graphs.
  3. Upload a file with a traversing filename to write outside the intended input folder.
  4. Upload a Python module and a malicious pickle file into the package directory.
  5. Trigger the pickle load via the /visualize endpoint with a traversing dataset parameter.
  6. Receive callbacks with command output and credentials on an external server.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A secret key was left in the website's code that anyone could see, and it unlocked a service storing real user conversations. The service also let files be saved with tricky names that could overwrite important system files, and one of those files was later loaded in a way that runs code, giving the attacker full control of the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.