Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13877: Use of Hard-coded Cryptographic Key in nocobase

0
Medium
VulnerabilityCVE-2025-13877cvecve-2025-13877
Published: Tue Dec 02 2025 (12/02/2025, 16:02:05 UTC)
Source: CVE Database V5
Product: nocobase

Description

CVE-2025-13877 is a medium severity vulnerability in nocobase versions up to 1. 9. 4 and 2. 0. 0-alpha. 37 involving the use of a hard-coded cryptographic key in the JWT Service component. This flaw allows remote attackers to potentially manipulate the API_KEY argument, compromising the cryptographic integrity of JWT tokens. Exploitation is difficult due to high attack complexity and no user interaction or privileges are required. The vulnerability impacts confidentiality, integrity, and availability at a low level and has a CVSS 4. 0 score of 6.

AI-Powered Analysis

AILast updated: 12/09/2025, 16:54:55 UTC

Technical Analysis

CVE-2025-13877 identifies a cryptographic vulnerability in nocobase, an open-source low-code platform, specifically within its JWT Service implementation. The issue arises from the use of a hard-coded cryptographic key embedded in the source code (nocobase\packages\core\auth\src\base\jwt-service.ts), which is used for signing or verifying JSON Web Tokens (JWTs). Attackers can remotely exploit this flaw by manipulating the API_KEY argument, allowing them to potentially forge or tamper with JWT tokens. This undermines the authentication and authorization mechanisms relying on these tokens, risking unauthorized access or privilege escalation. The attack complexity is high, indicating that exploitation requires significant effort or conditions, and no user interaction or privileges are needed, making it a remote vulnerability. The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L) reflects network attack vector, high complexity, no privileges or user interaction, and low impact on confidentiality, integrity, and availability. The vendor has not responded to disclosure requests, and no official patches are available, though the exploit is publicly known. This vulnerability affects all nocobase versions up to 1.9.4 and all 2.0.0-alpha releases up to alpha.37, which are commonly used in web applications for rapid development and deployment of business logic and authentication services.

Potential Impact

For European organizations, this vulnerability poses a risk to the confidentiality and integrity of authentication tokens, potentially allowing attackers to bypass authentication controls and access sensitive data or systems. This is particularly critical for sectors handling personal data under GDPR, financial institutions, healthcare providers, and government services relying on nocobase for identity management. The use of a hard-coded key means that once the key is known, all affected deployments using the default key are vulnerable until updated. This could lead to unauthorized data access, data manipulation, or service disruption. Although the impact on availability is low, the compromise of authentication tokens can lead to broader security breaches. The medium severity rating reflects the balance between the difficulty of exploitation and the potential damage. The lack of vendor response and patches increases the risk exposure time for organizations. Additionally, the public availability of exploit code raises the likelihood of opportunistic attacks targeting vulnerable European entities.

Mitigation Recommendations

Organizations should immediately audit their nocobase deployments to identify affected versions. Since no official patch is available, administrators must manually replace the hard-coded cryptographic key with a securely generated, environment-specific secret stored outside the source code, such as in environment variables or secure vaults. Implement strict access controls on API endpoints to limit exposure. Monitor JWT token usage for anomalies, such as unexpected token issuances or invalid signatures. Employ network-level protections like Web Application Firewalls (WAFs) to detect and block suspicious requests targeting the JWT service. Consider isolating or segmenting systems running nocobase to reduce lateral movement risk. Stay alert for vendor updates or community patches and plan for timely upgrades once available. Finally, conduct security awareness training for developers and administrators emphasizing secure key management practices to prevent similar issues.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2025-12-02T09:44:50.654Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 692f0ffa16d939a309ce6a2f

Added to database: 12/2/2025, 4:12:42 PM

Last enriched: 12/9/2025, 4:54:55 PM

Last updated: 1/16/2026, 12:22:30 PM

Views: 82

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats