CVE-2026-54790
Deferred Deferred - Pending Action

Second-Order SQL Injection in InvoicePlane Prior to 1.7.2

Vulnerability report for CVE-2026-54790, 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 stores an administrator-controlled custom_field_table value without validating it against the allowed custom-field table names. Mdl_custom_fields::used() later concatenates that stored value into the FROM table and WHERE column identifier positions, so opening the custom-field edit form executes a second-order SQL injection. The injection can query arbitrary schema data and can cause application errors or denial of service. 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 to 1.7.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

InvoicePlane before version 1.7.2 has a second-order SQL injection vulnerability. It stores an administrator-controlled custom_field_table value without validation. Later, the application uses this value in SQL queries without proper sanitization, allowing attackers to inject malicious SQL code into table or column identifiers. This can lead to unauthorized data access, modification, or application errors.

Detection Guidance

To detect this vulnerability, check if your InvoicePlane instance is running version 1.7.2 or later. If not, it is likely vulnerable. Review database queries involving custom_field_table for improper concatenation or SQL injection patterns. Look for unusual application errors or denial of service during custom-field form access.

Impact Analysis

This vulnerability allows attackers to execute arbitrary SQL queries on the database. This could result in unauthorized access to sensitive data like invoices, client information, or payment details. It may also cause application crashes or denial of service by corrupting queries.

Compliance Impact

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

Mitigation Strategies

Update InvoicePlane to version 1.7.2 or later to address the SQL injection vulnerability. Review custom-field configurations to ensure no unauthorized table names are stored. Monitor application logs for unusual SQL queries or errors indicating exploitation attempts.

Chat Assistant

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

EPSS Chart