CVE-2026-54631: Part-DB: Hardcoded APP_SECRET enables forged remember-me cookie

Published Oct 23, 2026
·
Updated

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 APPSECRET (a03498528f5a5fc089273ec9ae5b2849). The official Docker image jbtronics/part-db1 does not override or randomize this value at container start-up. Because Symfony uses APPSECRET (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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Part-DB to a version that resolves this vulnerability.

    Fixed in 2.12.1

Event History

Oct 23, 2026
CVE Published
via MITRE·03:53 AM
Data Sourced
via MITRE·03:53 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Part-DB deployments prior to version 2.12.1 are affected if they use the fixed APP_SECRET committed in the repository. The official jbtronics/part-db1 Docker image does not override or randomize that value at container startup.

2

What does an attacker need to exploit this issue?

An attacker needs the APP_SECRET value, which is available in the public repository, to create a valid HMAC-signed remember-me cookie. No legitimate account credentials are required to obtain a fully authenticated session as an arbitrary user.

3

What should be done if upgrading cannot happen immediately?

Replace the fixed APP_SECRET with a unique secret so the publicly known value can no longer sign valid cookies. Upgrading to version 2.12.1 is the documented patch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203