CVE-2026-54631 Part-DB: Hardcoded APP_SECRET enables forged remember-me cookie
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-54631?
CVE-2026-54631 is a medium-severity vulnerability in Part-DB-server, published on 23 Oct 2026.
Official description
Part-DB is an open source inventory management system for electronic components. Prior to version 2.12.1, the file .env committed in the Part-DB repository contains a fixed value for APP_SECRET (a03498528f5a5fc089273ec9ae5b2849). The official Docker image jbtronics/part-db1 does not override or randomize this value at container start-up. Because Symfony uses APP_SECRET (via kernel.secret) as the HMAC key for signing remember-me cookies, any attacker who knows the secret -- or fetches it from the public repository -- can forge an arbitrary-user remember-me cookie and gain a fully authenticated session with no credentials required. This issue has been patched in version 2.12.1.
Weakness: CWE-798
Which versions are affected by CVE-2026-54631?
How do I fix CVE-2026-54631?
No fix has been published for CVE-2026-54631 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-54631 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54631 exists.
Sources
Also known as GHSA-99pw-2v29-v4wc.