# CVE-2026-54596: ITFlow SQL injection in recurring invoice frequency parameter

Source: https://junglewise.ai/threats/cve-2026-54596-itflow-sql-injection-in-recurring-invoice-frequency-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-17. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-54596 · Severity: high · CVSS 8.1 · Published 2026-09-17

ITFlow is an IT documentation, ticketing, and accounting platform used by managed service providers to manage client information and billing. A vulnerability in the recurring invoice feature allows authenticated users with access to client invoices to inject malicious SQL code through the frequency parameter, potentially exposing sensitive data such as password hashes, SMTP credentials, and user records. This could lead to unauthorized database modifications and administrative account takeover.

Technologies: [ITFlow](https://junglewise.ai/threats/technologies/itflow). Vendors: [ITFlow](https://junglewise.ai/threats/vendors/itflow).

## Quick answers

**Is CVE-2026-54596 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-54596 being exploited in the wild.

**How severe is CVE-2026-54596?** High severity, with a CVSS score of 8.1, published 17 September 2026.

**Which products and versions are affected?** ITFlow prior to 26.07.

**Is there a fix for CVE-2026-54596?** A patch was published on 2026-05-21: Fixed in version 26.07 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-54596 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-54596?** Check whether you run ITFlow at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is a second-order SQL injection vulnerability in the recurring invoice functionality (agent/post/recurring_invoice.php). The vulnerability exists because the recurring_invoice_frequency parameter is passed through sanitizeInput but then interpolated unquoted into a DATE_ADD SQL function, allowing an attacker to escape the interval expression and inject arbitrary SQL syntax. An authenticated Technician or higher user with access to at least one client invoice can inject SQL that assigns additional INSERT columns, stores subquery results in recurring_invoice_note, and exposes those results through agent/recurring_invoice.php. The injected payload persists in the database and can be triggered again by legitimate users through the "Force Recurring" feature, allowing a secondary user to unknowingly execute the attacker's SQL. The vulnerability has been patched in version 26.07.

## Affected products

- ITFlow ITFlow prior to 26.07

## Timeline

- 2026-09-17: disclosed
- 2026-05-21: patched: Fixed in version 26.07

## References

- [https://github.com/itflow-org/itflow/commit/721142629296ac8e335a79b32fd4d2df721234a8](https://github.com/itflow-org/itflow/commit/721142629296ac8e335a79b32fd4d2df721234a8)
- [https://github.com/itflow-org/itflow/pull/1284](https://github.com/itflow-org/itflow/pull/1284)

## Related threats

- [ITFlow SVG attachment upload in ticket email parser](https://junglewise.ai/threats/cve-2026-97735-itflow-before-26-08-allows-svg-attachments-in-the-ticket-email)
- [ITFlow SQL injection in credential share link generation](https://junglewise.ai/threats/cve-2026-54597-itflow-sql-injection-in-credential-share-link-generation)
- [ITFlow authorization bypass in credential edit modal](https://junglewise.ai/threats/cve-2026-47755-itflow-authorization-bypass-in-credential-edit-modal)
