Direct answer: CVE-2026-138445 is an SQL injection flaw in Umami with CVSS score 9.9. A signed-in user or a share link holder can read or change data outside their own site through the Reports APIAPIThe official door 2 systems use to exchange data, without anybody copying it by hand.Open the glossary. All versions through 3.5.0 are vulnerable, and there is no fixed release as of 30 November 2026.
Today, do 3 things. First, update to 3.5.0 to close the older no-login flaw.
Second, add temporary layers: delete share links, close the legacy report paths at the proxy, and move Umami to a normal database role. Third, check for a fixed release every day.
Main condition: self-hosted Umami that is open to the internet, with share links or many accounts, has the highest risk. This CVE is not in CISA KEV yet, and there is no attack report yet. Limit: this article has no payload, no sample attack request, and no attack steps.
We read the CVE-2026-138445 record, the VulnCheck advisory, the fix commit 98937e71bd, the GHSA-vhf9-rcmp-v5fc advisory, the Umami GitHub releases page, and CISA KEV on 30 November 2026. We ran all scripts in Steps 1 to 5 in a podman pod with the official Umami 3.4.1 and 3.5.0 images, PostgreSQL 15, and nginx with dummy data.
Important limit: there is no fixed release, so we cannot test an update that closes this CVE. We did not test Umami Cloud, a MySQL database, Kubernetes, or a proxy other than nginx. Step 4 is Rama Digital analysis, not a vendor rule.
Problem: the Umami Reports API takes part of the query from the client
Umami is open source web analytics. Many agencies, startups, and online shop owners host it themselves as an alternative to Google Analytics. One Umami server often holds the data of many sites and many clients.
The Reports API is the part of Umami that makes reports such as funnels, goals, retention, and UTMUTMA label you attach to a page address to mark the source of a visit, for example the campaign and the channel.Open the glossary. Those reports take filters from the dashboard. The main flaw is in how Umami builds the SQL query from those filters.
A share link lets a person with no account see the dashboard of 1 site. Agencies often send these links to clients. Per the CVE record, a holder of such a link can also use this flaw.

On 23 October 2026, Umami added a fix for the older no-login flaw. That fix went into the 3.5.0 release on 12 November. The advisory for the older flaw came out on 13 November with no CVE number.
On 25 November, a new fix went into the dev branch. This fix locks a field that the October fix did not lock.
VulnCheck published CVE-2026-138445 on 30 November at 05:54 WIB (UTC+7). When this article was published, no release contained that fix.
How it works: advisory-level summary
This section uses the official summary. Its purpose is to help you choose the right steps, not to explain how to attack.
CVE-2026-138445: the prefix field goes into the SQL text
Per the CVE-2026-138445 record and the VulnCheck advisory, Umami through 3.5.0 puts the prefix field of an object filter in the Reports API into the PostgreSQL query text. A signed-in user or a share token holder can run their own SQL through that field. CVSS 3.1 score: 9.9, with a changed scope.
The fix commit 98937e71bd changes how Umami reads filters. After the fix, Umami takes only the operator and the value from the client.
The other parts come from server settings. This fix is in the dev branch and is not in any release yet.
Older flaw: GHSA-vhf9-rcmp-v5fc with no login
Per the GHSA-vhf9-rcmp-v5fc advisory, the Umami Reports API has an SQL injection flaw that works with no login. The advisory lists vulnerable versions through 3.4.0.
The fix code is not in the 3.4.1 tag and is in 3.5.0. So treat 3.4.1 as still vulnerable.
That advisory also names a big risk from the default compose. The compose uses POSTGRES_USER: umami, so the umami role becomes a database superuser. With a superuser role, SQL injection can grow into file read and write, up to running commands on the database server.
| Flaw | Problem | Access | Fixed in |
|---|---|---|---|
| CVE-2026-138445 | The prefix field of a Reports API filter goes into the SQL text. Read or change data outside the requested site. CVSS 3.1 9.9 | A signed-in user or a share link holder | No release as of 30 November 2026 |
| GHSA-vhf9-rcmp-v5fc | SQL injection in the Reports API. Can grow into code execution if the database role is a superuser. Critical advisory, no CVE number | No login | 3.5.0 |

