{"id":"CVE-2026-39353","summary":"InvoicePlane: Remote Code Execution via Writable Templates Directory","details":"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.","aliases":["GHSA-v735-2x3r-gwpp"],"modified":"2026-09-27T03:47:36.277570060Z","published":"2026-09-25T15:30:58.482Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39353.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-693","CWE-732","CWE-98"]},"references":[{"type":"WEB","url":"https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39353.json"},{"type":"ADVISORY","url":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39353"},{"type":"FIX","url":"https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a"},{"type":"FIX","url":"https://github.com/InvoicePlane/InvoicePlane/pull/1536"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/invoiceplane/invoiceplane","events":[{"introduced":"0"},{"fixed":"00e599db25804024eb323cfb751349bf3b1d8e8a"},{"fixed":"893e82488f5b94ccdf9ff6fcf5a33dc188c9c98b"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.7.2-rc-1"}]}}],"versions":["v1.7.2-beta-1","v1.6.5","v1.6.4-beta-1","v1.6.3","v1.6.3-rc2","v1.6.3-rc1","v1.6.3-rc0","v1.6.2-beta-3","v1.6.2-beta-2","v1.6.2-beta-1","v1.6.1","v1.6.0","v1.6.1-beta-3","v1.6.1-beta-2","v1.6.1-beta-1","v1.6.1-alpha-1","v1.6-beta-3","v1.6-beta-2","v1.6-beta-1","v1.6-beta","v1.5.10","v1.5.9","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.10","v1.4.9","v1.4.8","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.2.0","v1.1.0","v1.0.1","v1.0.0","0.9beta"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39353.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}