Description
FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.0, the Guest API invoice/update endpoint is missing an authorization check present in other invoice-related endpoints, allowing an unauthenticated user with knowledge of an invoice hash to modify the payment gateway associated with an unpaid invoice. An attacker who obtains an invoice hash, which may leak through shared URLs, referrer headers, or email links, can change the `gateway_id` on an unpaid invoice to any payment gateway configured in the system. This does not allow redirecting payments to an arbitrary external endpoint, as the gateway must already be installed and configured by an administrator. The practical impact is further limited by the `invoice_accessible_from_hash` system setting. Version 0.8.0 contains a patch. No known workarounds are available.
Published: 2026-07-06
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FOSSBilling’s guest Invoice update API endpoint lacks an authorization check that is present in other invoice endpoints. An unauthenticated user who knows an invoice hash can alter the gateway_id field on an unpaid invoice. The weakness is a combination of missing authentication (CWE‑306) and missing authorization for modification (CWE‑863). The impact is limited to the gateway configured for that invoice and requires the target gateway to have been pre‑installed and configured by an administrator.

Affected Systems

All releases of FOSSBilling before version 0.8.0 expose the guest invoice/update route that accepts requests containing an invoice hash. Administrators using these versions should verify that the invoice_accessible_from_hash setting is enabled and, if so, consider disabling it or applying the 0.8.0 patch.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity, while the EPSS score of less than 1% suggests a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is the API endpoint; an attacker can acquire an invoice hash through shared URLs, referrer headers, or email links. Once the hash is known, the attacker can change the gateway_id to any gateway configured in the system, potentially diverting payments or causing processing failures. The practical impact is bounded by the need for the gateway to already exist in the system, but the unintended gateway switch can still disrupt business operations. The invoice_accessible_from_hash system setting provides additional, though partial, mitigation.

Generated by OpenCVE AI on August 1, 2026 at 18:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FOSSBilling to version 0.8.0 or later to restore proper authorization checks.
  • Disable the invoice_accessible_from_hash setting if it is not required for business processes.
  • Restrict permission to configure payment gateways to trusted administrators and audit gateway usage for unauthorized changes.

Generated by OpenCVE AI on August 1, 2026 at 18:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


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

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

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

Type Values Removed Values Added
Title FOSSBilling has incorrect authorization in invoice Guest API endpoints FOSSBilling missing authorization in guest Invoice API endpoints

Mon, 06 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description FOSSBilling is a free, open-source billing and client management system. Prior to version 0.8.0, the Guest API invoice/update endpoint is missing an authorization check present in other invoice-related endpoints, allowing an unauthenticated user with knowledge of an invoice hash to modify the payment gateway associated with an unpaid invoice. An attacker who obtains an invoice hash, which may leak through shared URLs, referrer headers, or email links, can change the `gateway_id` on an unpaid invoice to any payment gateway configured in the system. This does not allow redirecting payments to an arbitrary external endpoint, as the gateway must already be installed and configured by an administrator. The practical impact is further limited by the `invoice_accessible_from_hash` system setting. Version 0.8.0 contains a patch. No known workarounds are available.
Title FOSSBilling has incorrect authorization in invoice Guest API endpoints
Weaknesses CWE-306
CWE-863
References
Metrics cvssV4_0

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


Subscriptions

Fossbilling Fossbilling
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-07T13:51:59.385Z

Reserved: 2026-04-26T13:26:14.513Z

Link: CVE-2026-42331

cve-icon Vulnrichment

Updated: 2026-07-07T13:51:53.846Z

cve-icon NVD

Status : Deferred

Published: 2026-07-06T21:16:55.617

Modified: 2026-07-07T15:16:46.967

Link: CVE-2026-42331

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T18:15:04Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-863

    Incorrect Authorization