Skip to content

Commit 2c8f065

Browse files
lesebmultica-agent
andauthored
fix(deps): patch high-severity CVEs in python-multipart, protobuf, lxml, and npm packages (#5775)
## Summary - Bump `python-multipart` constraint from `>=0.0.22` to `>=0.0.27` to fix CVE-2026-40347 (header injection) and CVE-2026-42561 (DoS via oversized headers) - Add `protobuf>=5.29.6` constraint to fix CVE-2025-4565 and CVE-2026-0994 (parsing vulnerabilities) - Add `lxml>=6.1.0` constraint to fix CVE-2026-41066 (XML entity expansion with default config) - Run `npm audit fix` in `src/ogx_ui` to resolve high-severity advisories in flatted, glob, minimatch, picomatch, and preact ## Test plan - [ ] Verify `uv run --with pip-audit pip-audit` shows no high-severity Python CVEs - [ ] Verify `cd src/ogx_ui && npm audit` shows no high-severity issues - [ ] Run unit tests: `uv run pytest tests/unit/ -x --tb=short` - [ ] Verify no import breakage from protobuf 5.x → 6.x in OpenTelemetry usage --------- Signed-off-by: Sébastien Han <seb@redhat.com> Co-authored-by: multica-agent <github@multica.ai>
1 parent c93c666 commit 2c8f065

2 files changed

Lines changed: 97 additions & 52 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ constraint-dependencies = [
1616
"h11>=0.16.0",
1717
"litellm<1.83.7", # >=1.83.7 pins pydantic==2.12.5 which breaks int coercion in openai model recordings
1818
"pydantic>=2.11.9,<2.12.0", # 2.12 breaks int coercion in openai.types.model.Model during test replay
19+
"lxml>=6.1.0", # CVE-2026-41066: XML entity expansion with default resolve_entities=True
1920
"pillow>=12.2.0", # CVE-2026-40192 + 4 more: heap overflow, OOB write, DoS
21+
"protobuf>=5.29.6", # CVE-2025-4565 + CVE-2026-0994: parsing vulnerabilities
2022
"pyasn1>=0.6.3", # CVE-2026-30922: DoS via unbounded recursion
21-
"python-multipart>=0.0.22",
23+
"python-multipart>=0.0.27", # CVE-2026-40347: header injection; CVE-2026-42561: DoS via oversized headers
2224
"python-socketio>=5.14.0", # CVE-2025-61765: RCE via pickle deserialization
2325
"starlette>=0.49.1",
2426
"tornado>=6.5.5",

0 commit comments

Comments
 (0)