{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "4.2"
              },
              {
                "fixed": "4.2.30"
              },
              {
                "introduced": "5.2"
              },
              {
                "fixed": "5.2.13"
              },
              {
                "introduced": "6.0"
              },
              {
                "fixed": "6.0.4"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "97aa3b7f08f51669e118f3af5ca91026e39664c3"
            },
            {
              "fixed": "3396992e837d5146270ea8112bb622c83fa4a919"
            },
            {
              "introduced": "9e7cc2b628fe8fd3895986af9b7fc9525034c1b0"
            },
            {
              "fixed": "7d831a9eeb88a6bf484af7b56fe29596bdbf09a6"
            },
            {
              "introduced": "36b5f39d9372147f0e758f590e35ee2b2bc317dd"
            },
            {
              "fixed": "141e791f48592011b0f38fb30d44291e3ce74ee0"
            }
          ],
          "repo": "https://github.com/django/django",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "DSF",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4277.json"
  },
  "details": "An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30.\nAdd permissions on inline model instances were not validated on submission of\r\nforged `POST` data in `GenericInlineModelAdmin`.\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 N05ec@LZU-DSLab for reporting this issue.",
  "id": "CVE-2026-4277",
  "modified": "2026-07-15T01:49:16.641659761Z",
  "published": "2026-04-07T14:22:25.547Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/django/django/"
    },
    {
      "type": "ADVISORY",
      "url": "https://docs.djangoproject.com/en/dev/releases/security/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4277.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4277"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.djangoproject.com/weblog/2026/apr/07/security-releases/"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/Django/"
    },
    {
      "type": "ARTICLE",
      "url": "https://groups.google.com/g/django-announce"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Privilege abuse in GenericInlineModelAdmin"
}