{"id":"CVE-2026-39353","aliases":["CVE-2026-39353"],"related":[],"kind":"vulnerability","state":"published","title":"InvoicePlane: Remote Code Execution via Writable Templates Directory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-25T15:30:58.482Z","modified":"2026-09-28T15:07:51.540Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-98","CWE-693","CWE-732"],"affected":[{"ranges":[{"version":"< 1.7.2-rc-1","status":"affected"}],"vendor":"InvoicePlane","product":"InvoicePlane","source":"cvelist"}],"references":[{"url":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/pull/1536","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-25T16:01:31.610Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39353","url":"https://www.cve.org/CVERecord?id=CVE-2026-39353","licence":"CVE Terms of Use","modified":"2026-09-25T16:03:39.888Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39353","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39353","licence":"Public domain","modified":"2026-09-28T15:07:51.540Z"}],"updatedAt":"2026-11-25T22:59:41.102Z","epss":{"score":0.00448,"percentile":0.40714,"date":"2026-12-01T12:00:22.000Z"}}