CVE-2026-48127

Frappe: Arbitrary Attachment Injection via add_attachments and upload_file

Published Jul 10, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Frappe, a full-stack web application framework, allows users who do not have write permission to attach files to any doctype via API endpoints such as add_attachments or upload_file. This broken access control flaw (CWE‑862) permits an attacker to persist arbitrary files within the system, potentially exposing sensitive data or facilitating further compromise.

Affected Systems

All Frappe framework releases prior to version 16.20.0 and 15.110.0 are affected The vulnerability exists in every older release where the file‑handling API does not enforce proper write permissions.

Risk and Exploitability

The flaw carries a CVSS score of 5.3, indicating moderate severity. The EPSS score is < 1%, reflecting a minimal likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no confirmed widespread exploitation yet. The likely attack vector is via the web API; an attacker must be able to send requests to add_attachments or upload for access. Once exploited, the attacker can inject files that remain accessible, potentially leading to data leakage or serving as a foothold for further attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Frappe installation to version 16.20.0 or 15.110.0, where the vulnerability is fixed.
  • If an upgrade is not immediately possible, restrict non‑write users from accessing the add_attachments and upload_file endpoints, ensuring the API enforces write‑level permissions.
  • Enable or create audit logging for file upload activity and monitor for unauthorized attachment attempts.

Generated by OpenCVE AI on August 1, 2026 at 11:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Frappe
Frappe frappe
Vendors & Products Frappe
Frappe frappe
Type Values Removed Values Added
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.
Title Frappe: Arbitrary Attachment Injection via add_attachments and upload_file
Weaknesses CWE-862
References
Metrics cvssV4_0

{'score': 5.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 14, 2026, 2:13 PM
Reserved
May 20, 2026, 6:46 PM
Status
Deferred
Published
Jul 10, 2026, 10:16 PM
Modified
Jul 14, 2026, 3:17 PM