Vulnerabilities/

CVE-2026-39353

CVE

CVE-2026-39353

InvoicePlane: Remote Code Execution via Writable Templates Directory

Severity

Critical

Base CVSS

9.1

Fixed in

00e599db25804024eb323cfb751349bf3b1d8e8a

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

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.1

3.1

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Endor Labs

Required action

Known ransomware campaign use

References

https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2-rc-1, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39353.json, https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-v735-2x3r-gwpp, https://nvd.nist.gov/vuln/detail/CVE-2026-39353, https://github.com/InvoicePlane/InvoicePlane/commit/00e599db25804024eb323cfb751349bf3b1d8e8a, https://github.com/InvoicePlane/InvoicePlane/pull/1536

Basic information

Base CVSS

9.1

EPSS probability

0.0

EPSS percentile

0.40714

Introduced version

0

Fix available

00e599db25804024eb323cfb751349bf3b1d8e8a

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.