Commit 60b39e3
chore(deps): bump python-dotenv to 1.2.2 in test-crewai (#400)
## Summary
- Closes Dependabot alert #115 (`python-dotenv` <1.2.2, CVE-2026-28684 —
symlink-following in `set_key`).
- Bumps the `test-crewai` group's `litellm` pin from `1.83.10` →
`1.83.14`. The older litellm hard-pins `python-dotenv==1.0.1`; the newer
one pins `python-dotenv==1.2.2`. That was the only path forcing the
vulnerable 1.0.1 into the lock's conflict-group resolution.
- After the bump, `uv lock` resolves `python-dotenv` to a single version
(1.2.2). As a side effect, `aiohttp` also moves 3.13.3 → 3.13.4, which
clears 10 aiohttp CVEs (#105–#114).
## Why this is the right knob
The CVE is in `python-dotenv`'s `set_key()` / `unset_key()`
(symlink-following on cross-device rename fallback). `braintrust` only
calls `load_dotenv()` (`py/src/braintrust/cli/eval.py:279`), so end
users are not exploitable through the SDK regardless of the lock state.
This PR exists purely to silence the Dependabot alert by purging the
vulnerable version from the test-crewai resolution.
## Test plan
- [x] `uv lock` resolves cleanly.
- [x] `nox -s "test_crewai(latest)"` collects 17 tests (no install
errors after the litellm bump).
- [ ] CI green on the full matrix.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0f0c1ce commit 60b39e3
2 files changed
Lines changed: 564 additions & 423 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
| |||
0 commit comments