fix(ci): ignore CVE-2026-47214 in pip-audit pending langchain-docling fix#48
Conversation
… fix docling is pinned to <2.92 because langchain-docling 2.0.0 doesn't yet support the slim package layout introduced in 2.92, so we can't take the 2.94.0 fix for this CVE without breaking the integration. Ignore it in CI for now per the short-term workaround in #45, with a comment pointing back to the issue and the version pin.
|
Warning Review limit reached
More reviews will be available in 50 minutes and 57 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. 📝 WalkthroughWalkthroughThis PR adds a CVE ignore flag to the GitHub Actions security job. The ChangesSecurity CI Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci.yml:
- Around line 99-103: Update the local security gate in the justfile so it
matches CI: modify the pip-audit invocation used by the just target (the local
"security" command in justfile) to include the same ignore flags as CI by adding
--ignore-vuln GHSA-r7w7-9xr2-qq2r and --ignore-vuln CVE-2026-47214 to the
existing uv run pip-audit --skip-editable command so local `just security` and
the CI pip-audit step behave identically.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b3526f9c-ed0d-427a-9811-c8309105133d
📒 Files selected for processing (1)
.github/workflows/ci.yml
The justfile's security target was missing the new CVE-2026-47214 ignore, so just security and the CI pip-audit step would diverge. Mirror the CI flags and document the reason, matching the existing GHSA comment style.
|
@coderabbitai Good catch — fixed in 783777b. The `just security` target now mirrors CI's pip-audit invocation (both `--ignore-vuln` flags), with a comment explaining the new `CVE-2026-47214` ignore alongside the existing `GHSA-r7w7-9xr2-qq2r` one. |
|
Opened #49 to track reversing this workaround once |
|
Tip For best results, initiate chat on the files or code changes.
If you found this review helpful, would you consider giving us a shout-out on X? Thank you for using CodeRabbit! |
Sergey-Zeltyn
left a comment
There was a problem hiding this comment.
Approved.
We should remove --ignore-vuln once langchain-docling supports docling>=2.94
Summary
--ignore-vuln CVE-2026-47214to the pip-audit step in CI, with a comment explaining why<2.92becauselangchain-docling2.0.0 doesn't support the slim package layout introduced in 2.92, so we can't take the 2.94.0 fix without breaking the integrationTest plan
uv run pip-audit --skip-editable --ignore-vuln GHSA-r7w7-9xr2-qq2r --ignore-vuln CVE-2026-47214reports no known vulnerabilities locallyCloses #45
Summary by CodeRabbit