CVE-2026-39353
published critical CVSS 3.1 · 9.1InvoicePlane: Remote Code Execution via Writable Templates Directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| InvoicePlane | — | InvoicePlane< 1.7.2-rc-1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| InvoicePlane | InvoicePlane | < 1.7.2-rc-1 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-98 CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-732 CWE-732: Incorrect Permission Assignment for Critical Resource
References
4- https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a
- https://github.com/InvoicePlane/InvoicePlane/pull/1536
- https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1
- https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp
Provider assertions
2GitHub_M · cna
InvoicePlane: Remote Code Execution via Writable Templates Directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7fb5ce2cfcaa621cd76a0a01b4a9b83ca128f69177f0e0d55a015654d07ee726
- Ingested
- 30 Sep 2026, 15:21:53 UTC
- Source record
- Official CVE record