CVE-2026-54631

Part-DB: Hardcoded APP_SECRET enables forged remember-me cookie

State
Published
Severity
6.3 Medium
Published
Oct 23, 2026
Updated
Oct 29, 2026
Reserved
Jun 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:LGitHub_M

Weaknesses

  • CWE-798 Use of Hard-coded Credentials

Affected Products

ProductVersions
Part-DB-serverPart-DB
  • < 2.12.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.