Skip to main content

Aptabase CVE-2026-63080

| EUVDEUVD-2026-46431 HIGH
SQL Injection (CWE-89)
2026-07-21 VulnCheck GHSA-8c62-2f67-357x
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege tenant
  2. Delivery
    Call affected stats API endpoint
  3. Exploit
    Inject UNION ALL via filter parameter
  4. Execution
    Bypass app_id tenant filter in ClickHouse
  5. Impact
    Exfiltrate other tenants' event 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

Exploitation requires an authenticated Aptabase account (CVSS PR:L) and a deployment serving multiple tenants for the cross-tenant impact to be meaningful; the attacker must reach one of the 13 affected stats API endpoints and pass a malicious value through one of the specific filter parameters EventName, CountryCode, OsName, DeviceModel, AppVersion, or SessionId, which are interpolated into Liquid SQL templates. No special non-default feature toggle is needed - the injection exists in the standard ClickHouse-backed stats query path. Limiting factors: a valid tenant login is mandatory (not unauthenticated), the impact is read-only (no data modification), and single-tenant/self-hosted instances with only one app_id have little to steal from other tenants. Two of the fifteen stats endpoints are reported as not affected.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, score 7.1) describes a network-reachable, low-complexity attack requiring low privileges (a valid authenticated account) with high confidentiality impact and no integrity or availability impact - consistent with a read-only cross-tenant data leak. Publicly available exploit code raises practical risk, but the vulnerability is NOT in CISA KEV and there is no EPSS score in the provided data, so widespread automated exploitation is not evidenced; treat this as a real but authentication-gated confidentiality issue rather than an unauthenticated internet-wide emergency. The main limiting factors are the PR:L requirement (attacker needs a tenant account, easy on multi-tenant/self-service SaaS deployments, harder on closed single-tenant installs) and the read-only nature of the flaw. No conflicting signals were found between the CVSS vector and the description; both agree the attacker is authenticated and impact is confidentiality-only.

Exploit ScenarioDerived

An attacker registers or already holds a low-privilege account on a multi-tenant Aptabase instance and calls a stats endpoint, supplying a crafted EventName (or CountryCode/OsName/DeviceModel/AppVersion/SessionId) value that closes the SQL string and appends a UNION ALL selecting event rows without the app_id restriction. The response returns event data belonging to other tenants, disclosing their analytics across the platform. Public exploit code for this technique is already available, lowering the skill needed to reproduce it.

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

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

Alert me

AnalysisAIv1 – Jul 21, 2026

Cross-tenant data disclosure in Aptabase (open-source privacy-friendly analytics) up to commit 5a89368 lets an authenticated tenant read every other tenant's event data by abusing a ClickHouse SQL injection in the stats API. Filter parameters (EventName, CountryCode, OsName, DeviceModel, AppVersion, SessionId) are interpolated unsanitized into Liquid SQL templates, letting an attacker append a UNION ALL that defeats the app_id tenant-isolation filter on 13 of 15 stats endpoints. Publicly available exploit code exists and the issue was reported by VulnCheck; no active exploitation is confirmed (not in CISA KEV).

RemediationAI

No vendor-released fixed version number is identified in the provided data; the fix is described relative to commit 5a89368, so upgrade to a build newer than that commit once the maintainers publish it and monitor the Aptabase repository and the VulnCheck advisory (https://www.vulncheck.com/advisories/aptabase-sql-injection-via-clickhouse-query-backend) for the patched revision. Until a patched build is deployed, the durable fix is to convert the Liquid SQL templates to parameterized/bound ClickHouse queries or to strictly allowlist-validate the EventName, CountryCode, OsName, DeviceModel, AppVersion, and SessionId filter values (reject characters that can break out of a string literal, such as quotes, semicolons, and the UNION keyword). As compensating controls, restrict access to the stats API endpoints to trusted accounts and apply per-tenant network or WAF rules that block SQL meta-characters and UNION patterns in filter parameters, accepting that aggressive WAF filtering may reject legitimate event names containing quotes; on single-tenant deployments the cross-tenant impact is inherently reduced, so isolating tenants into separate ClickHouse databases/instances is an effective architectural mitigation at the cost of operational overhead.

Affected VersionsENISA

aptabase 0 ≤5a8936852a20c26267ffaefd3544f91e3ca94135

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

Aptabase renders ClickHouse queries from Liquid SQL templates, a text-templating approach where user-controlled filter values are substituted directly into the query string rather than passed as bound parameters. Because the filter fields are concatenated into the SQL text, the classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) root cause applies: a value such as EventName can close the intended string literal and introduce attacker-controlled SQL. The tenant boundary in Aptabase is enforced logically by a WHERE app_id = <tenant> predicate; a UNION ALL sub-select does not inherit that predicate, so injected queries can read rows belonging to any app_id. The affected component per CPE is cpe:2.3:a:aptabase:aptabase (all versions through commit 5a89368), and the vulnerable surface is the ClickHouse query backend serving the stats API.

Know when Aptabase 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 (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable stats API with low-privilege tenant auth (PR:L) and low complexity; read-only cross-tenant leak gives C:H with no integrity or availability impact; scope kept unchanged as the same application enforces the bypassed filter.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Aptabase through commit 5a89368 contains a SQL injection vulnerability in the ClickHouse query backend that allows authenticated attackers to read event data across all tenants by injecting unsanitized filter parameters into Liquid SQL templates. Attackers can supply malicious values through EventName, CountryCode, OsName, DeviceModel, AppVersion, or SessionId parameters to inject a UNION ALL statement that bypasses the app_id tenant isolation filter across thirteen of the fifteen stats API endpoints.

Executive ViewAI

Why It Matters

Aptabase analytics instances prior to commit 5a89368 contain a cross-tenant data disclosure vulnerability in the stats API that allows one tenant to access other organizations' event data through SQL injection. No vendor patch is currently available, creating immediate data confidentiality and compliance risk for all affected deployments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict API access to stats endpoints via network segmentation or firewall rules; disable or strongly constrain the affected filter parameters; implement rate limiting on affected endpoints; deploy Web Application Firewall signatures to detect and block UNION-based SQL injection patterns in API query parameters; review cross-tenant data sharing policies and access logs for evidence of exploitation.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source self-hosted analytics tool, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 Yes
EPSS 0.2%
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
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