Rama Digital analysis: CVE-2026-138445 is what the October fix left open. The October fix locked the filter name.
The November fix locks the prefix and the column. So the update to 3.5.0 closes the no-login way in, but the way in for signed-in users and link holders stays open.
Exploitation status as of 30 November 2026
There is no attack report yet. But the CVE record and the fix commit are public, so anyone can read the changed code. Treat every Umami server that is open to the internet as a target.
| Source | Status |
|---|---|
| VulnCheck CVE record, 29 November UTC | CVSS 3.1 9.9 and CVSS 4.0 9.4. All versions through 3.5.0 |
| Fix commit, 25 November | Public in the dev branch. Anyone can read the changed code |
| Advisory GHSA-vhf9-rcmp-v5fc, 13 November | The advisory holds technical detail of the older flaw. We do not repeat that detail |
| CISA KEV | Not in the catalog as of 30 November |
| Attack reports | No public report as of 30 November |
| Fixed release | None yet. The latest release 3.5.0 is still vulnerable |
Flaws in self-hosted web apps are often used within days after details come out. We saw this pattern with the GeoServer flaw CVE-2026-120705 and the Budibase flaw CVE-2026-137498.
Who is most at risk
Every self-hosted Umami server needs action today. This table helps you choose which server to work on first.
| Server condition | Risk | Reason |
|---|---|---|
| Version through 3.4.1, open to the internet | Highest | The older no-login flaw plus CVE-2026-138445. Update to 3.5.0 today |
| Version 3.5.0, public share links or links for clients | High | A link holder can call the Reports API with no account |
| One Umami server for many sites or clients | High | 1 account or 1 link can open the data of every client on that server |
| Superuser database role (default compose) | High | Per the vendor advisory, the injection can grow into file read and write on the database server |
| Version 3.5.0, no links, core team accounts only, normal role, legacy paths closed | Lower | The way in is smaller, but the flaw stays until a fixed release comes out |

Rama Digital analysis: analytics data looks unimportant, but the Umami accounts table keeps admin password hashes. With a superuser role, the database server can also be touched. So an Umami server that was set up fast and is seldom updated can become a door to other servers.
Vulnerable and safe versions
Compare your Umami version with this table. Source: the VulnCheck CVE record, the Umami GitHub advisory, and a tag compare on GitHub.
| Version | CVE-2026-138445 | GHSA-vhf9-rcmp-v5fc | Action |
|---|---|---|---|
| Through 3.4.1 | vulnerable | vulnerable | Update to 3.5.0 today, then apply Step 4 |
| 3.5.0 | vulnerable | fixed | Apply Step 4. Check for a release every day |
| A release after 3.5.0 | check with the release script | fixed | Update when the release script shows YES |

Important notes:
- The latest release is 3.5.0, released on 12 November 2026. This release is still vulnerable to CVE-2026-138445.
- Official Umami images are made only from release tags. A commit in the dev branch does not make an official image.
- The
latestimage tag does not name a version. Read the version in/app/package.jsoninside the container. - Read the 3.5.0 release notes before you update. That release asks you to change the default admin password and checks share tokens again.
- We did not check Umami Cloud. This article is for self-hosted Umami.
Before you start
- A list of all Umami servers, including staging and trial servers.
- Shell access to the server with docker or podman.
- The names of the Umami container and the PostgreSQL container. See them with
docker ps. - Access to the proxy settings in front of Umami, for example nginx.
- An Umami admin account to delete share links and accounts.
- Disk space for logs and a database dump, and a place to keep them outside that server.
Step 1: Check the Umami version and the fixed release
Manual way: read the version field in /app/package.json inside the Umami container. For many servers, use the script below.
Save this script as check-version-umami.sh. The script looks for running Umami containers, reads their version, then compares it with the limit of each flaw.
The script also takes version numbers from other servers. The script only reads.
#!/usr/bin/env bash
# Check the Umami version against CVE-2026-138445. The script only reads.
# Use: bash check-version-umami.sh (all running Umami containers)
# bash check-version-umami.sh umami 3.4.1 (container name or version number)
# Using podman? Put DOCKER=podman in front of the command.
set -u
D=${DOCKER:-docker}
FIX=98937e71bd
le() { [ "$(printf '%s\n%s\n' "$1" "$2" | sort -V | head -1)" = "$1" ]; }
rate() {
v=${2#v}
if [ "$v" = failed ]; then s="UNKNOWN: no such container, or not Umami"
elif ! printf '%s' "$v" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then s="UNKNOWN: bad version format"
elif le "$v" 3.4.1; then s="VULNERABLE: CVE-2026-138445, plus the older no-login flaw (GHSA-vhf9-rcmp-v5fc)"
elif le "$v" 3.5.0; then s="VULNERABLE: CVE-2026-138445. No fixed release yet, apply the temporary steps"
else s="CHECK: make sure this release contains commit $FIX"; fi
printf '%-14s %-8s %s\n' "$1" "$v" "$s"
}
echo "CVE-2026-138445 · Umami through 3.5.0 · SQL injection via the Reports API"
printf '%-14s %-8s %s\n' SOURCE VERSION STATUS
if [ $# -eq 0 ]; then
set -- $($D ps --format '{{.Names}} {{.Image}}' | awk '$2 ~ /umami/ {print $1}')
[ $# -gt 0 ] || { echo "No running Umami container. Give a container name or a version number."; exit 1; }
fi
for x in "$@"; do
if printf '%s' "$x" | grep -Eq '^v?[0-9]'; then rate version "$x"
else
v=$($D exec "$x" node -p "require('/app/package.json').version" 2>/dev/null) || v=failed
rate "$x" "${v:-failed}"
fi
done
Save the second script as check-release-umami.sh. The script reads the latest official release from the public GitHub API, then checks whether that release contains the fix commit. Run this script every day until the result is YES.
#!/usr/bin/env bash
# Check whether the latest official Umami release contains the CVE-2026-138445 fix.
# Source: the public GitHub API, read only. Use: bash check-release-umami.sh
set -u
R=umami-software/umami
FIX=98937e71bd776a44c58190051a58cdac811a5daf
api() { curl -fsS -H 'Accept: application/vnd.github+json' "https://api.github.com/repos/$R/$1"; }
field() { grep -m1 -o "\"$1\": *\"[^\"]*\"" | cut -d'"' -f4; }
J=$(api releases/latest) || { echo "FAILED: cannot reach the GitHub API. Open github.com/$R/releases"; exit 1; }
TAG=$(printf '%s' "$J" | field tag_name)
DATE=$(printf '%s' "$J" | field published_at)
echo "Latest release : $TAG (${DATE%%T*})"
echo "Fix commit : ${FIX:0:10} (25 Nov 2026, dev branch)"
C=$(api "compare/$TAG...$FIX") || C=
S=$(printf '%s' "$C" | field status)
case "$S" in
behind|identical) echo "YES: $TAG contains the fix. Update to $TAG." ;;
ahead|diverged) echo "NOT YET: $TAG does not contain the fix. Apply the temporary steps, then check again tomorrow." ;;
*) echo "CHECK: cannot read the compare result (${S:-empty})." ;;
esac
# With no argument: the script looks for every running Umami container. Using podman? Put DOCKER=podman first.
DOCKER=podman bash check-version-umami.sh
# Check version numbers from other servers
bash check-version-umami.sh 3.3.2 3.5.0
# Check whether the latest official release contains the fix
bash check-release-umami.sh

