# CVE-2026-39353: InvoicePlane: Remote Code Execution via Writable Templates Directory

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-25T15:30:58.482Z
- Modified: 2026-09-28T15:07:51.540Z
- Weaknesses: CWE-98, CWE-693, CWE-732
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

InvoicePlane is a self-hosted open source application for managing invoices, clients, and payments. Prior to 1.7.2-rc-1, InvoicePlane builds its permitted template list by scanning a PHP template directory that can be written through an administrator-controlled file-write capability. A malicious PHP file placed in the directory is automatically trusted by Mdl_templates and can be selected as public_invoice_template. When a public invoice is rendered, the guest View controller includes the trusted file and executes it with web-server privileges. This issue is fixed in version 1.7.2-rc-1.

(As written by CVE List.)

## Affected

- InvoicePlane InvoicePlane: < 1.7.2-rc-1

## References

- <https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp> (exploit)
- <https://github.com/InvoicePlane/InvoicePlane/pull/1536>
- <https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a>
- <https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1>

## Sources

- CVE List: [CVE-2026-39353](https://www.cve.org/CVERecord?id=CVE-2026-39353), CVE Terms of Use, modified 2026-09-25
- NVD: [CVE-2026-39353](https://nvd.nist.gov/vuln/detail/CVE-2026-39353), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-39353 · Whole record: https://cve.day/CVE-2026-39353.json · Rebuilt by cve.day 2026-11-25T22:59:41.102Z
