CVE-2026-1287 | Potential SQL injection in column aliases via control characters

An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `FilteredRelation` is subject to SQL injection in column aliases via control characters, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet` methods `annotate()`, `aggregate()`, `extra()`, `values()`, `values_list()`, and `alias()`. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Solomon Kebede for reporting this issue.

公開: 2026-02-03 最終更新: 2026-06-17 Assigner: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 ソース: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92

総合評価: CVE-2026-1287 は低リスク(35.4/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.49%、38 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2026-1287 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.01% 0.49% +0.48%
2 2026-02-04 0.01%

EPSS の全履歴 (全 2 件)

CVE-2026-1287 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.8 2.5 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVE-2026-1287 の弱点分類(列挙)

CVE-2026-1287 の GitHub Security Advisory

GHSA-gvg8-93h5-g6qq · 深刻度: high · エコシステム: pip — Django has an SQL Injection issue

CVE-2026-1287 の OS トラッカー

vendor priority summary link
alpine CVE-2026-1287: 1 source package rows (py3-django); 2 state rows across 2 repos (3.23-community, edge-community); fixed 2, open 0. https://security.alpinelinux.org/vuln/CVE-2026-1287
debian not yet assigned CVE-2026-1287 not yet assigned priority: Debian including 1 source packages (python-django), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2026-1287
redhat high https://access.redhat.com/security/cve/CVE-2026-1287
suse high CVE-2026-1287 severity important: SUSE including 11 source package names (python3-Django-2.2.28-bp156.30.1, python311-Django-4.2.11-150600.3.47.1, …), 13 product×package rows across 5 product lines (SUSE Linux Enterprise Module for Package Hub 15 SP7, SUSE Package Hub 15 SP6, … (5 product lines)): Fixed 13. https://www.suse.com/security/cve/CVE-2026-1287/
ubuntu medium CVE-2026-1287 medium priority: Ubuntu including 1 source packages (python-django), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2026-1287

CVE-2026-1287 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
djangoproject django >= 4.2, < 4.2.28 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django >= 5.2, < 5.2.11 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django >= 6.0, < 6.0.2 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

CVE-2026-1287 の参考情報

cvelogic Threat Intelligence