Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain read access to Redis datastore
-
DeliveryRead tokenEncrypted values and token IDs
-
ExploitDecrypt secrets using default 'sensitiveKey'
-
ExecutionReassemble valid OAuth bearer tokens
-
ImpactImpersonate arbitrary users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism
|
| Exploitation Conditions | Two concrete prerequisites must both hold: (1) the attacker must have read access to the Redis datastore backing Express Gateway (tokenEncrypted values and token IDs are stored there), and (2) the deployment must still use the default crypto.cipherKey value 'sensitiveKey' as shipped in lib/config/system.config.yml. The decisive limiting factor is that an operator who overrides crypto.cipherKey with a unique secret is not exploitable via this default, and that Redis access itself requires a pre-existing foothold or an exposed/unauthenticated Redis instance - reflected in the high privilege (PR:H) and attack-requirement (AT:P) metrics. No user interaction is required once datastore access is obtained. |
| Impact | The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N, base 7.4) already encodes a high bar for exploitation: the attacker needs high privileges (PR:H), the attack carries a present requirement (AT:P), and complexity is high (AC:H). This is consistent with the description, which states the attacker must first have read access to the Redis datastore - meaning the vulnerability is a privilege-escalation/post-compromise amplifier, not an initial-access bug. No EPSS score was provided in the input, so exploitation probability cannot be quantified. The CVE is not listed in CISA KEV and no public exploit code is referenced, so there is no public exploit identified at time of analysis. The practical risk is therefore moderate and conditional rather than a widespread drive-by threat: the real severity hinges on whether operators left the default crypto.cipherKey 'sensitiveKey' in place AND whether an attacker can reach Redis. Where both are true the impact is serious (full OAuth bearer-token forgery, hence VC:H/VI:H), but the PR:H/AT:P prerequisites keep this well below a critical, mass-exploitable issue. No signals conflict; the main gap is the absence of EPSS data to gauge exploitation likelihood. |
| Exploit ScenarioDerived | An attacker who has already gained read access to the Express Gateway Redis datastore (e.g. via an exposed/unauthenticated Redis instance or a prior network foothold) reads the stored tokenEncrypted values and corresponding token IDs. Because the deployment still uses the hardcoded default cipher key 'sensitiveKey', the attacker decrypts the OAuth 2.0 token secrets offline and reassembles valid bearer tokens to impersonate any user. No public proof-of-concept is referenced, and the high-complexity, high-privilege prerequisites mean this follows an existing compromise rather than enabling initial access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
OAuth 2.0 bearer token compromise in Express Gateway through 1.16.11 is possible when a deployment keeps the default crypto.cipherKey value 'sensitiveKey' and an attacker can read the Redis datastore. The attacker can decrypt stored tokenEncrypted values, combine them with stored token IDs, and obtain valid bearer tokens for any user, causing high confidentiality and integrity impact while availability remains unaffected. This is not remotely exploitable without preconditions: the assessed vector requires high privileges (PR:H), a present attack requirement (AT:P), and high complexity (AC:H), and no public exploit was identified at time of analysis; it is not confirmed actively exploited (CISA KEV).
RemediationAI
No vendor-released patch identified in the provided sources at time of analysis, so prioritize compensating controls. First, override crypto.cipherKey in lib/config/system.config.yml with a unique, high-entropy secret instead of 'sensitiveKey'; because existing tokenEncrypted records were encrypted with the old key, this may require re-issuing OAuth tokens or re-encrypting stored secrets and can cause temporary user re-authentication. Second, close the Redis prerequisite: require Redis authentication, bind it to localhost or a private management network, enable TLS, and restrict read access with firewall rules or ACLs; these changes can break application connectivity if not staged, and Redis ACLs or TLS may require client configuration updates. Third, monitor for continued use of the default key and audit exposed Redis instances, because any attacker with read access to Redis can decrypt tokens while the default remains in place. Track the GitHub issue https://github.com/ExpressGateway/express-gateway/issues/1078 and VulnCheck advisory https://www.vulncheck.com/advisories/express-gateway-through-1.16.11-hardcoded-default-cipherkey-exposes-oauth-tokens for a fixed release, and apply the patch once available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Express Gateway is a Node.js API gateway that uses Redis for OAuth 2.0 token storage. The vulnerable code path involves lib/config/system.config.yml, which ships with a default crypto.cipherKey of 'sensitiveKey', and lib/services/utils.js, which uses that key to encrypt and decrypt token secrets stored as tokenEncrypted. CWE-1394 (Use of Default Cryptographic Key) is the root cause: because the key is predictable and shared across default deployments, the encryption protecting OAuth token material provides no confidentiality against an attacker who can read the Redis records. The CPE cpe:2.3:a:expressgateway:express-gateway:*:*:*:*:*:*:*:* indicates the express-gateway package is affected; the CVE description scopes the issue through version 1.16.11. Exploitation does not break the cryptography itself; it abuses knowledge of the default key plus datastore read access. The independent assessment maps this to CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N, emphasizing that Redis access already implies a significant foothold or an exposed datastore.
Know when Redis 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
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Requires privileged read access to the Redis datastore (PR:H) plus the non-default-key condition and token-reassembly effort (AC:H); token forgery breaks confidentiality and integrity (C:H/I:H) with no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Express Gateway through 1.16.11 contains a hardcoded cryptographic key vulnerability that allows attackers with datastore access to decrypt stored OAuth 2.0 token secrets via the default crypto.cipherKey 'sensitiveKey'. Attackers who can read Redis can decrypt tokenEncrypted values and combine them with stored token IDs to obtain valid bearer tokens for any user.
Executive ViewAI
Express Gateway (through version 1.16.11) protects API traffic, and when deployed with its default cryptographic key and a Redis token store readable by an attacker, an authenticated high-privileged adversary could forge valid OAuth 2.0 bearer tokens for any user, bypassing authentication across all connected applications and services. This would compromise the confidentiality and integrity of every API transaction the gateway mediates, potentially exposing sensitive customer or business data at scale. No public exploit identified at time of analysis and it is not confirmed actively exploited (CISA KEV), but the preconditions-default configuration and Redis exposure-are realistic in many enterprise environments, making this a material risk to the organization's authentication trust model.
No vendor-released patch identified at time of analysis. Interim mitigations: change the default crypto.cipherKey 'sensitiveKey' to a strong unique secret, rotate all issued OAuth 2.0 tokens, restrict and encrypt Redis access (network segmentation, TLS, authentication, least-privilege ACLs), and monitor for anomalous token issuance or usage.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers
Alpine Linux: valkey fixed in 7.2.7-r0
UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.
Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundle
It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,
Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.
A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. Rated cr
Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig
Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in
CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1
Code injection in OneUptime monitoring via custom JS monitor using vm module. PoC and patch available.
EUVD-2026-94317
GHSA-rq2q-fwh6-p47r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB