Skip to main content

Aptabase CVE-2026-125758

| EUVDEUVD-2026-121241 CRITICAL
Initialization of a Resource with an Insecure Default (CWE-1188)
2026-11-10 VulnCheck GHSA-q925-46h4-fq6w
9.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Find Aptabase instance using example AUTH_SECRET
  2. Delivery
    Enumerate registered e-mail via /api/_auth/signin
  3. Exploit
    Forge HS256 JWT with known secret
  4. Execution
    Redeem token at /api/_auth/continue
  5. Impact
    Export analytics and transfer app ownership

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V13 - Configuration Secure default settings
Exploitation Conditions

Exploitation requires the target self-hosted Aptabase instance to still be running one of the publicly-known example AUTH_SECRET values (e.g. the 'c4rI4x8kz5DgKJ1is5Eiu9bNncSQ6ROD' value shipped in the aptabase/self-hosting docker-compose.yml and copied into third-party deployment templates), because sign-in and registration links are HS256 JWTs signed with that secret. The attacker also needs network reachability to the instance and knowledge of a registered user's e-mail address, though the /api/_auth/signin endpoint allows that e-mail to be confirmed first (200 for registered, 404 otherwise). Exploitation is LIMITED to instances that reused a published example secret: any deployment that set a private random AUTH_SECRET is not vulnerable, and the product ships no default secret of its own. Note that the patch also makes links single-use and refuses weak/example secrets at startup; rotating the secret alone does not end an already-established attacker session, and a completed ownership transfer persists after rotation.

Impact

This is a genuine high-priority issue for the specific population of affected instances, but its blast radius is gated by a deployment condition rather than being universal. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) describes a network, low-complexity, unauthenticated attack with high confidentiality and integrity impact, and the 'AT:P' (attack requirement present) metric correctly signals that exploitation is conditional - specifically, the target instance must still be running the publicly-known example AUTH_SECRET shipped in the self-hosting docker-compose.yml and copied into third-party templates. Instances that set their own random secret were never vulnerable, and the product ships no default secret, so 'default configuration' here means 'copied the example verbatim' rather than 'out of the box.' The vuln.today decision label is 'act_now' and a vendor patch exists, which should drive prompt remediation. No EPSS score, CISA KEV listing, or confirmed public exploit code was provided in the input, so there is no confirmation of active exploitation or weaponization; the signals present (vendor advisory, act_now label, trivial forgeability of HS256 JWTs once the secret is known) indicate the risk is real and easy to realize wherever the precondition holds, not that mass exploitation is occurring. Net: prioritize for affected self-hosted deployments, but recognize the exposure is scoped to instances using the leaked example secret.

Exploit ScenarioDerived

An attacker locates an internet-reachable self-hosted Aptabase instance still configured with the publicly-known example AUTH_SECRET, submits a known or guessed user e-mail to /api/_auth/signin (which returns 200 for registered addresses, enabling enumeration), and mints an HS256 JWT signed with that secret. Redeeming the forged token at /api/_auth/continue logs the attacker in as that user with no mailbox access, after which they can export all analytics events and forge a Register token to transfer app ownership to an account they control. No public exploit identified at time of analysis, but forging the JWT requires only the leaked secret and standard tooling.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Self-hosted Aptabase deployments still running a publicly published example AUTH_SECRET allow unauthenticated attackers who know a registered user's e-mail address to mint valid HS256 sign-in links for that account and redeem them at /api/_auth/continue, reading and exporting that user's analytics data or creating a new account and transferring app ownership to it. The flaw is only exploitable on instances that reused the example secret shipped in the aptabase/self-hosting docker-compose.yml or copied into third-party deployment templates; instances that set their own random secret were never affected, and the product ships no default secret of its own. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor has released a fix in the aptabase/aptabase main image from commit 61d4c01 along with a self-hosting compose change; the priority label assigned by vuln.today is act_now, driven by the severity of the impact on the affected subset rather than by universal exposure.

