Bump Django to >= 5.2.20 (CVE-2026-124827)

オープン 初心者向け
#4,644 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
django, docker, python
領域
devops, security

調査の方向性

レポートによると、イメージには Django 5.2.17 が含まれており、リポジトリでは pyproject.toml と uv.lock で Django のバージョンを固定しています。依存関係の更新手順を読み、これらのファイルを確認してください。セルフホストイメージのビルド方法と、依存関係の検証方法を確認してください。依存関係が少なくとも 5.2.20 になり、ロックファイルとイメージが修正済みバージョンを使用し、issue のセキュリティ上の懸念に対処できたら完了です。

索引モデルが issue の本文から書いたものです。

説明

Waiting for: Product Owner
Self-Hosted Version

26.11.0

CPU Architecture

x86_64

Docker Version

27.5.1

Docker Compose Version

5.6.1

Machine Specification
  • My system meets the minimum system requirements of Sentry
Installation Type

Fresh Install

Steps to Reproduce
  1. docker run --rm --entrypoint python ghcr.io/getsentry/sentry:26.11.0 -c "import django; print(django.__version__)"
  2. Compare with the fixed versions for CVE-2026-124827 (Django 5.2.20 / 6.0.11 / 6.1.4)
Expected Result

The Sentry image ships a Django version that is not affected by CVE-2026-124827 (>= 5.2.20).

Actual Result

ghcr.io/getsentry/sentry:26.11.0 ships Django 5.2.17, which is affected by
CVE-2026-124827 (CVSS 4.0: 8.7 HIGH, CWE-73, published 2026-12-02):
django.contrib.gis.db.models.RasterField allows file creation at
attacker-controlled locations via the name parameter of a data definition,
potentially leading to RCE depending on the raster driver.

getsentry/sentry master currently pins django==5.2.19 in uv.lock
(pyproject.toml: django>=5.2.19), which is still affected.

Impact assessment: As far as I can tell, Sentry does not enable
django.contrib.gis and uses sentry.db.postgres (no PostGIS), so the
vulnerable code path is most likely not reachable. Scanners such as Trivy do
not flag this yet because the GHSA entry is still unreviewed (no package
mapping), so they will start reporting it once the advisory is reviewed.

Request: Please bump Django to >= 5.2.20 in getsentry/sentry and ship
it with the next self-hosted release, or confirm that Sentry is not affected so
it can be documented as a false positive.

References:

Event ID

No response

主要言語
Shell
スター
9.7k
フォーク
2k
平均マージ
3日 2時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/self-hosted のほかの issue

getsentry/self-hosted の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。