Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Part-DB Part-DB-server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Part-DB 是一款用于电子元件管理的开源库存管理系统。在 2.1.2.1 版本之前,Part-DB 代码仓库中提交的 文件里, 配置项被硬编码为一个固定值( )。官方 Docker 镜像 在容器启动时并未覆盖或随机化该值。由于 Symfony 框架通过 使用 作为 HMAC 密钥来签署“记住我”(remember-me)Cookie,任何知晓该密钥的攻击者(或从公开仓库中获取该密钥)均可伪造任意用户的“记住我”Cookie,从而在无需提供任何凭证的情况下获得完全认证的会话。该漏洞已在 2.12.1 版本中修复。

CVSS 6.3 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54631

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Part-DB: Hardcoded APP_SECRET enables forged remember-me cookie
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
使用硬编码的凭证
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Part-DB Part-DB-server < 2.12.1 -

II. Public POCs for CVE-2026-54631

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54631

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-54631 (1)

Vendor Pages for CVE-2026-54631 (1)

Same Patch Batch · Part-DB · 2026-10-23 · 9 CVEs total

CVE-2026-54630 9.6 CRITICAL Part-DB: Authenticated RCE via .phar attachment upload served from public/media
CVE-2026-86055 8.7 HIGH Part-DB: Password Reset Link Poisoning via Host Header Injection leads to pre-authenticati
CVE-2026-54615 6.0 MEDIUM Part-DB: Stored XSS / HTML injection in activity-log Extra column via unsanitized Collecti
CVE-2026-55600 5.7 MEDIUM Part-DB: Stored HTML injection in BOM validation results via unescaped Part name
CVE-2026-59188 5.4 MEDIUM Part-DB: SVG Sanitization Bypass via Extension Spoofing Leads to Stored XSS in Attachment
CVE-2026-86018 5.3 MEDIUM Part-DB: Authenticated Disk Exhaustion via Unbounded Server-Side Attachment Downloads
CVE-2026-86019 5.3 MEDIUM Part-DB: Attachment Size Limit Bypass via API Base64 Upload
CVE-2026-86020 4.6 MEDIUM Part-DB: Spreadsheet Formula Injection in XLSX Part Exports

IV. Related Vulnerabilities

V. Comments for CVE-2026-54631

No comments yet


Leave a comment