CVE-2026-87975

Media (5.3)—
Seguimiento normalGravedad Media 5.3. Sin exploit público ni explotación activa conocidos.
Gravedad5.3Media · CVSS 4.0
Probabilidad de explotación0.23 %mayor que el 13 % de las CVE · dato del 24 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 12:00
Exploit públicoNo conocidosin código público localizado

Se ha descubierto un problema en Django 6.1 anterior a la 6.1.2, 6.0 anterior a la 6.0.9 y 5.2 anterior a la 5.2.18. `django.forms.models.BaseModelFormSet.save_existing_objects()` utilizaba la presencia de una clave primaria en la instancia de un formulario enviado como prueba de que la instancia pertenecía al queryset limitador del formset.

Leer descripción completaMostrar menos

Un objeto fuera de ese queryset se representa mediante una instancia recién construida cuya clave primaria todavía puede rellenarse a partir de los datos enviados cuando la clave primaria del modelo es un campo aceptado por el formulario, como un `OneToOneField` o un enlace al padre utilizado como clave primaria del modelo de un formset en línea, o una clave primaria natural o UUID incluida en los campos del formulario. Esto permite a un usuario autenticado autorizado a enviar dicho formset eliminar filas fuera del queryset limitador, sin ningún permiso sobre el objeto atacado, mediante datos falsificados del formulario de gestión que marcan para su eliminación un objeto ajeno al queryset. Los modelos que utilizan la clave primaria AutoField predeterminada no están afectados. Las series anteriores de Django sin soporte (como 5.1.x, 5.0.x y 4.2.x) no se han evaluado y también podrían estar afectadas. Django agradece a Seonggwon Yoon que haya notificado este problema.

Traducción automática del texto original de NVD (en inglés).

Cronología

Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.

  1. Registro CVE publicado en NVD

Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Acceso remoto autenticado (PR:L) sobre servicio Django: manipulación de datos de formularios para eliminar registros fuera del queryset autorizado sin permisos sobre el objeto.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Registro NVD

Estado en NVD
Aplazada
Publicada
6 oct 2026
Última modificación
6 oct 2026
Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Debilidad (CWE)
CWE-639

Referencias

Mostrar 1 referencias másMostrar menos

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-87975",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-87975",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-10-06T13:51:18.609494Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 4.3,
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
          "integrityImpact": "LOW",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "NONE"
        },
        "impactScore": 1.4,
        "exploitabilityScore": 2.8
      }
    ],
    "cvssMetricV40": [
      {
        "type": "Secondary",
        "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92",
        "cvssData": {
          "Safety": "NOT_DEFINED",
          "version": "4.0",
          "Recovery": "NOT_DEFINED",
          "baseScore": 5.3,
          "Automatable": "NOT_DEFINED",
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "valueDensity": "NOT_DEFINED",
          "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
          "exploitMaturity": "NOT_DEFINED",
          "providerUrgency": "NOT_DEFINED",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "privilegesRequired": "LOW",
          "subIntegrityImpact": "NONE",
          "vulnIntegrityImpact": "LOW",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "subAvailabilityImpact": "NONE",
          "vulnAvailabilityImpact": "NONE",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "subConfidentialityImpact": "NONE",
          "vulnConfidentialityImpact": "NONE",
          "confidentialityRequirement": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED"
        }
      }
    ]
  },
  "affected": [
    {
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92",
      "affectedData": [
        {
          "repo": "https://github.com/django/django/",
          "vendor": "djangoproject",
          "product": "Django",
          "versions": [
            {
              "status": "affected",
              "version": "6.1",
              "lessThan": "6.1.2",
              "versionType": "python"
            },
            {
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "python"
            },
            {
              "status": "affected",
              "version": "6.0",
              "lessThan": "6.0.9",
              "versionType": "python"
            },
            {
              "status": "unaffected",
              "version": "6.0.9",
              "versionType": "python"
            },
            {
              "status": "affected",
              "version": "5.2",
              "lessThan": "5.2.18",
              "versionType": "python"
            },
            {
              "status": "unaffected",
              "version": "5.2.18",
              "versionType": "python"
            }
          ],
          "packageName": "django",
          "collectionURL": "https://pypi.org/project/Django/",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-10-06T14:17:47.580",
  "references": [
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security/",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    },
    {
      "url": "https://github.com/django/django/commit/83cbd21be57483e6b3eb6e4688a561c841aff75e",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    },
    {
      "url": "https://github.com/django/django/commit/b83ab92bc5474558b083a840ea4628b3261b2cfe",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    },
    {
      "url": "https://github.com/django/django/commit/cce6c57ed30ea83725f9d6abb2fe5ee932bab107",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    },
    {
      "url": "https://github.com/django/django/commit/ff27883ca055aa9ab23015b50674a5b10dfe5a41",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    },
    {
      "url": "https://groups.google.com/g/django-announce",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2026/oct/06/security-releases/",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
    }
  ],
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92",
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.18.\n`django.forms.models.BaseModelFormSet.save_existing_objects()` used the presence of a primary key on a submitted form's instance as evidence that the instance belonged to the formset's limiting queryset. An object outside that queryset is represented by a newly constructed instance whose primary key can still be populated from submitted data when the model's primary key is a field accepted by the form, such as a `OneToOneField` or parent link used as the primary key of an inline formset's model, or a natural or UUID primary key included in the form's fields. This allows an authenticated user permitted to submit such a formset to delete rows outside the limiting queryset, without any permission on the targeted object, via forged management-form data marking an out-of-queryset object for deletion. Models using the default AutoField primary key are not affected.\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.\nDjango would like to thank Seonggwon Yoon for reporting this issue."
    }
  ],
  "lastModified": "2026-10-06T14:17:47.720",
  "sourceIdentifier": "6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"
}