{"id":"CVE-2026-39353","published":"2026-09-25T15:30:58Z","modified":"2026-09-25T16:03:39Z","title":"InvoicePlane: Remote Code Execution via Writable Templates Directory","vendor":"InvoicePlane","product":"InvoicePlane","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.44629,"provenance":"source"},"cwes":[{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program"},{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/pull/1536","tags":["x_refsource_MISC"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a","tags":["x_refsource_MISC"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":8.93},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"invoiceplane","affectedVersions":[{"vendor":"InvoicePlane","product":"InvoicePlane","versions":["< 1.7.2-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-25T16:01:31.610429Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-87129","exploited":false,"provenance":"source"}}