fix: remediate starlette, lxml, and python-multipart CVEs for unstructured-api#573
Merged
Conversation
Bump starlette (1.0.0 -> 1.1.0), lxml (6.1.0 -> 6.1.1), and python-multipart (0.0.27 -> 0.0.29) to resolve 5 SLA-breached CVEs: - CVE-2025-62727 (starlette, HIGH) - CVE-2025-54121 (starlette, MEDIUM) - CVE-2026-41066 (lxml, HIGH) - CVE-2026-40347 (python-multipart, MEDIUM) - CVE-2025-12781 (python-3.12 apk, MEDIUM — resolved by rebuild) Adds constraint-dependencies for starlette and lxml (transitive deps) to prevent version regression. Bumps python-multipart minimum in direct dependencies. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
No issues found across 4 files
Shadow auto-approve: would auto-approve. This PR addresses critical CVEs by bumping three dependencies to patched versions with no breaking changes, and all tests pass successfully.
Re-trigger cubic
The previous lockfile was generated through the uv-wrapper which injected Azure DevOps registry URLs, causing `uv sync --locked` to fail in CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
william-u10d
approved these changes
May 27, 2026
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.
Summary
All 5 CVEs are in SLA breach.
Changes
pyproject.toml: bumpedpython-multipartminimum from>=0.0.18to>=0.0.29; addedstarlette>=1.1.0andlxml>=6.1.1to[tool.uv] constraint-dependenciesto pin transitive dep floorsuv.lock: regenerated with upgraded packagesprepline_general/api/__version__.py: patch bump 0.1.6 → 0.1.7CHANGELOG.md: added 0.1.7 security entryTest plan
make install-testsucceeds with--lockedmake test— 133 passed, 0 failures🤖 Generated with Claude Code
Summary by cubic
Remediates five SLA-breached CVEs by updating
starlette,lxml, andpython-multipart, rebuilding for the latest Python 3.12 APK, and tightening transitive floors. Also fixes CI by regeneratinguv.lockwith the realuvbinary.starlette1.0.0 → 1.1.0 — fixes CVE-2025-62727, CVE-2025-54121.lxml6.1.0 → 6.1.1 — fixes CVE-2026-41066.python-multipart0.0.27 → 0.0.29 — fixes CVE-2026-40347.[tool.uv]constraints (starlette>=1.1.0,lxml>=6.1.1); regenerateuv.lockwith realuvto fixuv sync --lockedin CI.CHANGELOG.md.Written for commit 73f74ba. Summary will update on new commits. Review in cubic