CVE-2026-42869
Description
SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to 0.1.57, SOCFortress CoPilot ships a hardcoded JWT signing secret as a fallback value in backend/app/auth/utils.py:28 and ships it verbatim in .env.example. Any deployment where JWT_SECRET is not explicitly set — including the default Docker Compose setup — signs all authentication tokens with this publicly known value. An unauthenticated attacker can forge arbitrary admin-scoped JWTs and gain full control of the application and every security tool it manages without any credentials. This vulnerability is fixed in 0.1.57.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-11
- Last modified
- 2026-10-26
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.4 %
higher than 36 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Weakness type
-
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
-
CWE-522: Insufficiently Protected Credentials
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
-
CWE-798: Use of Hard-coded Credentials
The product contains hard-coded credentials, such as a password or cryptographic key.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1021: Remote Services
- T1021.002: SMB/Windows Admin Shares
- T1040: Network Sniffing
- T1078: Valid Accounts
- T1078.001: Default Accounts
- T1110.004: Credential Stuffing
- T1114.002: Remote Email Collection
- T1133: External Remote Services
- T1134: Access Token Manipulation
- T1185: Browser Session Hijacking
- T1505.003: Web Shell
- T1543: Create or Modify System Process
- T1548: Abuse Elevation Control Mechanism
- T1550.001: Application Access Token
- T1550.002: Pass the Hash
- T1550.003: Pass the Ticket
- T1552.001: Credentials In Files
- T1552.004: Private Keys
- T1557: Adversary-in-the-Middle
- T1558: Steal or Forge Kerberos Tickets
References
- https://github.com/socfortress/CoPilot/commit/4640511a0cf2e7b144a71375b5b349a8318cb186
- https://github.com/socfortress/CoPilot/pull/814
- https://github.com/socfortress/CoPilot/security/advisories/GHSA-4gxj-hw3c-3x2x
- https://github.com/socfortress/CoPilot/security/advisories/GHSA-4gxj-hw3c-3x2x
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.