CVE-2026-77300: ITFlow: SQL Injection in `share_generate_link` via unquoted INTERVAL expression (`agent/ajax.php`)
ITFlow provides an IT documentation, ticketing and accounting system for small managed service providers. In versions 26.12 and prior, the expires parameter of the sharegeneratelink action in agent/ajax.php is interpolated directly into a MySQL INTERVAL expression without any allowlist validation. sanitizeInput() only escapes quotes and backslashes — it provides zero protection in unquoted SQL contexts. An authenticated agent can inject arbitrary subqueries, encoding any database value as hours-until-expiry, then read it back from the unauthenticated guest share page. At time of publication, there are no publicly known patches.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs authenticated agent-level access to ITFlow. The resulting data can be retrieved through an unauthenticated guest share page after the malicious share link is generated.
What access or interaction is required for exploitation?
Exploitation requires an authenticated agent to invoke the share_generate_link action with a crafted expires parameter. No additional user interaction is required.
What is the impact of successful exploitation?
An authenticated agent can inject arbitrary subqueries and encode database values into the generated link's expiry value. Those values can then be read from the guest share page, enabling database data disclosure.
Are patches available?
At the time of publication, no publicly known patches were available for affected ITFlow versions 26.12 and earlier.