Skip to content

fix: update nginx version. fix CVE-2026-9256 - #16732

Merged
JinHai-CN merged 4 commits into
infiniflow:mainfrom
V1V1rus:fix-nginx-cve-2026-9256
Jul 8, 2026
Merged

JinHai-CN merged 4 commits into
infiniflow:mainfrom
V1V1rus:fix-nginx-cve-2026-9256

Conversation

@V1V1rus

@V1V1rus V1V1rus commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the NGINX package used in the RAGFlow Docker image from
1.31.0-1~noble to 1.31.2-1~noble.

NGINX 1.31.0 is affected by CVE-2026-9256. NGINX 1.31.2 includes
the corresponding security fix and is available from the official
NGINX mainline repository for Ubuntu Noble.

References

Fix

Single-line change in Dockerfile:62:

-ARG NGINX_VERSION=1.31.0-1~noble
+ARG NGINX_VERSION=1.31.2-1~noble

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 8, 2026
@coderabbitai

coderabbitai Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 26bc81f5-14ee-4ae9-b6b8-66e35e4bed35

📥 Commits

Reviewing files that changed from the base of the PR and between 18ea093 and 860317f.

📒 Files selected for processing (1)
  • Dockerfile

📝 Walkthrough

Walkthrough

The Dockerfile's NGINX_VERSION build argument is updated from 1.31.0-1noble to 1.31.2-1noble, changing the Nginx package version installed during the image build.

Changes

Dockerfile version update

Layer / File(s) Summary
Update NGINX_VERSION build argument
Dockerfile
The NGINX_VERSION value is bumped from 1.31.0-1noble to 1.31.2-1noble, changing the installed Nginx package version.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A tiny hop, a version tweak,
Nginx grows a touch more sleek.
1.31.2, fresh and new,
This bunny approves the build anew! 🐇✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the NGINX version update and the CVE it addresses.
Description check ✅ Passed The description includes the required Summary section and adds context, references, and the exact Dockerfile change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN JinHai-CN added the ci Continue Integration label Jul 8, 2026
@JinHai-CN
JinHai-CN marked this pull request as draft July 8, 2026 08:36
@JinHai-CN
JinHai-CN marked this pull request as ready for review July 8, 2026 08:36
@codecov

codecov Bot commented Jul 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (40cb581) to head (dddea5c).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16732   +/-   ##
=======================================
  Coverage   93.16%   93.16%           
=======================================
  Files          10       10           
  Lines         717      717           
  Branches      118      118           
=======================================
  Hits          668      668           
  Misses         29       29           
  Partials       20       20           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JinHai-CN
JinHai-CN merged commit 0f08dc0 into infiniflow:main Jul 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants