Repository navigation
feat(deps): ratchet CVE gates from CRITICAL to HIGH - #1856
Conversation
With the HIGH backlog cleared (transitive lockfile fixes, lodash/tmp overrides, xlsx CDN migration), flip both blocking gates in .github/workflows/security.yml as tracked in #1498: - bun audit gate: --audit-level=critical -> high - Trivy vulnerability gate: severity CRITICAL -> HIGH,CRITICAL The Trivy gate scans every lockfile (bun.lock + services/*/uv.lock) with no prod/dev split, so the flip also required clearing the Python HIGH advisories it would now see: - services/rag/uv.lock: urllib3 2.6.3 -> 2.7.0 (GHSA-mf9v-mfxr-j63j, GHSA-qccp-gfcp-xxvc), idna 3.11 -> 3.18. - services/crawler/uv.lock: urllib3 2.7.0, cryptography 46.0.3 -> 48.0.1 (CVE-2026-26007), pyopenssl 25.3.0 -> 26.2.0 (GHSA-5pwr-322w-8jr4), aiohttp 3.14.1, requests 2.34.2, idna 3.18, pygments 2.20.0. - lxml CVE-2026-41066 (XXE, fixed in 6.1.0) stays: crawl4ai==0.8.6 pins lxml~=5.3, so it gets a dated, path-scoped accept-risk entry in .trivyignore.yaml (no iterparse/ETCompatXMLParser call sites in the repo). starlette PYSEC-2026-161 remains (MODERATE — below the gate; fix is a major bump constrained by fastapi). Docs (en/de/fr) now state the gate blocks high or critical advisories. RAG (318) and crawler (489) test suites pass on the bumped locks.
3ed9696 to
35ca331
Compare
|
Warning Review limit reached
More reviews will be available in 45 minutes and 51 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. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. 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 |
What / why
Part of #1803 (security epic) · Closes #1498. Stacked on #1855.
With the HIGH backlog cleared by the two PRs below this one, both blocking CI security gates ratchet from CRITICAL to HIGH, completing the remaining scope of #1498:
.github/workflows/security.yml: bun audit gate--audit-level=critical→--audit-level=high; Trivy vulnerability gateseverity: CRITICAL→HIGH,CRITICAL. Stale "HIGH backlog / see Feature: Add CVE scanner to CI + security-only Renovate fast-track #1498" comment blocks rewritten.docs/{en,de,fr}/self-hosted/operate/security/advisories.md): the fast-track paragraph now says CI blocks any merge introducing a known high or critical advisory.The Trivy gate scans every lockfile (
bun.lock+services/*/uv.lock) with no prod/dev split, so the flip also required clearing the Python HIGHs it would now see:services/rag/uv.lock: urllib3 2.6.3 → 2.7.0 (GHSA-mf9v-mfxr-j63j HIGH, GHSA-qccp-gfcp-xxvc HIGH), idna 3.11 → 3.18.services/crawler/uv.lock: urllib3 2.7.0, cryptography 46.0.3 → 48.0.1 (CVE-2026-26007 HIGH), pyopenssl 25.3.0 → 26.2.0 (GHSA-5pwr-322w-8jr4 HIGH), aiohttp 3.14.1, requests 2.34.2, idna 3.18, pygments 2.20.0.lxml~=5.3. It gets a dated, path-scoped accept-risk entry in.trivyignore.yaml(repo has noiterparse/ETCompatXMLParsercall sites; crawler runs isolated), listed under its CVE/GHSA/PYSEC aliases. Revisit on each crawl4ai release.Decision-gate recommendations baked in
vulnerabilityAlerts, and the stricter gates now block regressions at merge time. Veto at review if you want it enabled.Verification
Performed:
bun audit --prod --audit-level=highexit 0 (the exact new gate command).pip-audit over both exported uv.locks (dev-inclusive): only starlette (MODERATE) and the suppressed lxml finding remain; severities cross-checked against the GHSA records.
RAG test suite (318 passed) and crawler test suite (489 passed) on the bumped locks.
Docs:
bun run --filter @tale/docs lint+test(139 tests) green; workflow + ignore-file YAML parse.bun run checkgreen at this branch.Flipped gates executed for real on this branch via
workflow_dispatch: Security run 27313180665 — Bun audit (HIGH gate) and Trivy filesystem scan (HIGH,CRITICAL gate overbun.lock+services/*/uv.lockwith the lxml suppression) both pass.Note:
security.ymlonly auto-triggers on PRs targetingmain, so this stacked PR shows no Security check until it retargets after #1855 merges — the dispatched run above covers that gap.Pre-PR checklist
bun run check(format, lint, typecheck, all tests).services/platform/messages/{en,de,fr}.json— N/A./docs/{en,de,fr}/for every user-visible change (advisories page, all three locales).bun run --filter @tale/docs lintandbun run --filter @tale/docs test.