CVE-2026-39353: InvoicePlane: Remote Code Execution via Writable Templates Directory

Published Sep 25, 2026
·
Updated

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 Mdltemplates and can be selected as publicinvoicetemplate. 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 Software

1 affected component
InvoicePlane InvoicePlane<1.7.2-rc-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade InvoicePlane to a version that resolves this vulnerability.

    Fixed in 1.7.2-rc-1

Event History

Sep 25, 2026
CVE Published
via MITRE·03:30 PM
Data Sourced
via MITRE·03:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically able to exploit this issue?

An attacker needs access to an administrator-controlled capability that can write files into the PHP template directory. They must be able to place a malicious PHP file there and select it as the public invoice template.

2

Is guest or public access enough to trigger code execution?

Guest access can trigger execution only after a malicious template has already been placed in the trusted template directory and selected as public_invoice_template. Rendering a public invoice then includes the file with web-server privileges.

3

What versions are affected and what fixes the issue?

InvoicePlane versions prior to 1.7.2-rc-1 are affected. The issue is fixed in 1.7.2-rc-1.

4

How can I check whether an instance may already be affected?

Inspect the PHP template directory for unexpected PHP files and review which file is configured as public_invoice_template. Any unrecognized template that can be selected for public invoice rendering should be treated as suspicious.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203