CVE-2026-79762

Termix: Hardcoded default key encrypts all OIDC/WebAuthn users' stored SSH credentials — full offline decryption from a database copy

Published Sep 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. From 1.7.0 until 2.5.1, Termix derives the keys that wrap OIDC and WebAuthn users' Data Encryption Keys from committed default strings and the public userId salt in src/backend/utils/user-crypto.ts. Because OIDC_SYSTEM_SECRET and WEBAUTHN_SYSTEM_SECRET are not configured by the project's default deployment artifacts, an attacker with an offline SQLite database copy can derive the wrapping key, recover each affected user's DEK, and decrypt stored SSH passwords, private keys, and key passphrases. Password-authenticated users are not affected by this specific key derivation path. This issue is fixed in version 2.5.1.

Analysis

AI-generated

Technical impact

Termix versions 1.7.0 through 2.5.1 use hard‑coded default strings to generate the cryptographic keys that wrap the Data Encryption Keys for users authenticated via OIDC or WebAuthn. An adversary who obtains a copy of the SQLite database can derive these wrapping keys because the system secrets (OIDC_SYSTEM_SECRET and WEBAUTHN_SYSTEM_SECRET) are not configured by default. From the derived keys the attacker can recover each affected user’s Data Encryption Key and then decrypt all stored SSH passwords, private keys, and key passphrases, leading to full compromise of the credentials that grant remote access to the managed servers. Password‑authenticated users are not impacted by this specific key derivation path.

Affected Systems

The vulnerability affects Termix, the web‑based server management platform that provides SSH terminal, tunneling and file editing, as implemented between release 1.7.0 and 2.5.1. The affected versions do not include any provision for setting a custom OIDC_SYSTEM_SECRET or WEBAUTHN_SYSTEM_SECRET; users relying on the default configuration are vulnerable.

Risk and Exploitability

The CVSS v3.1 score is 5.5, indicating a medium severity vulnerability. EPSS score is not provided, and the vulnerability is not listed in the CISA KEV catalogue. Exploitation requires only an offline copy of the SQLite database, which can be obtained through physical access or via export routines. Because the wrapping keys are derived from static defaults, attackers can compute them locally without needing network access or elevated permissions. Once the database copy is in hand, the decryption of SSH credentials can happen entirely offline, making the attack straightforward for an individual with access to the database. Therefore, while the attack requires some initial data acquisition, the subsequent compromise phase is low cost and highly effective.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Termix to release 2.5.1 or later, which eliminates the hard‑coded key derivation.
  • After upgrading, set unique OIDC_SYSTEM_SECRET and WEBAUTHN_SYSTEM_SECRET configuration values.
  • Re‑encrypt existing user data with the new secrets to protect stored credentials.
  • Before applying the upgrade, back up the current database to preserve data.

Generated by OpenCVE AI on September 25, 2026 at 10:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Termix
Termix termix
Vendors & Products Termix
Termix termix
Type Values Removed Values Added
Description Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. From 1.7.0 until 2.5.1, Termix derives the keys that wrap OIDC and WebAuthn users' Data Encryption Keys from committed default strings and the public userId salt in src/backend/utils/user-crypto.ts. Because OIDC_SYSTEM_SECRET and WEBAUTHN_SYSTEM_SECRET are not configured by the project's default deployment artifacts, an attacker with an offline SQLite database copy can derive the wrapping key, recover each affected user's DEK, and decrypt stored SSH passwords, private keys, and key passphrases. Password-authenticated users are not affected by this specific key derivation path. This issue is fixed in version 2.5.1.
Title Termix: Hardcoded default key encrypts all OIDC/WebAuthn users' stored SSH credentials — full offline decryption from a database copy
Weaknesses CWE-321
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 3:35 PM
Reserved
Aug 25, 2026, 2:08 PM
Status
Deferred
Published
Sep 24, 2026, 5:17 PM
Modified
Sep 28, 2026, 4:17 PM