CVE-2026-39353

InvoicePlane: Remote Code Execution via Writable Templates Directory

State
Published
Severity
9.1 Critical
Published
Sep 25, 2026
Updated
Sep 25, 2026
Reserved
Apr 6, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
  • CWE-693 Protection Mechanism Failure
  • CWE-732 Incorrect Permission Assignment for Critical Resource

Affected Products

ProductVersions
InvoicePlaneInvoicePlane
  • < 1.7.2-rc-1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.