Skip to main content

CVE-2026-54631: CWE-798: Use of Hard-coded Credentials in Part-DB Part-DB-server

0
Medium
VulnerabilityCVE-2026-54631cvecve-2026-54631cwe-798
Published: 10/23/2026 (10/23/2026, 03:53:33 UTC)
Source: CVE Database V5
Vendor/Project: Part-DB
Product: Part-DB-server

Description

Part-DB-server versions prior to 2.12.1 contain a hard-coded APP_SECRET value in the .env file committed to the public repository. This secret is used by the Symfony framework to sign remember-me cookies. Because the official Docker image does not override or randomize this secret at startup, an attacker who obtains it can forge authenticated sessions without credentials. This vulnerability has been fixed in version 2.12.1.

CVSS v3.1

Score 6.3medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L

Affected software

Part-DB

Part-DB-server

Affected versions
<2.12.1
GitHub Actionsmore threats →ai
part-db/Part-DB-server
pkg:github/part-db/Part-DB-server
Affected versions
<2.12.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 04:30:23 UTC

Technical Analysis

The Part-DB open source inventory management system for electronic components had a hard-coded APP_SECRET value (a03498528f5a5fc089273ec9ae5b2849) in its .env file prior to version 2.12.1. This secret is used by Symfony's kernel.secret as the HMAC key for signing remember-me cookies. Since the official Docker image jbtronics/part-db1 does not override or randomize this secret at container startup, an attacker with knowledge of the secret (which is publicly accessible in the repository) can forge arbitrary remember-me cookies. This allows the attacker to gain fully authenticated sessions without needing valid credentials. The issue is addressed by patching in version 2.12.1.

Potential Impact

An attacker who knows or obtains the hard-coded APP_SECRET can create forged remember-me cookies, enabling them to impersonate any user and gain full authenticated access to the Part-DB-server application without valid credentials. This compromises confidentiality and integrity of the system and user data. The vulnerability requires local or network access to the application but does not require user interaction.

Mitigation Recommendations

Upgrade Part-DB-server to version 2.12.1 or later, where the hard-coded APP_SECRET issue is fixed. The patch removes the fixed secret from the repository and ensures the secret is randomized or overridden appropriately. Until upgraded, do not use the official Docker image jbtronics/part-db1 in production as it does not mitigate this issue. No other mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T20:07:02.185Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6adadf7b4d27ba8daac8bbf7

Added to database: 10/23/2026, 04:15:55 UTC

Last enriched: 10/23/2026, 04:30:23 UTC

Last updated: 10/23/2026, 04:35:21 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses