{"id":"CVE-2026-1207","aliases":["CVE-2026-1207","GHSA-mwm9-4648-f68q","BIT-DJANGO-2026-1207","PYSEC-2026-44"],"related":[],"kind":"vulnerability","state":"published","title":"Potential SQL injection via raster lookups on PostGIS","summary":"An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.\nRaster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Tarek Nakkouch for reporting this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28.\nRaster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Tarek Nakkouch for reporting this issue.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en 6.0 antes de 6.0.2, 5.2 antes de 5.2.11 y 4.2 antes de 4.2.28.\nLas búsquedas de ráster en 'RasterField' (solo implementado en PostGIS) permiten a atacantes remotos inyectar SQL a través del parámetro de índice de banda.\nSeries de Django anteriores no soportadas (como 5.0.x, 4.1.x y 3.2.x) no fueron evaluadas y también pueden estar afectadas.\nDjango desea agradecer a Tarek Nakkouch por reportar este problema.","source":"nvd"}],"published":"2026-02-03T14:35:33.721Z","modified":"2026-09-10T16:01:31.328Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"6.0","fixed":"6.0.2","status":"affected"},{"type":"semver","version":"6.0.2","status":"unaffected"},{"type":"semver","introduced":"5.2","fixed":"5.2.11","status":"affected"},{"type":"semver","version":"5.2.11","status":"unaffected"},{"type":"semver","introduced":"4.2","fixed":"4.2.28","status":"affected"},{"type":"semver","version":"4.2.28","status":"unaffected"}],"vendor":"djangoproject","product":"Django","package":"django","repo":"https://github.com/django/django/","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.28-1.el8ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","package":"python3.12-django","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.28-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","package":"python3.12-django","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.28-1.el9ap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.6 for RHEL 9","package":"python3.12-django","cpe":"cpe:/a:redhat:ansible_automation_platform:2.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.28-0.1.el8pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","package":"python-django","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.28-0.1.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","package":"python-django","cpe":"cpe:/a:redhat:satellite:6.16::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.14.0.14-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.1.23-0.3.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"libcomps","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.0-0.1.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"python-brotli","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.28-0.1.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"python-django","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.22.3-1.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"python-pulp-container","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.27.10-2.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"python-pulp-rpm","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.5.1-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"rubygem-fog-kubevirt","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.4.3-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"rubygem-foreman_kubevirt","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.16.0.14-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"rubygem-katello","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.13.0-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"rubygem-rubyipmi","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:6.17.7-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"satellite","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.0.3-4.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"yggdrasil-worker-forwarder","cpe":"cpe:/a:redhat:satellite_maintenance:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.2.30-1.el9pc","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","package":"python3.12-django","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1772214630","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5","package":"ansible-automation-platform-25/lightspeed-rhel8","cpe":"cpe:/a:redhat:ansible_automation_platform:2.5::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1772552788","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.6","package":"ansible-automation-platform-26/lightspeed-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1770913597","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Discovery 2","package":"discovery/discovery-server-rhel9","cpe":"cpe:/a:redhat:discovery:2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1773451075","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18","package":"satellite/iop-advisor-backend-rhel9","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-24/de-minimal-rhel8","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-24/de-minimal-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-25/de-minimal-rhel8","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-25/de-minimal-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-automation-platform-26/de-minimal-rhel9","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"automation-controller","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"python-django","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","package":"python-django20","cpe":"cpe:/a:redhat:openstack:16.2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 17.1","package":"python-django","cpe":"cpe:/a:redhat:openstack:17.1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","package":"python-django","cpe":"cpe:/a:redhat:openstack:18.0","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite-capsule:el8/python-django","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Update Infrastructure 4 for Cloud Providers","package":"python-django","cpe":"cpe:/a:redhat:rhui:4::el8","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.0a1","status":"affected","fixed":"6.0.2"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.2a1","status":"affected","fixed":"5.2.11"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2a1","status":"affected","fixed":"4.2.28"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2","fixed":"4.2.28"},{"status":"affected","introduced":"5.2","fixed":"5.2.11"},{"status":"affected","introduced":"6.0","fixed":"6.0.2"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"4.2.28"},{"type":"ecosystem","introduced":"5.2","status":"affected","fixed":"5.2.11"},{"type":"ecosystem","introduced":"6.0","status":"affected","fixed":"6.0.2"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.28"},{"type":"semver","introduced":"5.2.0","status":"affected","fixed":"5.2.11"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.0.2"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","fix","patch","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/g/django-announce","tags":["advisory","article","mailing-list","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases/","tags":["advisory","fix","patch","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-1207","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2436338","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1207.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3959","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:5971","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3958","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:5970","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:14835","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3962","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3960","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2694","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6291","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1207","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/81aa5292967cd09319c45fe2c1a525ce7b6684d8","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-44.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2026/feb/03/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mwm9-4648-f68q","tags":["advisory"],"sources":["pysec"]}],"credits":["Tarek Nakkouch","Jacob Walls"],"assigner":"DSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-03T16:21:06.022Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-1207","url":"https://www.cve.org/CVERecord?id=CVE-2026-1207","licence":"CVE Terms of Use","modified":"2026-07-15T11:47:50.492Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mwm9-4648-f68q","url":"https://github.com/advisories/GHSA-mwm9-4648-f68q","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:35.459Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-1207","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1207","licence":"Public domain","modified":"2026-07-15T02:18:13.400Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-44","url":"https://osv.dev/vulnerability/PYSEC-2026-44","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:08.612Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2026-1207","url":"https://osv.dev/vulnerability/BIT-DJANGO-2026-1207","licence":"Apache-2.0","modified":"2026-09-10T16:01:31.328Z"}],"updatedAt":"2026-11-25T22:59:13.390Z","epss":{"score":0.01876,"percentile":0.79994,"date":"2026-11-30T12:00:22.000Z"}}