{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "15.110.0"
              },
              {
                "introduced": "16.0.0-beta.1"
              },
              {
                "fixed": "16.20.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "a2ab8a654ad157cd377242e9481f600e37361049"
            },
            {
              "fixed": "ab7e5ae99bf24dabb9e424bdc11e16aebd4fdb06"
            },
            {
              "fixed": "5c16f12192815204a7eda2b2ab365a557a6e7def"
            },
            {
              "fixed": "4bf27db101c34bd542a760290fc0775efa5cd0e4"
            },
            {
              "fixed": "b1c86042e6f85986f35365c80bb1d102ff1cd0e4"
            },
            {
              "fixed": "fee1af6d89910f6b174fd094184060aeb641d07d"
            }
          ],
          "repo": "https://github.com/frappe/frappe",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fwrv-4rw4-97fw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48127.json"
  },
  "details": "Frappe is a full-stack web application framework. Prior to 16.20.0 and 15.110.0, users without write access could attach files to any doctype through file-handling API endpoints such as add_attachments. This issue is fixed in versions 16.20.0 and 15.110.0.",
  "id": "CVE-2026-48127",
  "modified": "2026-07-15T01:49:16.731050429Z",
  "published": "2026-07-10T21:23:37.101Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/frappe/frappe/releases/tag/v15.110.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/frappe/frappe/releases/tag/v16.20.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48127.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/frappe/security/advisories/GHSA-fwrv-4rw4-97fw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48127"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/frappe/commit/4bf27db101c34bd542a760290fc0775efa5cd0e4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/frappe/commit/b1c86042e6f85986f35365c80bb1d102ff1cd0e4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/frappe/commit/fee1af6d89910f6b174fd094184060aeb641d07d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/frappe/pull/39407"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/frappe/pull/39550"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/frappe/pull/39553"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe: Arbitrary Attachment Injection via add_attachments and upload_file"
}