Quick answers
- Is CVE-2026-54631 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-54631 being exploited in the wild.
- How severe is CVE-2026-54631?
- Medium severity, with a CVSS score of 6.3, published 23 October 2026.
- Which products and versions are affected?
- Part-DB 2.12.0 and earlier.
- Is there a fix for CVE-2026-54631?
- Yes: fixed in Part-DB 2.12.1. Until then: Generate a new random 32-character APP_SECRET using `openssl rand -hex 32` and set it in `.env.local` or the `environment` section of `docker-compose.yaml` to override the hardcoded value before deployment. Existing deployments must restart containers after this change to invalidate any forged cookies. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-54631 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-54631?
- Check whether you run Part-DB at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: Part-DB 2.12.1
Generate a new random 32-character APP_SECRET using `openssl rand -hex 32` and set it in `.env.local` or the `environment` section of `docker-compose.yaml` to override the hardcoded value before deployment. Existing deployments must restart containers after this change to invalidate any forged cookies.
Technical details
The vulnerability stems from a hardcoded APP_SECRET value in the committed .env file that is never randomized by the Docker entrypoint. Symfony's SignatureHasher uses this secret as the HMAC-SHA256 key for remember-me cookie authentication. An attacker can either compute forged cookies offline if they obtain a user's bcrypt password hash, or extend any intercepted REMEMBERME cookie to arbitrary future expiry for any target user by recomputing the HMAC with the known secret—no password knowledge required for the latter variant.
Affected products
- Part-DB Part-DB 2.12.0 and earlier
Timeline
- 2026-06-16: disclosed
- 2026-06-16: patched: Version 2.12.1 released