Advisory

PYSEC-2026-1393

Also known as: CVE-2025-30213, GHSA-v342-4xr9-x3q3

Summary

Frappe has Possibility of Remote Code Execution due to improper validation

Details

Impact
A system user was able to create certain documents in a specific way that could lead to RCE.

Workarounds
There's no workaround, an upgrade is required.

Credits
Thanks to Thanh of Calif.io for reporting the issue

Severity

Not rated by the source.

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

frappe

PyPI · All systems

Affected

  • introduced 0, fixed 14.91.0, introduced 15.0.0, fixed 15.52.0 (ecosystem)

Fixed versions

14.91.0, 15.52.0

Fix

  • Fixed version 14.91.0
    pip install --upgrade frappe==14.91.0
  • Fixed version 15.52.0
    pip install --upgrade frappe==15.52.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences