Testbeds for CVE-2026-42208-litellm - #237
Open
mangeshwalsane2-hash wants to merge 3 commits into
Open
Conversation
hemantadil
approved these changes
Aug 10, 2026
robert-doyensec
suggested changes
Aug 14, 2026
robert-doyensec
left a comment
There was a problem hiding this comment.
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 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!" |
There was a problem hiding this comment.
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
Author
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Testbeds for CVE-2026-42208-litellm, please review and approve.