Description
FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.1, downloadable product files are stored using a deterministic filename-derived path. When an administrator uploads a file for a downloadable product, FOSSBilling stores the file as `md5(<original filename>)` under the uploads directory. Because the stored path depends only on the client-supplied filename, two different downloadable products, or product/order files, uploaded with the same original filename will resolve to the same stored file path. A later upload can overwrite an earlier upload, causing customers or administrators downloading the earlier product to receive the later file instead. Version 0.8.1 patches the issue. Some workarounds are available. Restrict the `servicedownloadable.manage` permission to fully trusted administrators only. As an operational mitigation, ensure downloadable product files use unique filenames before upload. This reduces accidental collisions but does not fully address the underlying issue.
Published: 2026-07-06
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FOSSBilling is a free, open‑source billing and client‑management system. Up to version 0.8.0, downloadable product files are stored using a deterministic filename‑derived path: the system writes the file to the uploads directory as `md5(<original filename>)`. Because the storage path depends only on the client‑supplied filename, two different downloadable products or product/order files that share the same original name will map to the same physical file. A subsequent administrator upload with that identical filename can overwrite a previously stored file, causing customers or administrators to receive a different, potentially malicious, file. Version 0.8.1 fixes the flaw. Workarounds include restricting the `servicedownloadable.manage` permission to fully trusted administrators and ensuring that downloadable product files use unique filenames before upload, which reduces accidental collisions but does not solve the underlying issue.

Affected Systems

All FOSSBilling installations prior to version 0.8.1 are affected. Any instance that permits an administrator to upload product files can be exposed to filename‑collision attacks.

Risk and Exploitability

The vulnerability’s CVSS score of 5.1 indicates moderate severity, and its EPSS score of < 1% shows exploitation is rare. The flaw is not listed in the CISA KEV catalog. Based on the description, it is inferred that attackers need servicedownloadable.manage authority to upload a file; once that permission is held, replacing a legitimate file with a malicious one linked to the same original filename is trivial, leading to unintended content delivery.

Generated by OpenCVE AI on August 1, 2026 at 17:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FOSSBilling to version 0.8.1 or later, which patches the deterministic filename collision flaw.
  • Restrict the servicedownloadable.manage permission to trusted administrators only to limit upload privileges.
  • Ensure downloadable product files use unique filenames before uploading to reduce accidental collisions.

Generated by OpenCVE AI on August 1, 2026 at 17:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 07 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Fossbilling
Fossbilling fossbilling
Vendors & Products Fossbilling
Fossbilling fossbilling

Mon, 06 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
Description FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.1, downloadable product files are stored using a deterministic filename-derived path. When an administrator uploads a file for a downloadable product, FOSSBilling stores the file as `md5(<original filename>)` under the uploads directory. Because the stored path depends only on the client-supplied filename, two different downloadable products, or product/order files, uploaded with the same original filename will resolve to the same stored file path. A later upload can overwrite an earlier upload, causing customers or administrators downloading the earlier product to receive the later file instead. Version 0.8.1 patches the issue. Some workarounds are available. Restrict the `servicedownloadable.manage` permission to fully trusted administrators only. As an operational mitigation, ensure downloadable product files use unique filenames before upload. This reduces accidental collisions but does not fully address the underlying issue.
Title FOSSBilling: Downloadable product files can be overwritten through filename collisions
Weaknesses CWE-668
CWE-73
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Fossbilling Fossbilling
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-07T13:58:05.740Z

Reserved: 2026-06-09T20:50:36.876Z

Link: CVE-2026-53648

cve-icon Vulnrichment

Updated: 2026-07-07T13:58:01.007Z

cve-icon NVD

Status : Deferred

Published: 2026-07-07T00:16:34.390

Modified: 2026-07-07T15:16:48.243

Link: CVE-2026-53648

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T18:00:12Z

Weaknesses
  • CWE-668

    Exposure of Resource to Wrong Sphere

  • CWE-73

    External Control of File Name or Path