RemediationAI

Upgrade the server image to ghcr.io/aptabase/aptabase main from commit 61d4c01298a706d575265461ac07bb956ca7b8d2 or later (PR https://github.com/aptabase/aptabase/pull/204) and pull the self-hosting compose change at aptabase/self-hosting commit b79a472419ff17e485d0bd5b4adf1b1ef2b9953c (PR aptabase/self-hosting#23), which removes the literal secret and makes AUTH_SECRET a required variable so docker compose fails with instructions when it is unset; set AUTH_SECRET to a private random value such as output of openssl rand -base64 32 before running docker compose pull && docker compose up -d. If updating is not immediately possible, the vendor's workaround is to set AUTH_SECRET to a private random value, then recreate the app container rather than restarting it, because session cookies are independent of AUTH_SECRET and rotation alone does not end an attacker's session; additionally review the apps.owner_id and app_shares tables for ownership changes or shares you did not make, since a completed ownership transfer persists after rotation and leaves the original owner as a read-only member. Note that the self-hosting commit also moves ClickHouse from 23.8 to 26.8.36.3 to address CVE-2026-116366; existing data volumes upgrade in place, the upgrade cannot be rolled back to 23.x once 26.8 has written data, so back up the events-db-data volume first. Advisory: https://github.com/aptabase/aptabase/security/advisories/GHSA-gc76-cqm4-vqcf.

Affected VersionsENISA

aptabase 0 <61d4c01298a706d575265461ac07bb956ca7b8d2

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 implements passwordless authentication with magic links: sign-in and registration tokens are HS256 JWTs signed with the AUTH_SECRET environment variable, and the redemption handler at /api/_auth/continue trusts the e-mail claim inside any token that verifies. Prior to the fix, the server loaded AUTH_SECRET without any strength or denylist check, and the self-hosting repository's docker-compose.yml contained a literal example value (c4rI4x8kz5DgKJ1is5Eiu9bNncSQ6ROD) that propagated into tutorials and third-party templates, with a second published example value also recognized in the patch. Anyone who knows such a secret can sign arbitrary tokens, so the root cause is CWE-1188 (insecure default / initialization of a resource with an insecure default value), with the GHSA also classifying it as CWE-798 (use of hard-coded credentials) and CWE-294 (authentication bypass by capture-replay, since links were also reusable). Supporting design weaknesses compound the issue: /api/_auth/signin returns 200 for registered addresses and 404 otherwise, permitting account enumeration before forgery, and session cookies are independent of AUTH_SECRET, so rotating the secret does not invalidate an established attacker session. The fix adds startup validation requiring at least 32 bytes of secret material, refuses known example values outside Development, adds a jti claim to tokens, records redeemed token IDs in a new auth_token_uses table with a single-use check, and rejects tokens lacking a valid jti.

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 9.1 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.4 HIGH

AV:N and PR:N because an unauthenticated remote attacker forges tokens; AC:H because exploitation depends on the non-attacker-controlled condition that the instance runs a known example secret; C:H/I:H for data export and ownership takeover, A:N as availability is unaffected.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Aptabase before commit 61d4c01 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge sign-in links by using the publicly known example AUTH_SECRET. Attackers can enumerate registered e-mails via /api/_auth/signin, forge HS256 JWTs redeemed by /api/_auth/continue, impersonate users, export analytics data, and transfer app ownership.

Technical POC Analysis

Primary bug class is CWE-1188 - Initialization of a Resource with an Insecure Default, with the hard-coded credential aspect matching CWE-798.

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

Self-hosted Aptabase deployments that reused the publicly published example AUTH_SECRET are exposed to unauthorized analytics data access and app ownership transfer, affecting organizations with a registered user's email. Leadership should prioritize remediation for affected instances to protect data confidentiality and integrity.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Low
niche open-source self-hosted analytics tool, limited enterprise footprint
Data Quality
5 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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