CVE-2026-50547
Deferred Deferred - Pending Action

Path Traversal in InvoicePlane Prior to 1.7.2

Vulnerability report for CVE-2026-50547, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-28

Assigner: GitHub, Inc.

Description

InvoicePlane is a self-hosted open source application for managing invoices, clients, and payments. Prior to 1.7.2, InvoicePlane's Invoices::generate_xml() method appends a database-derived xml_id to the XMLconfigs helper directory and includes the resulting PHP path without validating the identifier. A low-privileged attacker who can influence the e-invoice configuration can use traversal sequences to include an existing PHP file. The standalone advisory establishes local file inclusion; code execution requires a separate file-upload or file-write primitive. This issue is fixed in version 1.7.2.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-28
Generated
2026-10-16
AI Q&A
2026-09-25
EPSS Evaluated
2026-10-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
invoiceplane invoiceplane 1.7.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

InvoicePlane before version 1.7.2 has a vulnerability in the Invoices::generate_xml() method. It allows an attacker with low privileges to manipulate the e-invoice configuration and use path traversal sequences to include an existing PHP file from the XMLconfigs helper directory. This could lead to local file inclusion, though code execution requires an additional file-upload or file-write primitive.

Detection Guidance

Check InvoicePlane version for anything below 1.7.2. Review XMLconfigs directory for unexpected PHP files or unusual file paths. Inspect Invoices::generate_xml() method for improper xml_id handling.

Impact Analysis

An attacker could exploit this to read sensitive files on the server, potentially exposing confidential data like invoices, client information, or other stored files. If combined with a file-upload or write primitive, they might execute arbitrary code on the system.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations using affected versions may face compliance violations, legal penalties, and reputational damage.

Mitigation Strategies

Upgrade InvoicePlane to version 1.7.2 or later immediately. Restrict write permissions to XMLconfigs directory. Validate all xml_id inputs to prevent path traversal. Monitor for unauthorized file inclusions or PHP executions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-50547. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart