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.
Published: 2026-09-25
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

InvoicePlane versions prior to 1.7.2-rc-1 allow an attacker who can place a PHP file in the template directory to have that file automatically marked as a trusted template. When a public invoice is rendered, the view controller includes and executes the file with web‑server privileges, giving the attacker remote code execution on the host. The weakness is a combination of improper input validation (CWE‑693), insecure file permissions (CWE‑732), and insecure directory traversal handling (CWE‑98).

Affected Systems

Any self‑hosted InvoicePlane installation running a version earlier than 1.7.2-rc-1 is affected. The vulnerability exists in the default configuration where the PHP template directory is writable by a user with administrative file‑write capabilities.

Risk and Exploitability

With a CVSS score of 9.1 the vulnerability represents a critical risk. EPSS is not reported, and the issue is not listed in the CISA KEV catalog. The only prerequisite is the ability to write files to the PHP template directory, which typically requires administrative privileges or a compromised admin account. Once an attacker achieves this, they can execute arbitrary code during invoice rendering without any additional steps.

Generated by OpenCVE AI on September 25, 2026 at 18:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade InvoicePlane to version 1.7.2-rc-1 or later.
  • Ensure the template directory is not writable by the web server or users without administrative privileges.
  • Disable or remove the administrative file‑write functionality that allows uploading arbitrary PHP files to the template directory.

Generated by OpenCVE AI on September 25, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Invoiceplane
Invoiceplane invoiceplane
Vendors & Products Invoiceplane
Invoiceplane invoiceplane

Fri, 25 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title InvoicePlane: Remote Code Execution via Writable Templates Directory
Weaknesses CWE-693
CWE-732
CWE-98
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Invoiceplane Invoiceplane
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-25T16:03:39.888Z

Reserved: 2026-04-06T20:28:38.394Z

Link: CVE-2026-39353

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-25T16:17:25.053

Modified: 2026-09-28T15:07:51.540

Link: CVE-2026-39353

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T12:00:12Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')