Skip to content

Testbeds for CVE-2026-42208-litellm - #237

Open
mangeshwalsane2-hash wants to merge 3 commits into
google:mainfrom
mangeshwalsane2-hash:testbeds/CVE-2026-42208-litellm
Open

Testbeds for CVE-2026-42208-litellm#237
mangeshwalsane2-hash wants to merge 3 commits into
google:mainfrom
mangeshwalsane2-hash:testbeds/CVE-2026-42208-litellm

Conversation

@mangeshwalsane2-hash

Copy link
Copy Markdown

Added Testbeds for CVE-2026-42208-litellm, please review and approve.

@robert-doyensec robert-doyensec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to add reproduction steps and remove the seeder. Is the seeder needed? It didn't appear necessary, but if it is, shouldn't it be applied to both the vulnerable and safe containers?

Comment thread litellm/CVE-2026-42208/README.md
Comment thread litellm/CVE-2026-42208/README.md
Comment on lines +63 to +82
# --- RELIABLE AUTOMATED SEEDER ---
seeder:
image: docker.io/curlimages/curl
container_name: litellm-seeder
depends_on:
litellm-vuln:
condition: service_healthy
litellm-patched:
condition: service_healthy
command:
- sh
- -c
- |
echo "Seeding Vulnerable Proxy..."
until [ "$(curl -s -o /dev/null -w "%{http_code}" -X POST http://litellm-vuln:4000/key/generate -H "Authorization: Bearer sk-local-master-vuln" -H "Content-Type: application/json" -d '{"models":["*"]}')" = "200" ]; do
echo "Waiting for vuln proxy API..."
sleep 2
done

echo "Vulnerable Proxy seeding completed successfully!"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# --- RELIABLE AUTOMATED SEEDER ---
seeder:
image: docker.io/curlimages/curl
container_name: litellm-seeder
depends_on:
litellm-vuln:
condition: service_healthy
litellm-patched:
condition: service_healthy
command:
- sh
- -c
- |
echo "Seeding Vulnerable Proxy..."
until [ "$(curl -s -o /dev/null -w "%{http_code}" -X POST http://litellm-vuln:4000/key/generate -H "Authorization: Bearer sk-local-master-vuln" -H "Content-Type: application/json" -d '{"models":["*"]}')" = "200" ]; do
echo "Waiting for vuln proxy API..."
sleep 2
done
echo "Vulnerable Proxy seeding completed successfully!"

Seeder appears unnecessary, testbed and Tsunami plugin still works without it

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The seeder is needed for the vulnerable instance to initialize database tables and generate the master API key required for authentication. It fails on the patched version because newer schema migrations, strict permission checks, or updated internal routing reject the legacy initialization payload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants