Skip to main content

ITFlow CVE-2026-77300

| EUVDEUVD-2026-143743 HIGH
SQL Injection (CWE-89)
2026-12-03 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege agent
  2. Delivery
    Send share_generate_link with injected INTERVAL subquery
  3. Exploit
    MariaDB encodes target column value as expiry hours
  4. Execution
    Read expiry timestamp from unauthenticated guest page
  5. Impact
    Reconstruct SMTP passwords, API keys and other-tenant data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid, authenticated ITFlow agent account with module_support >= 2 (standard agent/support write privilege) plus any client_id and file_id the agent can access - this is a low, not administrative, privilege level. The injection is reached through the share_generate_link action in agent/ajax.php; no user interaction and no non-default configuration are needed, as the sharing feature is standard and the server enforces none of the UI's four fixed expiry options. The data-return channel is the UNAUTHENTICATED guest share page, so no second account, email access, or privileged network position is required to retrieve exfiltrated values. Limiting factors: the attacker must first obtain agent credentials, and only versions 26.12 and prior are affected; no patched version is currently available.

Impact

This is a genuine, actionable SQL injection (CWE-89) rather than a high-CVSS-but-low-real-risk issue, though it is not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N, 7.1) is internally consistent with the evidence: network-reachable, low-complexity, requiring low-privilege authentication (PR:L), no user interaction, with high confidentiality impact. The GHSA advisory confirms the mechanism precisely - the 'expires' parameter is interpolated unquoted into a MySQL INTERVAL expression, and sanitizeInput() only escapes quotes/backslashes, leaving parentheses, commas, spaces and letters free to inject a subquery. The priority decision label is 'this_week', consistent with an authenticated, pre-patch flaw that is serious but not internet-wide unauthenticated RCE. No EPSS score and no KEV listing were provided, so there is no evidence of active exploitation; exploitation probability cannot be quantified from the input. A detailed public PoC reference (itflow_sqli_poc.py) accompanies the advisory, lowering the skill barrier. The key amplifiers raising real risk above a typical authenticated SQLi: the exfiltration read-back occurs on the UNAUTHENTICATED guest share page, and a standard low-privilege agent can read any column of any table - including settings.config_smtp_password, SMTP username, API keys and other tenants' data (multi-tenant breakout). No SSVC vector or EPSS was supplied; those signals are missing, not conflicting.

Exploit ScenarioDerived

An attacker holding (or phishing) any standard ITFlow agent account with support write access sends a share_generate_link request whose 'expires' value is a subquery such as (SELECT ASCII(SUBSTRING(config_smtp_password,N,1)) FROM settings LIMIT 1) HOUR, causing MariaDB to encode a secret character as hours-until-expiry. The attacker then opens the resulting share URL unauthenticated and reads the exposed expiry timestamp, repeating per character to reconstruct SMTP passwords, API keys, or other clients' data. A working PoC script is referenced in the advisory, but it is not verified as confirmed working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 03, 2026

SQL injection in ITFlow 26.12 and earlier lets any authenticated agent encode arbitrary database values - including settings.config_smtp_password, SMTP usernames, API keys and other clients' records - as an hours-until-expiry interval and then read them back from the unauthenticated guest share page. The flaw is in the expires parameter of the share_generate_link action in agent/ajax.php, where the value is pasted into a MySQL INTERVAL expression and the server enforces none of the four fixed expiry options the UI offers. No vendor-released patch is identified at time of analysis; the upstream GHSA advisory publishes a proof-of-concept script and full reproduction steps, and the assessed vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) reflects a low-privileged but authenticated agent account as the only prerequisite.

RemediationAI

No vendor-released patch is identified at time of analysis - the advisory states there are no publicly known patches and the package metadata records "fixed in: not yet patched" - so the immediate action is to apply the allowlist fix the advisory itself proposes in agent/ajax.php, validating expires against the exact set ['1 HOUR', '24 HOUR', '168 HOUR', '730 HOUR'] and returning HTTP 400 on anything else, or better, replacing the INTERVAL string with a bound integer parameter; this is a small, localised change but it is an unsupported local patch that will need to be re-applied on every upgrade. Where code changes are not possible, disable or block the guest share functionality (guest/guest_view_item.php and the share_generate_link action) at the web server or remove the module; the trade-off is that legitimate file/document sharing links stop working for clients. Tighten agent provisioning in the meantime: the injection needs an account with module_support >= 2, so audit existing agent accounts, remove support-module write access from anyone who does not need it, enforce strong authentication and unique credentials on agents, and review shared_items rows for implausible item_expire_at values (anything far beyond the ~730-hour UI maximum, e.g. dates years in the future) as a detection signal. Because the read-back happens on an unauthenticated page, restricting that page alone does not close the injection sink and must be paired with the input validation. Track https://github.com/itflow-org/itflow/security/advisories/GHSA-5g5j-37c8-hm7m (and EUVD-2026-143743) for the upstream release; the priority label is this_week, so treat remediation as scheduled work rather than an emergency, but do not defer it, since the exposure includes SMTP credentials, API keys and other tenants' data.

Affected VersionsENISA

itflow ≤ 26.12

Affected Packages

euvd itflow no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ITFlow is a PHP/MySQL (MariaDB) application for MSP documentation, ticketing and accounting, and this is a classic CWE-89 injection into a context where escaping does not help. In agent/ajax.php the code takes $_GET['expires'], passes it through sanitizeInput() - which is only strip_tags(), trim() and mysqli_real_escape_string() - and interpolates the result unquoted into "item_expire_at = NOW() + INTERVAL + $item_expires" inside an INSERT INTO shared_items statement. mysqli_real_escape_string() escapes NUL, newline, carriage return, backslash, single and double quotes and \x1a; it does nothing for parentheses, commas, spaces, letters or operators, all of which are exactly what is needed to place a subquery such as (SELECT ASCII(SUBSTRING(config_smtp_password,N,1)) FROM settings LIMIT 1) into an unquoted numeric INTERVAL slot. Because the UI's four radio options (1, 24, 168, 730 HOUR) are never validated server-side, any integer-valued expression MariaDB accepts is evaluated and persisted into item_expire_at. The exfiltration channel is guest/guest_view_item.php, which requires no authentication and renders the stored item_expire_at value back as a human-readable date, so the attacker derives each extracted ASCII code by comparing the displayed expiry against request time - a stored, timestamp-encoded blind extraction that needs no out-of-band channel. Read impact is high (any column of any table, including cross-tenant data) while write impact is limited, matching the assessed C:H/I:L vector.

Know when Itflow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 7.1 HIGH

Network-reachable injection needing only a low-privilege agent account (PR:L) with no user interaction; reads any DB column so C:H, minor write of the expiry value gives I:L, no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

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

Technical POC Analysis

CWE-89 (SQL injection).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity SQL injection vulnerability in ITFlow (versions 26.12 and earlier) allows any authenticated agent to extract sensitive configuration data, including SMTP passwords and API keys, and potentially access other clients' records. This exposes the organization to credential compromise and data breach risks, undermining trust in the managed service platform. Leadership should prioritize immediate remediation to prevent unauthorized access to client data and protect organizational reputation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce strict access controls for agent accounts, monitor and audit share link generation, apply WAF rules to filter malicious input, and rotate sensitive credentials regularly.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Low
niche open-source MSP documentation/ticketing tool, no broad enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy