{"id":"CVE-2026-54631","title":"Part-DB: Hardcoded APP_SECRET enables forged remember-me cookie","summary":"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 off…","severity":"medium","cvss":6.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","cvssSource":"cna","cwe":["CWE-798"],"vendor":"Part-DB","product":"Part-DB-server","affected":["Part-DB-server < 2.12.1"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T03:53:33.833Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54631","references":[{"url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-99pw-2v29-v4wc","label":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-99pw-2v29-v4wc"},{"url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.1","label":"https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.1"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T04:15:07.557Z","slug":"CVE-2026-54631","body":"## Overview\n\nPart-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.\n\n## Affected\n\n- `Part-DB-server < 2.12.1`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":35,"depthScoreParts":{"impact":34.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}