Sceawere

Vulnerability Detail

CVE-2026-85391UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Hardcoded JWT Secret Vulnerability

Vulnerability Metadata

Severity
Critical
Score / CVSS
9.8
Creation Date
4h ago
Vendor
Peppermint-Lab
Product
peppermint
Attack Type
Use of Hard-coded Credentials
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Complexity
LOW

Narrative and Response

Description

Peppermint through 0.5.5 contains a hardcoded JWT signing secret in docker-compose.yml that allows unauthenticated attackers to forge session tokens for any account. Attackers can use the published secret to mint valid tokens for arbitrary user IDs and access protected endpoints without credentials.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "9.8",
  "pubDate": "2026-09-03T19:17:30.830Z",
  "pubdate": "2026-09-03T19:17:30.830Z",
  "executiveSummary": "Peppermint versions through 0.5.5 contain a critical security vulnerability involving a hardcoded JSON Web Token (JWT) signing secret located within the docker-compose.yml configuration file.\nThis flaw allows unauthorized, unauthenticated actors to bypass standard authentication mechanisms by manually crafting and signing session tokens.\nBy utilizing the exposed static secret, an attacker can impersonate any user within the system, including administrative accounts, leading to a complete compromise of confidentiality and integrity.\nThe vulnerability represents a severe risk as it requires no prior credentials or elevated privileges to execute; an attacker simply needs access to the source code or the repository where the configuration is exposed.\nThe ability to forge valid tokens enables unrestricted access to protected API endpoints, effectively granting full application control without passing through the intended authentication middleware.",
  "technicalDetails": "The root cause of this vulnerability is the inclusion of a static, hardcoded cryptographic key used to sign JWTs within the docker-compose.yml deployment manifest of Peppermint versions 0.5.5 and earlier.\nJWTs rely on a secret key to ensure the integrity and authenticity of the token claims; if the secret is known, the cryptographic signature can be replicated by external parties.\nThe attack flow begins with the discovery of the hardcoded secret string within the repository. Once obtained, the attacker can leverage standard JWT libraries or command-line tools to generate a new, maliciously crafted token.\nThe attacker defines the 'sub' (subject) or 'uid' (user identifier) field in the token payload to correspond to the target user account, including high-privilege administrative IDs.\nAfter configuring the payload, the attacker signs the token using the identified hardcoded secret and the appropriate algorithm specified by the application, typically HMAC-SHA (HS256).\nBecause the server uses the same hardcoded secret to verify incoming requests, the forged token is validated as legitimate by the application's authentication middleware.\nThe attacker then attaches this forged token to the 'Authorization: Bearer <token>' header of subsequent HTTP requests directed at protected endpoints.\nUpon receipt, the application confirms the signature is cryptographically valid and grants the attacker an active session context corresponding to the specified user identifier.\nThis bypasses all upstream authentication logic, effectively rendering the application's login and session management controls useless.\nThe scope of impact is total; post-exploitation, the attacker operates with the full permissions of the chosen identity, facilitating data exfiltration, modification of sensitive settings, and unauthorized execution of business logic."
}
CVE-2026-85391: Hardcoded JWT Secret Vulnerability (CRITICAL Severity, CVSS: 9.8) - Sceawere