CVE-2026-48127 Frappe: Arbitrary Attachment Injection via add_attachments and upload_file

Medium 5.3 Published Updated

Attackers without write access can attach files to any doctype via API endpoints, requiring an upgrade to Frappe.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-48127?

CVE-2026-48127 is a medium-severity missing authorization vulnerability in frappe, published on 10 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-48127?

How do I fix CVE-2026-48127?

No fix has been published for CVE-2026-48127 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-48127 being exploited?

There is no known exploitation of CVE-2026-48127 in the wild and no public exploit code.

Sources

Also known as GHSA-fwrv-4rw4-97fw.

Is CVE-2026-48127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free