CVE Catalog

CVE-2026-54631

MediumCVSS 6.3
Published: Translated: NVD NIST

Summary

In Part-DB before version 2.12.1, the committed .env file contains a fixed APP_SECRET value that the official jbtronics/part-db1 Docker image does not override or randomize at container start-up. Since Symfony uses APP_SECRET as the HMAC key for signing remember-me cookies, an attacker who knows the secret can forge an arbitrary-user remember-me cookie and gain a fully authenticated session without credentials.

Risk Assessment

Any attacker who knows the public secret can impersonate any user, including an administrator, and gain access to the system without logging in.

Recommendation

Upgrade Part-DB to version 2.12.1 or later and set a unique, random APP_SECRET value in production.

Other vulnerabilities in Part-DB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS