Umami flaw lets share-token holders run SQL through the Reports API
Umami 3.5.0 and earlier carry a critical SQL injection flaw, CVE-2026-138445, scored 9.9, that lets share-token holders reach data beyond their own website. No fixed release exists yet.

Affects
- Umami
Tracked as
CVE-2026-138445Umami through 3.5.0 · CVSS 9.9
Umami, the self-hosted web analytics tool, has a critical hole in the way it builds report queries. Anyone holding a share token — or simply signed in to an Umami account — can slip database commands into a report filter and run them against the analytics database, reaching records that belong to other websites on the same instance. The flaw, CVE-2026-138445, was published on 29 November 2026, and it affects every release up to and including 3.5.0, the newest version available.
- 9.9CVSS 3.1 scoreCritical, network access, low privileges
- 9.4CVSS 4.0 scoreCritical, with scope changed
- 3.5.0Latest release affectedReleased 12 November 2026
- CWE-89Weakness typeImproper neutralisation of SQL commands
How the flaw works
Umami’s Reports API lets callers narrow a report with object filters, and one of those filter fields is a text prefix. The server-side helper that turns filters into a database query, getFilterQuery, pasted that prefix straight into a Postgres WHERE clause without quoting or escaping it. A crafted prefix therefore stops being a filter value and starts being part of the query itself.
That matters because the Reports API is not limited to administrators. A share token — the kind handed out so someone can view a single website’s statistics — is enough, and so is any ordinary signed-in account. With either, an attacker can send a doctored filter to the /api/reports/ endpoints and read or change data outside the website they were given access to. The impact covers all three: private analytics can be read, records can be altered, and heavy or destructive queries can disrupt the service.
VulnCheck, which disclosed the flaw, credits OrolXamraev with finding it. The researcher reported it privately, and the CVE record went live in the National Vulnerability Database on 29 November 2026 at 23:17 UTC.
How severe is CVE-2026-138445?
The numbers
| CVSS score | Base score |
|---|---|
| CVSS 3.1 | 9.9 |
| CVSS 4.0 | 9.4 |
No patched release yet
There is a fix, but it has not reached a numbered release. On 25 November 2026, Umami maintainer Francis Cao committed a change that rebuilds object filters from the operator and value only, so the attacker-controlled prefix no longer lands in the query. That commit is public on GitHub, but version 3.5.0 — released on 12 November 2026 — remains the latest download, and it still contains the flaw.
How the disclosure unfolded
12 Nov 2026
Umami 3.5.0 ships
The newest release goes out, still carrying the flaw in the Reports API.
25 Nov 2026
Fix committed
Maintainer Francis Cao commits a change that builds object filters from operator and value only.
29 Nov 2026
CVE published
CVE-2026-138445 goes live in the National Vulnerability Database at 23:17 UTC, scored 9.9 under CVSS 3.1.
What to do now
Protect an Umami instance today
Apply the patch commit
Take the fix commit from the Umami repository and rebuild, or wait for the next numbered release and install it as soon as it lands.
Rotate and review share tokens
Revoke share tokens you no longer need, rotate the ones you keep, and check who holds each one — a leaked token is all this flaw needs.
Trim account privileges
Remove accounts that do not need access, and keep the number of people who can call the Reports API as small as possible.
Limit exposure of the Reports API
If outside users do not need report access, block /api/reports/ at the reverse proxy or firewall until the fix is in place.
Watch the database logs
Look for unusual report queries, odd filter values, or bulk reads that do not match normal analytics use, and treat them as a sign of probing.
Anyone running Umami for more than one website should treat this as urgent: the flaw turns a low-privilege view of a single site into a route to the whole analytics database. The patch is small and public, so the gap between now and the next release is the window that matters.
Do attackers need an admin account?
No. A share token for a single website, or any ordinary signed-in account, is enough to reach the vulnerable Reports API endpoints.
Which versions are affected?
Every release through 3.5.0, which was the newest version when the CVE was published on 29 November 2026.
Is there a patched release to install?
Not yet. The fix exists as a commit dated 25 November 2026. Apply it directly, or install the next release once it ships.
The full advisory is on VulnCheck’s site, the CVE record is on the National Vulnerability Database, and the fix is visible in the patch commit on GitHub.
Sources
- Umami through 3.5.0 SQL Injection via Reports API Filter PrefixVulnCheck
- CVE-2026-138445 DetailNational Vulnerability Database
- Build object filters from operator and value onlyGitHub


