← Back to Pull requests

[RHOAI 3.5] CVE-2026-112940: bump filelock to >= 4.2.1 #1473

Closed
unknown closed this pull request without merging on Nov 10, 2026 16:05 UTC
View on GitHub
unknown unknown commented on Nov 10, 2026 10:22 UTC
Author

Summary

  • Bumps filelock to fix CVE-2026-112940 (affected versions >= 3.20.4, < 4.2.1)

  • Universal images: added filelock>=4.2.1 to constraint-dependencies in pyproject.toml, regenerated requirements.txt via uv pip compile (3.30.2 → 4.2.4)

  • Runtime images: updated Pipfile.lock via pipenv upgrade --lock-only (4.0.12 → 4.2.10)
  • Affected image variants

    Universal (pyproject.toml + requirements.txt):

  • th-torch-cpu-py312

  • th-torch-cuda-py312

  • th-torch-rocm-py312
  • Runtime (Pipfile.lock):

  • py312-cuda128-torch280

  • py312-rocm64-torch280

  • py312-cuda128-torch290

  • py312-rocm64-torch290
  • CVE tickets


    RHAI-13093, RHAI-13094, RHAI-13096, RHAI-13098, RHAI-13118, RHAI-13119, RHAI-13120

    Midstream reference


    opendatahub-io/distributed-workloads#1114

    Test plan

  • make verify-requirements passes for all affected image variants

  • Only filelock version changed in each lockfile/requirements.txt — no unrelated dependency changes

  • filelock>=4.2.1 constraint added to all universal pyproject.toml files

  • --index-url line preserved in all universal requirements.txt files

  • CI build passes
  • ---
    AI-generated. Review for accuracy.

    Automated by scheduled task cve_worker (instructions: config/groups/ai-platform/personas/kubeflow_trainer/scheduled_tasks/kubeflow_trainer_cve_worker.md, run: ed9147b0, commit: 2cb413a6a)

    Chai persona: Kubeflow Trainer

    Diff: 180 lines (+135 / -45) across 2 files Reviewer: sutaakar Review duration: 342m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 180 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.311
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1473"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 35.5% (MEDIUM) · Higher = larger blast radius
    35.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14% · Safe to merge
    14%