CVE-2026-85391
9.8Peppermint-Lab · peppermint
Peppermint versions 0.5.5 and earlier contain a hardcoded JWT signing secret in the docker-compose.yml file, allowing unauthenticated attackers to forge session tokens and impersonate any user.
Executive summary
A critical vulnerability in Peppermint allows unauthenticated attackers to achieve full account takeover by forging valid session tokens via a hardcoded signing secret.
Vulnerability
The application utilizes a hardcoded JWT signing secret (peppermint4life) defined within the docker-compose.yml file. This flaw permits unauthenticated attackers to cryptographically sign arbitrary tokens, effectively bypassing all authentication controls to access any user account.
Business impact
This vulnerability carries a CVSS score of 9.8, reflecting its potential for total system compromise. Successful exploitation grants attackers unauthorized access to sensitive user data and administrative functions, which could result in severe data breaches, loss of customer trust, and significant operational disruption.
Remediation
Immediate Action: Upgrade to the latest version of Peppermint immediately. If an update is not immediately available, rotate the JWT secret in the docker-compose.yml file to a strong, unique, and random string.
Proactive Monitoring: Review authentication and access logs for anomalous login patterns or spikes in unauthorized access requests. Monitor for signs of account impersonation, such as multiple user sessions originating from a single IP address.
Compensating Controls: Deploy a Web Application Firewall (WAF) to detect and block suspicious traffic patterns directed at authentication endpoints. Ensure the application environment is isolated and restricted from public network access where possible.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the critical nature of this vulnerability and the ease with which an attacker can forge authentication tokens, organizations must treat this as a high-priority incident. Immediate rotation of the hardcoded secret is mandatory to prevent potential account takeovers, followed by a transition to a secure secret management practice for all environment variables.
Sources
Originally found and disclosed by George Chen, per the CVE Program record.