{"id":"CVE-2026-39353","state":"PUBLISHED","title":"InvoicePlane: Remote Code Execution via Writable Templates Directory","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.","publishedAt":"2026-09-25T15:30:58.482Z","updatedAt":"2026-09-25T16:03:39.888Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["InvoicePlane InvoicePlane"],"affected":[{"vendor":"InvoicePlane","product":"InvoicePlane","versions":[{"version":"< 1.7.2-rc-1","status":"affected"}]}],"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"],"weaknesses":["CWE-98","CWE-693","CWE-732"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/39xxx/CVE-2026-39353.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-39353","state":"PUBLISHED","datePublished":"2026-09-25T15:30:58.482Z","dateUpdated":"2026-09-25T16:03:39.888Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-06T20:28:38.394Z"},"containers":{"cna":{"title":"InvoicePlane: Remote Code Execution via Writable Templates Directory","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"InvoicePlane","product":"InvoicePlane","versions":[{"version":"< 1.7.2-rc-1","status":"affected"}]}],"references":[{"url":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp","name":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/pull/1536","name":"https://github.com/InvoicePlane/InvoicePlane/pull/1536","tags":["x_refsource_MISC"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a","name":"https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a","tags":["x_refsource_MISC"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1","name":"https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-98","lang":"en","description":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-732","lang":"en","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-25T15:30:58.482Z"},"source":{"advisory":"GHSA-v735-2x3r-gwpp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-25T16:01:31.610429Z","id":"CVE-2026-39353","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-25T16:03:39.888Z"}}]}}}