Our test result: in a container with the official 3.4.1 image, the script shows VULNERABLE for CVE-2026-138445 and for the older no-login flaw. The number 3.3.2 gets the same result.
The number 3.5.0 shows VULNERABLE for CVE-2026-138445 only. The release script shows NOT YET: the latest release v3.5.0 (12 November 2026) does not contain the fix commit.
Edge tests: the number 3.5 shows UNKNOWN because the format is wrong. A container name that does not exist also shows UNKNOWN.
The number 3.5.1 shows CHECK, because the script cannot know the content of a release that does not exist yet. If no Umami container runs, the script stops with exit code 1.
Check the result:
- "VULNERABLE" with the older flaw: update to 3.5.0 today in Step 3.
- "VULNERABLE" without the older flaw: version 3.5.0. Add the temporary layers in Step 4.
- "CHECK": a version newer than 3.5.0. Run the release script to make sure that the fix is there.
- "UNKNOWN": read the version manually in
/app/package.json.
Step 2: Check share links, the database role, and legacy paths
This step answers 3 questions: who can call the Reports API, whether the database role is a superuser, and whether the legacy report paths are open from the internet. The answers set the work order, not a safe status.
Check share links, accounts, and the database role
Save this script as check-exposure-umami.sh. The script reads the Umami database through psql in the PostgreSQL container.
The script shows active share links, active accounts, and the superuser status of the role in use. The script only reads and does not show passwords.
#!/usr/bin/env bash
# Check Umami exposure in the database: share links, accounts, and the superuser role. The script only reads.
# Use: bash check-exposure-umami.sh <db-container>
# Default role and database: umami. Different? Set PGUSER and PGDATABASE. Using podman? Put DOCKER=podman first.
set -u
D=${DOCKER:-docker}; DB=${1:-}
[ -n "$DB" ] || { echo "Use: bash check-exposure-umami.sh <db-container>"; exit 2; }
U=${PGUSER:-umami}; N=${PGDATABASE:-umami}
q() { $D exec "$DB" psql -U "$U" -d "$N" -AtX -F ' | ' -c "$1"; }
q 'select 1' >/dev/null 2>&1 || { echo "FAILED: psql to $DB (role $U, database $N) does not work"; exit 1; }
n=$(q 'select count(*) from share')
echo "== Active share links: $n"
q "select name, left(slug,4)||'************', to_char(created_at,'YYYY-MM-DD') from share order by created_at desc limit 8" | sed 's/^/ /'
[ "$n" = 0 ] || echo " A link holder can call the Reports API without an account."
echo "== Active accounts: $(q 'select count(*) from "user" where deleted_at is null')"
q "select username, role, to_char(created_at,'YYYY-MM-DD') from \"user\" where deleted_at is null order by created_at" | sed 's/^/ /'
echo "== Database role checked: $U"
if [ "$(q 'select rolsuper from pg_roles where rolname = current_user')" = t ]; then
echo " SUPERUSER. HIGH RISK: the SQL injection can grow into server file read and write."
else
echo " Not a superuser. The injection can still read Umami data, but cannot touch server files."
fi
Check the legacy report paths from outside
Save this script as check-paths-umami.sh. The script sends empty requests with no token to 6 forms of the legacy report paths, then to 2 normal paths. An empty request holds no filter, so it does not touch data.
#!/bin/sh
# Check whether the legacy Umami report paths are open from outside.
# The script sends an empty POST without a token, so it does not touch data.
# Use: sh check-paths-umami.sh https://stats.example.com
U=${1:-}; [ -n "$U" ] || { echo "Use: sh check-paths-umami.sh <umami-url>"; exit 2; }
U=${U%/}; Z=00000000-0000-0000-0000-000000000000
code() {
if [ "$1" = GET ]; then curl -s -o /dev/null -w '%{http_code}' "$U$2"
else curl -s -o /dev/null -w '%{http_code}' -X POST -H 'Content-Type: application/json' -d '{}' "$U$2"; fi
}
legacy() {
c=$(code "$1" "$2")
case $c in 403|404|444) h=CLOSED ;; 000) h=UNREACHABLE ;; *) h=OPEN ;; esac
printf '%-5s %-46s %s %s\n' "$1" "$2" "$c" "$h"
}
normal() {
c=$(code GET "$1")
[ "$c" = 200 ] && h=WORKS || h=CHECK
printf '%-5s %-46s %s %s\n' GET "$1" "$c" "$h"
}
echo "Legacy report paths (must be CLOSED) on $U"
legacy POST /api/reports/funnel
legacy POST /compat/api/reports/funnel
legacy GET "/api/websites/$Z/reports"
legacy POST /API/Reports/funnel
legacy POST /api//reports/funnel
legacy POST /api/%72eports/funnel
echo "Normal paths (must WORK)"
normal /api/heartbeat
normal /login
# Run on the Umami server. Write the name of your PostgreSQL container.
DOCKER=podman bash check-exposure-umami.sh umami-db
# Run from a computer that can open your Umami address. Write the public Umami address.
sh check-paths-umami.sh http://umami.example.co.id
# In our test, the script ran inside the proxy container:
podman exec umami-proxy sh /root/cek/check-paths-umami.sh http://umami.example.co.id

Our test result: the exposure script finds 2 active share links, 3 active accounts, and the umami database role with SUPERUSER status. That role comes from the default compose. The script shows only the first 4 characters of each link code.
The paths script shows 5 of 6 legacy report paths OPEN. Codes 400 and 401 mean that the request reached Umami. Code 308 means that the proxy passes on an address with 2 slashes.
Only the path with an encoded letter answers 404. The heartbeat and the login page answer 200.
Edge tests: an address that cannot be reached shows UNREACHABLE on all paths. A wrong database container and a call with no argument each get their own message with exit code 1 and 2.
Check the result: write down the number of share links, the accounts that you do not know, and the role status. A server with a SUPERUSER role and OPEN paths is the first priority. You need these notes in Steps 4 and 5.
Important: the default Umami compose opens port 3000 directly to the internet. Also run the paths script against http://<server-ip>:3000. If the paths are open on that port, the proxy block does not help until you close the port.
Step 3: Save a database dump, then update to 3.5.0
The update to 3.5.0 closes the older no-login flaw. This update does not close CVE-2026-138445. Skip this step if Step 1 already shows 3.5.0.
Save the log and a dump first. The container log goes away when the container is removed. The database dump is a copy of the data and evidence if the server was touched.
# Save the container log and a database dump first. Using docker? Replace podman with docker.
podman logs umami > umami-log-before-update.txt 2>&1
podman exec umami-db pg_dump -U umami umami | gzip > umami-before-update.sql.gz
du -h umami-before-update.sql.gz
# Run the 3.5.0 image with the same env and database. Compose: change the image tag, then docker compose up -d.
podman stop umami && podman rm umami
podman run -d --name umami --pod umuji --memory 2g --env-file umami.env ghcr.io/umami-software/umami:3.5.0
# Check the version, the service, and the data again
DOCKER=podman bash check-version-umami.sh umami
podman exec umami-proxy curl -s http://umami.example.co.id/api/heartbeat
podman exec umami-db psql -U umami -d umami -AtX -c 'select name, domain from website'
podman exec umami-db psql -U umami -d umami -AtX -c 'select count(*) from website_event'

Our test result: the database dump has 12 KB. The 3.5.0 container runs with the same env and database.
The Step 1 script shows VULNERABLE for CVE-2026-138445 only, so the older no-login flaw is closed. The heartbeat answers {"ok":true}.
The data stays: the dummy site Toko Contoh and 10 dummy events. We did not test docker compose, Kubernetes, Umami Cloud, or a MySQL database.
The commands above use --pod umuji from our test. On your server, use the same ports, network, and env as the old container.
For docker compose, change the image tag to 3.5.0 or postgresql-v3.5.0 to match your image, then run docker compose pull and docker compose up -d. We did not test the compose path.
After the update, sign in as admin. The 3.5.0 release asks you to change the default admin password. Also change other weak admin passwords.

Check the result: the Step 1 script shows VULNERABLE for CVE-2026-138445 only, without the older flaw. Open the dashboard to make sure that the data is still there.
Step 4: Temporary layers until a fixed release comes out, they do NOT close the flaw
There is no fixed release, so every Umami server needs this step. This step does NOT close the flaw.
This step makes the way in smaller. All layers below are Rama Digital analysis, not vendor rules.
- Share links: delete the links you do not need in Settings, Websites, choose the site, then Share. In 3.5.0, a delete revokes the token at once. Effect: clients with old links cannot open the dashboard.
- Legacy report paths: close
/api/reports,/compat, and/api/websites/*/reportsat the proxy with code 403. - Database role: move Umami to a normal role, not a superuser. This cuts the way from the injection to server files. Umami data stays exposed.
- Accounts: delete unused accounts. Give client accounts view-only access.
- Network: limit the dashboard to a VPN or office IP. Keep the tracker script and
/api/sendopen, so visitor data still comes in. We did not test this layer.
Delete links and close the legacy report paths
Save this rule as block-umami.conf, then paste it inside the Umami server block in nginx. The rule uses ~*, so capital and small letters are both closed. The 3.5.0 dashboard uses the new report paths, so this rule does not break the dashboard.
# Temporary for CVE-2026-138445: close the legacy Umami report paths.
# Paste inside the Umami server block. The Umami 3.5.0 dashboard does not use these paths.
location ~* /(compat/|api/reports(/|$)|api/websites/[^/]+/reports/?$) {
return 403;
}
# This step does NOT close the flaw. It makes the way in smaller until a fixed release comes out.
# 1. Delete share links you do not need: Settings > Websites > choose the site > Share.
DOCKER=podman bash check-exposure-umami.sh umami-db | head -1
# 2. Close the legacy report paths at the proxy, then check from outside.
cat block-umami.conf
cp block-umami.conf nginx/umami-block.inc
podman exec umami-proxy nginx -t
podman exec umami-proxy nginx -s reload
podman exec umami-proxy sh /root/cek/check-paths-umami.sh http://umami.example.co.id
# 3. The dashboard still works: site stats with the admin login.
podman exec umami-proxy curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $TOKEN" "http://umami.example.co.id/api/websites/$WID/stats?startAt=$AWAL&endAt=$AKHIR"

Our test result: after the 2 links were deleted, the exposure script shows 0 active links. After the block was added, 6 legacy report paths answer 403 and show CLOSED.
The heartbeat and the login page still answer 200. Site stats with the admin login still answer 200.
Extra tests: variants with a dot, with no end slash, with an end slash, with a capital first letter, and with a query string also answer 403. The /dashboard page and the site metrics data still answer 200.
The variables $TOKEN, $WID, $AWAL, and $AKHIR in the last command hold the admin login token, the site ID, and the time range. Replace them with your own values, or open the dashboard in a browser.
For Caddy, Traefik, or Cloudflare, make the same rule: refuse the 3 path patterns above, with no difference between capital and small letters. We only tested nginx. After that, run the paths script from Step 2 until all paths show CLOSED.
Move Umami to a normal database role
Save this script as switch-db-role.sql. The script makes the umami_app role with no superuser rights, then moves the owner of the database, schemaSchemaExtra description inside page code that tells a search engine what the page is, for example an article, a service, or a question and answer.Open the glossary, tables, sequences, views, and enums to that role. Save the dump from Step 3 before you run this script.
-- Temporary for CVE-2026-138445: move Umami to a normal database role, not a superuser.
-- Run once with psql -v sandi=... Then change the DATABASE_URL user to umami_app.
CREATE ROLE umami_app LOGIN NOSUPERUSER NOCREATEDB NOCREATEROLE PASSWORD :'sandi';
ALTER DATABASE :"DBNAME" OWNER TO umami_app;
ALTER SCHEMA public OWNER TO umami_app;
DO $$
DECLARE r record;
BEGIN
FOR r IN SELECT format('ALTER TABLE public.%I OWNER TO umami_app', tablename) AS q
FROM pg_tables WHERE schemaname = 'public' AND tableowner <> 'umami_app' LOOP EXECUTE r.q; END LOOP;
FOR r IN SELECT format('ALTER SEQUENCE public.%I OWNER TO umami_app', sequencename) AS q
FROM pg_sequences WHERE schemaname = 'public' AND sequenceowner <> 'umami_app' LOOP EXECUTE r.q; END LOOP;
FOR r IN SELECT format('ALTER VIEW public.%I OWNER TO umami_app', viewname) AS q
FROM pg_views WHERE schemaname = 'public' AND viewowner <> 'umami_app' LOOP EXECUTE r.q; END LOOP;
FOR r IN SELECT format('ALTER TYPE public.%I OWNER TO umami_app', t.typname) AS q
FROM pg_type t JOIN pg_namespace n ON n.oid = t.typnamespace
WHERE n.nspname = 'public' AND t.typtype = 'e' LOOP EXECUTE r.q; END LOOP;
END $$;
SELECT rolname, rolsuper FROM pg_roles WHERE rolname IN ('umami', 'umami_app') ORDER BY rolname;
# 4. Move Umami from the superuser role to a normal role. Keep the SANDI_BARU value in a password manager.
podman exec -i umami-db psql -U umami -d umami -v sandi="$SANDI_BARU" < switch-db-role.sql
# Change the DATABASE_URL user to umami_app, then create the Umami container again.
sed -i "s#//umami:[^@]*@#//umami_app:$SANDI_BARU@#" umami.env
podman rm -f umami && podman run -d --name umami --pod umuji --memory 2g --env-file umami.env ghcr.io/umami-software/umami:3.5.0
# Check the role that Umami uses again
PGUSER=umami_app DOCKER=podman bash check-exposure-umami.sh umami-db | tail -2
podman exec umami-proxy curl -s http://umami.example.co.id/api/heartbeat

Our test result: the SQL script makes the umami_app role with rolsuper f, then moves the owner of the database, schema, tables, sequences, views, and enums to that role. Umami 3.5.0 runs with the new role. The Umami log shows "No pending migrations to apply." and the heartbeat answers {"ok":true}.
The exposure script with PGUSER=umami_app shows "Not a superuser". Site stats with the admin login still answer 200.
The old umami role stays as a superuser for the database admin. Umami does not use it any more.
Note: use a password with letters and digits only, because the password goes into DATABASE_URL. For compose, change DATABASE_URL in the compose file or env file, then run docker compose up -d.
The new role owns the schema, so migrations in the next release can still run. We did not test a new migration.
Access only from the office network is not a fix either. A user who signs in from the office can still use this flaw. The update is still required when a fixed release comes out.
Step 5: Look for signs that the server was touched
Temporary layers do not bring back data that was read or changed. So look for traces now. Start from 12 November 2026 or earlier, because details of the older flaw have been public since 13 November.
The CVE record and the advisories list no signs of attack. The signs below are Rama Digital analysis:
- Many requests to
/api/reports/*or/compat/api/reports/*from addresses you do not know. The 3.5.0 dashboard does not use these paths. - Repeated
ERROR: syntax errorlines in the PostgreSQL log. A failed injection often leaves this trace. - File read or write commands through SQL in the log, for example
COPY ... PROGRAM,pg_read_file, orlo_export. - A new admin account or share link that you did not create.
- An unknown new site, or site data that changed or is gone.
Save this script as check-signs-umami.sh. Part 1 counts requests to the legacy report paths per address in the proxy log. Part 2 reads ERROR lines and heavy signs in the PostgreSQL container log of the last 30 days.
Part 3 shows new accounts and links of the last 30 days. The script only reads.
#!/usr/bin/env bash
# Look for signs of CVE-2026-138445 abuse in Umami. The script only reads.
# Use: bash check-signs-umami.sh <db-container> [proxy-access-log]
# Example: bash check-signs-umami.sh umami-db /var/log/nginx/access.log
set -u
D=${DOCKER:-docker}; DB=${1:-}; LOG=${2:-}
[ -n "$DB" ] || { echo "Use: bash check-signs-umami.sh <db-container> [proxy-access-log]"; exit 2; }
U=${PGUSER:-umami}; N=${PGDATABASE:-umami}; T=0
q() { $D exec "$DB" psql -U "$U" -d "$N" -AtX -F ' | ' -c "$1"; }
q 'select 1' >/dev/null 2>&1 || { echo "FAILED: psql to $DB (role $U, database $N) does not work"; exit 1; }
if [ -n "$LOG" ]; then
[ -r "$LOG" ] || { echo "FAILED: cannot read the log $LOG"; exit 1; }
P='"[A-Z]+ [^" ]*/(compat/|api/+(\./)*(reports|%72eports)|api/+websites/[^/ ]+/reports)'
n=$(grep -ciE "$P" "$LOG")
echo "== Requests to legacy report paths in the proxy log: $n lines. Per address:"
grep -iE "$P" "$LOG" | awk '{print $1}' | sort | uniq -c | sort -rn | head -5 | sed 's/^/ /'
T=$((T + n))
fi
PL=$($D logs --since 720h "$DB" 2>&1)
e=$(printf '%s\n' "$PL" | grep -c 'ERROR:')
echo "== ERROR lines in the Postgres log (30 days): $e. Last three:"
printf '%s\n' "$PL" | grep 'ERROR:' | tail -3 | cut -c1-100 | sed 's/^/ /'
b=$(printf '%s\n' "$PL" | grep -ciE 'copy .* program|pg_read_file|pg_read_binary_file|pg_ls_dir|lo_import|lo_export')
echo "== Heavy signs (file read or write through SQL): $b"
echo "== New accounts (30 days)"
q "select username, role, to_char(created_at,'YYYY-MM-DD HH24:MI') from \"user\" where created_at > now() - interval '30 days' order by created_at" | sed 's/^/ /'
echo "== New share links (30 days)"
q "select name, left(slug,4)||'************', to_char(created_at,'YYYY-MM-DD HH24:MI') from share where created_at > now() - interval '30 days' order by created_at" | sed 's/^/ /'
T=$((T + e + b))
if [ "$T" -gt 0 ]; then echo "CHECK: compare the addresses, times, and accounts above with your team's use."
else echo "No signs in the sources checked. This is not proof of safety."; fi
# The PostgreSQL container, then the proxy access log file
DOCKER=podman bash check-signs-umami.sh umami-db log/access.log
# Example on a server with nginx on the host
bash check-signs-umami.sh umami-db /var/log/nginx/access.log


