CVE-2026-86019: Part-DB: Attachment Size Limit Bypass via API Base64 Upload
Part-DB is an open source inventory management system for electronic components. Prior to version 2.13.2, Part-DB allows authenticated API users to bypass the configured maximum attachment file size by uploading attachments through the API using base64-encoded file data. The application enforces the configured attachment size limit for normal browser-based file uploads, but the API base64 upload path does not apply the same size validation. As a result, an authenticated user with API access and permission to create attachments can upload files larger than the configured maximum attachment size, potentially exhausting disk space and causing a denial of service. This issue has been patched in version 2.13.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Part-DBto a version that resolves this vulnerability.Fixed in 2.13.2
Event History
Frequently Asked Questions
Which users can exploit this issue?
Exploitation requires an authenticated API user that has permission to create attachments. Unauthenticated users and users without attachment-creation permission are not described as able to exploit it.
Are standard browser uploads affected?
The configured attachment size limit is enforced for normal browser-based uploads. The bypass applies specifically to API uploads that submit file data as base64.
What is the impact of successful exploitation?
An authorized API user can upload attachments larger than the configured maximum size. Repeated or sufficiently large uploads may exhaust available disk space and cause denial of service.
What should be done if the size limit must be enforced?
Upgrade Part-DB to version 2.13.2, which patches the issue. Until then, limit API access and restrict attachment-creation permission to trusted users.