Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-1287

published high CVSS 3.1 · 8.3

Potential SQL injection in column aliases via control characters

Published
03 Feb 2026, 14:36:03 UTC
Updated
15 Jul 2026, 01:22:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
djangoproject — djangoDjango · 6.0 to < 6.0.2 (affected · semver) · 6.0.2 (unaffected · semver) · 5.2 to < 5.2.11 (affected · semver) · 5.2.11 (unaffected · semver) · 4.2 to < 4.2.28 (affected · semver) · 4.2.28 (unaffected · semver) · Other versions: unaffected Version-specific Not stated DSF
Red Hat — python3.12-djangoRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 0:4.2.28-1.el8ap and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python3.12-djangoRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 0:4.2.28-1.el9ap and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python3.12-djangoRed Hat Ansible Automation Platform 2.6 for RHEL 9 · 0:4.2.28-1.el9ap and later · Other versions: affected Unaffected Not stated redhat-SADP
Debian bookworm python-django Advisory build 3:3.2.25-0+deb12u2 DSA-6150-1
Ubuntu bionic python-django Advisory build 1:1.11.11-1ubuntu1.21+esm14 USN-8009-1
Alpine Linux edge py3-django Fixed 4.2.28-r0 Package fix record
SUSE / openSUSE SLE-15-SP7 python311-Djangonoarch Advisory build 4.2.11-150600.3.47.1 SUSE-SU-2026:0440-1
Show 91 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — python-djangoRed Hat Satellite 6.16 for RHEL 8 · 0:4.2.28-0.1.el8pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python-djangoRed Hat Satellite 6.16 for RHEL 9 · 0:4.2.28-0.1.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — foremanRed Hat Satellite 6.17 for RHEL 9 · 0:3.14.0.14-1.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — libcompsRed Hat Satellite 6.17 for RHEL 9 · 0:0.1.23-0.3.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python-brotliRed Hat Satellite 6.17 for RHEL 9 · 0:1.2.0-0.1.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python-djangoRed Hat Satellite 6.17 for RHEL 9 · 0:4.2.28-0.1.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python-pulp-containerRed Hat Satellite 6.17 for RHEL 9 · 0:2.22.3-1.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python-pulp-rpmRed Hat Satellite 6.17 for RHEL 9 · 0:3.27.10-2.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rubygem-fog-kubevirtRed Hat Satellite 6.17 for RHEL 9 · 0:1.5.1-1.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rubygem-foreman_kubevirtRed Hat Satellite 6.17 for RHEL 9 · 0:0.4.3-1.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rubygem-katelloRed Hat Satellite 6.17 for RHEL 9 · 0:4.16.0.14-1.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rubygem-rubyipmiRed Hat Satellite 6.17 for RHEL 9 · 0:0.13.0-1.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — satelliteRed Hat Satellite 6.17 for RHEL 9 · 0:6.17.7-1.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — yggdrasil-worker-forwarderRed Hat Satellite 6.17 for RHEL 9 · 0:0.0.3-4.el9sat and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — python3.12-djangoRed Hat Satellite 6.18 for RHEL 9 · 0:4.2.30-1.el9pc and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-25/lightspeed-rhel8Red Hat Ansible Automation Platform 2.5 · 1772214630 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-26/lightspeed-rhel9Red Hat Ansible Automation Platform 2.6 · 1772552788 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — discovery/discovery-server-rhel9Red Hat Discovery 2 · 1770913597 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — satellite/iop-advisor-backend-rhel9Red Hat Satellite 6.18 · 1773451075 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-24/de-minimal-rhel8Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform-24/de-minimal-rhel9Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform-25/de-minimal-rhel8Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform-25/de-minimal-rhel9Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform-26/de-minimal-rhel9Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — automation-controllerRed Hat Ansible Automation Platform 2 Affected Not stated redhat-SADP
Red Hat — python-djangoRed Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — python-django20Red Hat OpenStack Platform 16.2 Unaffected Not required redhat-SADP
Red Hat — python-djangoRed Hat OpenStack Platform 17.1 Unaffected Not required redhat-SADP
Red Hat — python-djangoRed Hat OpenStack Platform 18.0 Unaffected Not required redhat-SADP
Red Hat — satellite-capsule:el8/python-djangoRed Hat Satellite 6 Affected Not stated redhat-SADP
Red Hat — python-djangoRed Hat Update Infrastructure 4 for Cloud Providers Affected Not stated redhat-SADP
Debian bullseye python-django Advisory build 2:2.2.28-1~deb11u12 DLA-4484-1
Debian trixie python-django Advisory build 3:4.2.28-0+deb13u1 DSA-6150-1
Ubuntu focal python-django Advisory build 2:2.2.12-1ubuntu0.29+esm7 USN-8009-1
Ubuntu jammy python-django Advisory build 2:3.2.12-2ubuntu1.25 USN-8009-1
Ubuntu noble python-django Advisory build 3:4.2.11-1ubuntu1.14 USN-8009-1
Ubuntu questing python-django Advisory build 3:5.2.4-1ubuntu2.3 USN-8009-1
Ubuntu trusty python-django Advisory build 1.6.11-0ubuntu1.3+esm10 USN-8009-1
Ubuntu xenial python-django Advisory build 1.8.7-1ubuntu5.15+esm11 USN-8009-1
Alpine Linux v3.23 py3-django Fixed 4.2.28-r0 Package fix record
Alpine Linux v3.24 py3-django Fixed 4.2.28-r0 Package fix record
SUSE / openSUSE openSUSE-Leap-15.6 python311-Djangonoarch Advisory build 4.2.11-150600.3.47.1 SUSE-SU-2026:0440-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Djangonoarch Advisory build 5.2.4-bp160.5.1 OPENSUSE-SU-2026:20184-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangoaarch64 Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangoppc64le Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangos390x Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Djangox86_64 Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4aarch64 Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4ppc64le Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4s390x Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Django4x86_64 Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangoaarch64 Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangoppc64le Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangos390x Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Djangox86_64 Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4aarch64 Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4ppc64le Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4s390x Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django4x86_64 Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6aarch64 Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6ppc64le Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6s390x Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Django6x86_64 Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangoaarch64 Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangoppc64le Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangos390x Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Djangox86_64 Advisory build 5.2.11-1.1 OPENSUSE-SU-2026:10160-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4aarch64 Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4ppc64le Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4s390x Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django4x86_64 Advisory build 4.2.28-1.1 OPENSUSE-SU-2026:10247-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5aarch64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5ppc64le Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5s390x Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django5x86_64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6aarch64 Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6ppc64le Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6s390x Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Django6x86_64 Advisory build 6.0.2-1.1 OPENSUSE-SU-2026:10145-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5aarch64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5ppc64le Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5s390x Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Django5x86_64 Advisory build 5.2.16-1.1 OPENSUSE-SU-2026:11270-1
Ubuntu bionic python-django-common Advisory build 1:1.11.11-1ubuntu1.21+esm14 USN-8009-1
Ubuntu bionic python3-django Advisory build 1:1.11.11-1ubuntu1.21+esm14 USN-8009-1
Ubuntu focal python3-django Advisory build 2:2.2.12-1ubuntu0.29+esm7 USN-8009-1
Ubuntu jammy python3-django Advisory build 2:3.2.12-2ubuntu1.25 USN-8009-1
Ubuntu noble python3-django Advisory build 3:4.2.11-1ubuntu1.14 USN-8009-1
Ubuntu questing python3-django Advisory build 3:5.2.4-1ubuntu2.3 USN-8009-1
Ubuntu xenial python-django-common Advisory build 1.8.7-1ubuntu5.15+esm11 USN-8009-1
Ubuntu xenial python3-django Advisory build 1.8.7-1ubuntu5.15+esm11 USN-8009-1