Our test result: the script finds 9 legacy report path lines in the proxy log: 8 from 203.0.113.77 and 1 from 198.51.100.23. The Postgres log has 1 ERROR syntax error line. Heavy signs: 0.
The script also shows 1 new admin account bantuan.it and 1 new share link dashboard-publik. Final result: CHECK.
All accounts, links, and events are dummy data that we made for the test. Both addresses are documentation addresses per RFC 5737.
Script limits: these patterns are common signs, not a full list. The container log goes away when the container is made again, and the default PostgreSQL setup does not log every query.
Also use the log files you saved in Step 3. A CHECK result is not proof of an attack, but a sign for a manual check.
If you find signs, follow this order:
- Cut internet access to Umami. Do not remove the container yet.
- Keep the proxy log, the PostgreSQL log, the Umami log, and a database dump.
- Change
APP_SECRET, the passwords of all Umami accounts, and the database role password. - If a superuser role was in use, check the database server for unknown files and processes.
- Ask for incident response help. Add the temporary layers, then watch the logs for 14 days.
Example: 1 morning of response for 2 Umami servers
This simulation uses dummy data. The server names, times, and results are not customer data.
| Time (WIB) | Dummy server | What we check | Result | Action |
|---|---|---|---|---|
| 08.00 | stat-klien (public) | Step 1 | 3.4.1 VULNERABLE for 2 flaws, 14 client sites | First priority |
| 08.10 | stat-klien | Step 2 | 9 share links, SUPERUSER role, 5 legacy paths OPEN | Look for signs before the update |
| 08.20 | stat-klien | Step 5 | Heavy signs 0, 1 new admin account from last night | Ask the team. A new staff member made that account, so it is fine |
| 09.00 | stat-klien | Step 3 | Dump saved, moved to 3.5.0 | Check the dashboard and data |
| 09.30 | stat-klien | Step 4 | Links from 9 to 2, proxy block, normal role | Send new links to the 2 clients that need them |
| 10.00 | stat-internal (VPN) | Steps 1 and 2 | 3.5.0, no links, open only through the VPN | Add the normal role. Check for a release tomorrow |
Lessons from this simulation: look for signs before the update, because the update removes the container log. Cut share links down to the ones that clients really use.
Who does the work
The server admin or vendor owns the Umami update, the proxy, and the database role. The Umami account owner owns the share links and the account list. The account manager tells clients when old links are revoked.
Rama Digital recommendation: record every server, version, public address, database role, and access owner in 1 table. This table also helps when a new flaw comes out, such as the pgAdmin 4 flaw CVE-2026-116241, the LiteLLM flaw CVE-2026-40217, and the Keycloak SAML flaw CVE-2026-117691.
Checklist for today
- List all Umami servers. Owner: server admin. Evidence: a list of servers and versions.
- Check the version and release with Step 1. Owner: server admin. Evidence: output of 2 scripts.
- Check exposure and paths with Step 2. Owner: server admin. Evidence: output of 2 scripts.
- Look for signs with Step 5 before the update. Owner: server admin. Evidence: script output.
- Save the log and dump, then update to 3.5.0. Owner: server admin or vendor. Evidence: Step 1 output.
- Add the temporary layers in Step 4. Owner: server admin and Umami account owner. Evidence: output of the paths and exposure scripts.
- Run the release script every day. Update when the result is YES. Owner: server admin. Evidence: release script output.
Questions and answers
Does the update to 3.5.0 close CVE-2026-138445?
No. The CVE record says all versions through 3.5.0 are vulnerable.
The update to 3.5.0 only closes the older no-login flaw. Add the temporary layers in Step 4.
We do not use share links. Are we safe?
Not yet. A signed-in user can also use this flaw. Delete unused accounts, close the legacy report paths, and move Umami to a normal role.
Does the proxy block break the dashboard?
In our test, the dashboard, stats, metrics, login, and heartbeat still answer 200. The 3.5.0 dashboard uses the new report paths. Open your report pages after the block to make sure.
When does the fixed release come out?
The vendor has not given a date as of 30 November 2026. Run the release script from Step 1 every day. Update when the script shows YES.
Can we build our own image from the dev branch?
Rama Digital analysis: the dev branch is not a stable release yet, and we did not test it. Choose this way only if your team often builds images from source code and has a staging server. Other teams should use the temporary layers.
Why is a superuser role dangerous?
A superuser role can read and write files on the database server. Per the vendor advisory, SQL injection with that role can grow into command execution. A normal role cuts that way.
Is Umami Cloud affected?
We did not check Umami Cloud. This article is for self-hosted Umami. Ask the Umami team about the status of your Cloud account.
Does a clean signs script result prove that the server is safe?
No. Container logs can go away, the default PostgreSQL setup does not log every query, and the patterns in the script are not complete. Keep evidence, watch the logs, and ask for analysis if you have doubts.
Next step
Limits that still apply: Step 4 does not close the flaw, and there is no fixed release yet. If your server shows signs in Step 5, or you need help with an audit and app recovery, use Vibe Code Rescue. For 1 urgent problem today, book a 30 minute session.
Sources
- The CVE-2026-138445 record and the VulnCheck advisory: flaw, score, access, and affected versions.
- The fix commit 98937e71bd: the code change in the dev branch.
- The GHSA-vhf9-rcmp-v5fc advisory: the older no-login flaw and the superuser role risk.
- The Umami GitHub releases page and the 3.5.0 release notes: release dates and the 3.5.0 security notes.
- CISA KEV: catalog status as of 30 November 2026.

