Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/bump-fastapi-starlette-uvicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@e2b/code-interpreter-template': patch
---

Upgrade the interpreter server to `fastapi==0.162.0` (Starlette 1.10.0), `uvicorn[standard]==0.54.0` and `websockets==17.3`. The previous `fastapi==0.111.0` pin pulled in Starlette 0.37.2, which is affected by CVE-2024-47874. Upgrading Starlette alone would break kernel interrupts on client disconnect (`run_code` timeouts): uvicorn 0.30.1 advertises ASGI spec 2.4 without raising on writes to a closed connection, so Starlette >= 0.42 never cancels the streaming body and the timed-out cell keeps running in the kernel; uvicorn >= 0.32.1 reports spec 2.3 again, so disconnects cancel the stream and the kernel is interrupted.
7 changes: 4 additions & 3 deletions template/server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
fastapi==0.111.0
fastapi==0.162.0
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Resolved
starlette==1.10.0
httpx==0.28.1
websockets==12.0
uvicorn[standard]==0.30.1
websockets==17.3
uvicorn[standard]==0.54.0
requests==2.33.0
pydantic==2.9.1
certifi==2026.10.19
Loading