{"id":"CVE-2026-138445","summary":"Umami through 3.5.0 SQL Injection via Reports API Filter Prefix","details":"Umami through 3.5.0 contains an sql injection vulnerability that allows share token holders or authenticated users to inject SQL by supplying a crafted prefix field in Reports API object filters. Attackers can send crafted filters to /api/reports/ endpoints, which getFilterQuery concatenates unquoted into Postgres WHERE clauses, to read or modify data beyond the requested website.","modified":"2026-11-30T21:00:27.711121502Z","published":"2026-11-29T22:54:54.482Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138445.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-89"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138445.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138445"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/umami-through-3.5.0-sql-injection-via-reports-api-filter-prefix"},{"type":"FIX","url":"https://github.com/umami-software/umami/commit/98937e71bd776a44c58190051a58cdac811a5daf"},{"type":"PACKAGE","url":"https://github.com/umami-software/umami"},{"type":"ARTICLE","url":"https://github.com/umami-software/umami/blob/d3c62a805beda8643cb468924dda38617fb4c286/src/lib/params.ts#L84-L91"},{"type":"ARTICLE","url":"https://github.com/umami-software/umami/blob/d3c62a805beda8643cb468924dda38617fb4c286/src/lib/prisma.ts#L194"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/umami-software/umami","events":[{"introduced":"0"},{"fixed":"98937e71bd776a44c58190051a58cdac811a5daf"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"3.5.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"98937e71bd776a44c58190051a58cdac811a5daf"}]}]}}],"versions":["v3.2.0","v3.0.0","v2.18.1","v2.18.0","v2.17.0","v2.16.1","v2.16","v2.15.1","v2.14.0","v2.13.2","v2.13.1","v2.13.0","v2.12.1","v2.12.0","v2.11.3","v2.11.2","v2.11.1","v2.11.0","v2.10.2","v2.10.1","v2.10.0","v2.9.0","v2.8.0","v2.7.0","v2.6.2","v2.6.1","v2.6.0","v2.5.0","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.1","v2.0.0","v1.40.0","v1.39.5","v1.39.4","v1.39.3","v1.39.2","v1.39.1","v1.39.0","v1.38.0","v1.37.0","v1.36.1","v1.36.0","v1.35.0","v1.34.0","v1.33.1","v1.33","v1.32.1","v1.32.0","v1.31.0","v1.30.0","v1.29.2","v1.29.1","v1.29.0","v1.28.0","v1.27.0","v1.25.0","v1.24.1","v1.24.0","v1.23.0","v1.22.0","v1.20.0","v1.19.0","v1.18.0","v1.17.0","v1.13.0","v1.16.0","v1.15.0","v1.14.0","v1.11.0","v1.12.0","v1.10.0","v1.9.0","v1.8.0","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.2.0","v1.0.0","v0.96.0","v0.80.0","v0.74.0","v0.72.0","v0.68.0","v0.67.0","v0.62.0","v0.54.0","v0.48.0","v0.42.0","v0.37.0","v0.32.0","v0.27.0","v0.24.0","v0.21.0","v0.20.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138445.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}]}