Description

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.

en · DSF · cna

en · redhat-SADP · adp

A flaw was found in Django. This vulnerability allows a remote attacker to perform SQL injection by using specially crafted control characters within column aliases. When these crafted aliases are passed through dictionary expansion to `QuerySet` methods like `annotate()` or `values()`, it can lead to the execution of arbitrary SQL commands. This could result in unauthorized access to sensitive data or modification of information within the database.

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.3 / 10
Severity
high
Provider
redhat-SADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.4 medium CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
djangoproject Django 6.0 to < 6.0.2 (affected · semver)6.0.2 (unaffected · semver)5.2 to < 5.2.11 (affected · semver)5.2.11 (unaffected · semver)4.2 to < 4.2.28 (affected · semver)4.2.28 (unaffected · semver)Default: unaffected DSF · cna
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 0:4.2.28-1.el8ap and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 0:4.2.28-1.el9ap and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 0:4.2.28-1.el9ap and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.16 for RHEL 8 0:4.2.28-0.1.el8pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.16 for RHEL 9 0:4.2.28-0.1.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:3.14.0.14-1.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:0.1.23-0.3.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:1.2.0-0.1.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:4.2.28-0.1.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:2.22.3-1.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:3.27.10-2.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:1.5.1-1.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:0.4.3-1.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:4.16.0.14-1.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:0.13.0-1.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:6.17.7-1.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:0.0.3-4.el9sat and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.18 for RHEL 9 0:4.2.30-1.el9pc and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.5 1772214630 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 1772552788 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Discovery 2 1770913597 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Satellite 6.18 1773451075 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenStack Platform 16.2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenStack Platform 17.1 Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenStack Platform 18.0 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Satellite 6 Default: affected redhat-SADP · adp
Red Hat Red Hat Update Infrastructure 4 for Cloud Providers Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (DSF · cna)
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (redhat-SADP · adp)

References

15

Provider assertions

3

DSF · cna

Potential SQL injection in column aliases via control characters

redhat-SADP · adp

Django: Django: SQL Injection via crafted column aliases

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ef961d449f3b07835a18ff92d60503b45af46ccff8087b216a5e236d9a461c78
Ingested
23 Sep 2026, 09:04:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected