CYBERAUTOMATIONSStart a project
Security researchOpen source

Six known flaws in AI and web stacks, reproduced in Docker with detection rules

Six public repositories, one per known flaw in Ollama, LangChain, MLflow and Next.js. Each one runs the vulnerable version in Docker, proves the flaw with a harmless test, and ships Sigma detection rules and remediation steps. Every lab was run end to end before release.

labs, one repository each
6
run end to end in Docker
6 of 6
flaws on the CISA exploited list
0

The problem

Teams adopting AI tooling inherit its flaws: model servers that accept files from any registry, retrieval libraries that fetch any URL they are handed, and loaders that run code hidden in a saved index. An advisory describes each bug in a paragraph, which is not enough to test a fix or tune a detection rule.

Public proof-of-concept repositories are often never run, mislabelled, or built for attack rather than defense. From the README alone a team cannot tell whether the code ever worked.

The approach

  1. We picked patched flaws with public technical write-ups and checked each one against the CISA Known Exploited Vulnerabilities catalog. Anything on that list was dropped, so these labs teach on bugs that are not known to be used in active attacks.
  2. Each repository pins the vulnerable version in Docker Compose, so the lab runs on one machine and touches nothing outside it.
  3. Every proof is harmless. It writes a marker file, reads a file the lab planted itself, or fetches a mock internal service. None of them opens a shell or sends data anywhere.
  4. Each lab was run end to end before release, and its README quotes the output. Those runs caught real errors in early drafts: wrong file names, a wrong API endpoint, and a checker that followed a redirect and reported a vulnerable app as safe.
  5. Every repository ships Sigma detection rules matched to the request flow that actually worked, plus a remediation guide with the fixed version and stopgaps for teams that cannot upgrade yet.

How it flows

YouDocker labVulnerable appCheckerdocker compose upStart the pinned vulnerable versionRun the proofNormal request, then crafted requestDifferent answersVulnerable or not, with the evidence
  1. You to Docker lab: docker compose up
  2. Docker lab to Vulnerable app: Start the pinned vulnerable version
  3. You to Checker: Run the proof
  4. Checker to Vulnerable app: Normal request, then crafted request
  5. Vulnerable app to Checker: Different answers
  6. Checker to You: Vulnerable or not, with the evidence
One lab run, from start to verdict. Solid arrows are requests, dashed arrows are replies.
Show this diagram as Mermaid text
sequenceDiagram
    participant P0 as You
    participant P1 as Docker lab
    participant P2 as Vulnerable app
    participant P3 as Checker
    P0->>P1: docker compose up
    P1->>P2: Start the pinned vulnerable version
    P0->>P3: Run the proof
    P3->>P2: Normal request, then crafted request
    P2-->>P3: Different answers
    P3-->>P0: Vulnerable or not, with the evidence

Tech stack

Labs
Docker Compose, one isolated project per lab
Checkers
Python, standard library only
Detection
Sigma rules, egress and logging guidance
Targets
Ollama 0.1.33, MLflow 2.15.1, LangChain 0.0.26 to 0.1.5, Next.js 15.2.2
License
MIT

Results

  • All six labs fire on the vulnerable version. The Next.js lab was also rebuilt on the patched release, where the same check reports the app as safe.
  • The six flaws: Next.js middleware authorization bypass (CVE-2025-29927), Ollama path traversal to file write (CVE-2024-37032), MLflow dbfs path traversal (CVE-2024-8859), LangChain pickle code execution (CVE-2024-2057), and two LangChain server-side request forgeries (CVE-2024-3095 and CVE-2023-46229).
  • Each lab states its own limits. The MLflow lab needs a folder an attacker may not be able to create on a real server, and its README says so instead of claiming more than the run showed.

Every figure on this page comes from the project's own code, tests or notes. Where there is no measured number, we describe the outcome in words.

Demo

github.com/dexteon
nextjs-middleware-auth-bypass-cve-2025-29927    Next.js middleware authorization bypass
probllama-ollama-rce-cve-2024-37032    Ollama path traversal to file write
mlflow-dbfs-path-traversal-cve-2024-8859    MLflow dbfs path traversal
langchain-webresearch-ssrf-cve-2024-3095    LangChain Web Research Retriever SSRF
langchain-tfidf-pickle-rce-cve-2024-2057    LangChain pickle code execution
langchain-sitemap-ssrf-cve-2023-46229    LangChain SitemapLoader SSRF
The six repositories, all public on GitHub.

Source code

The code is public. View the AI Stack CVE Labs repository on GitHub.

Service

Windows fleet security posture audits

Passive, read-only posture audits on every Windows host, delivered as scheduled findings reports with remediation steps.

See all custom build services

More builds

Last updated 2026-11-12

Want something like this on your data?

Tell us what you want automated. If it fits, we will tell you exactly what it looks like and what it costs.