SCA: security update for django (GHSA-hpr9-3m2g-3j9p)

critical Tenable Self-Hosted Container Security Plugin ID 435485

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7.
QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL
injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the
**kwargs passed to these methods (on MySQL and MariaDB). (CVE-2025-59681)

See Also

https://github.com/advisories/GHSA-hpr9-3m2g-3j9p

Plugin Details

Severity: Critical

ID: 435485

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 10/2/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-59681

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/1/2025

Vulnerability Publication Date: 10/1/2025

Reference Information

CVE: CVE-2025-59681

IAVA: 2025-A-0721-S

cwe: CWE-89