Skip to content

AAP-64830: fixes CVE-2026-1207, CVE-2026-1287, CVE-2026-1312.#1834

Merged
omaciel merged 2 commits intomainfrom
omaciel-CVE-2026-1207-CVE-2026-1287-CVE-2026-1312
Feb 6, 2026
Merged

AAP-64830: fixes CVE-2026-1207, CVE-2026-1287, CVE-2026-1312.#1834
omaciel merged 2 commits intomainfrom
omaciel-CVE-2026-1207-CVE-2026-1287-CVE-2026-1312

Conversation

@omaciel
Copy link
Contributor

@omaciel omaciel commented Feb 6, 2026

Jira Issue: https://issues.redhat.com/browse/AAP-64830
Jira Issue: https://issues.redhat.com/browse/AAP-64841
Jira Issue: https://issues.redhat.com/browse/AAP-64845

Description

Handles the following issues:

  • CVE-2026-1207 Django: SQL Injection via RasterField band index parameter
  • CVE-2026-1287 Django: SQL Injection via crafted column aliases
  • CVE-2026-1312 Django: SQL injection via crafted column aliases in QuerySet.order_by()

Testing

Steps to test

  1. Pull down the PR
  2. ...
  3. ...

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to break)
  • Security fix
  • Performance improvement
  • Code refactoring
  • Documentation update
  • CI/CD update

Backport Policy

This change should be:

  • Not backported - main/master only
  • Backported to specific releases (add labels after merge)

Automated Backport Instructions

After this PR is merged, add one or more labels to automatically create backport PRs:

  • backport/stable-2.4 - Backport to stable-2.4 branch
  • backport/stable-2.5 - Backport to stable-2.5 branch
  • backport/stable-2.6 - Backport to stable-2.6 branch
  • backport/all - Backport to all active stable branches
  • no-backport - Explicitly mark as not needing backport

Backport Justification

Special backport considerations:

Scenarios tested

Production deployment

  • This code change is ready for production on its own
  • This code change requires the following considerations before going to production:

Django: SQL Injection via RasterField band index parameter
pip-audit has an older version of `pip` which causes it to fail due to https://www.cve.org/CVERecord?id=CVE-2026-1703.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 2026

@omaciel omaciel merged commit 99bca7f into main Feb 6, 2026
11 checks passed
@omaciel omaciel deleted the omaciel-CVE-2026-1207-CVE-2026-1287-CVE-2026-1312 branch February 6, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments