Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-54631

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-54631

Part-DB-server

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Part-DB",
    "product": "Part-DB-server",
    "versions": [
      {
        "status": "affected",
        "version": "< 2.12.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-54631

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#52575 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement