CVE-2026-42331CWE-306CWE-863

FOSSBilling missing authorization in guest Invoice API endpoints

High · published July 6, 2026

CVSS v4.0
7.7
EPSS
0%
Percentile
35.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
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
EPSS
0.00419 · 35.1th percentile
Weaknesses
CWE-306 · Missing Authentication for Critical Function; CWE-863 · Incorrect Authorization
Published
2026-07-06T21:00Z
EPSS history
Timeline
  • 06 JUL 21:00Z
    FOSSBilling missing authorization in guest Invoice API endpoints
    cvelistv5