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.
Published: 2026-10-23
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Authentication bypass via forged remember‑me cookie
Action: Immediate Patch
AI Analysis

Impact

A hardcoded APP_SECRET value in the Part-DB server’s .env file is used by Symfony as the HMAC key for signing remember‑me cookies. Because the secret is publicly accessible, an attacker can craft a cookie that appears to be properly signed and obtain an authenticated session without providing any credentials. This flaw is a classic example of the CWE‑798 vulnerability, where a fixed secret enables an attacker to forge cryptographic tokens.

Affected Systems

The vulnerability affects the Part‑DB server (open‑source inventory management system for electronic components). All releases prior to version 2.12.1, including the official Docker image jbtronics/part-db1, contain the hardcoded APP_SECRET. Users running any of these earlier releases without a custom override of APP_SECRET are vulnerable.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity. The EPSS score is not available, so the current exploit probability cannot be precisely quantified, but the lack of obscurity for the secret and the ability to obtain it from the public repository suggest a favorable attack vector. The flaw is listed in no KEV catalog. Attackers can obtain the secret from the repository and forge a remember‑me cookie remotely, obtaining full authenticated access to the application. Due to the ease of creating the forged cookie, the risk of exploitation is significant for systems that have not applied the 2.12.1 patch or an equivalent secret override.

Generated by OpenCVE AI on October 23, 2026 at 05:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the 2.12.1 or later release of Part‑DB server, which removes the hardcoded APP_SECRET and introduces proper secret management.
  • If you cannot upgrade immediately, set a unique APP_SECRET in your environment before starting the application to override the hardcoded value. Ensure the Docker image is configured to pass a secure secret via the APP_SECRET environment variable.
  • If the public .env file remains in the repository, remove or sanitize the file from history or use access controls to prevent its exposure.

Generated by OpenCVE AI on October 23, 2026 at 05:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Part-db
Part-db part-db
Vendors & Products Part-db
Part-db part-db

Fri, 23 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
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.
Title Part-DB: Hardcoded APP_SECRET enables forged remember-me cookie
Weaknesses CWE-798
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T02:46:18.989Z

Reserved: 2026-06-15T20:07:02.185Z

Link: CVE-2026-54631

cve-icon Vulnrichment

Updated: 2026-10-29T02:46:14.278Z

cve-icon NVD

Status : Deferred

Published: 2026-10-23T04:18:17.177

Modified: 2026-10-29T04:18:38.450

Link: CVE-2026-54631

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:39:55Z

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials