# CVE-2026-42331: FOSSBilling missing authorization in guest Invoice API endpoints

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T21:00:07.164Z
- Modified: 2026-07-07T15:16:46.967Z
- Weaknesses: CWE-306, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FOSSBilling FOSSBilling: < 0.8.0

## References

- <https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-8755-w77f-3g7j> (exploit)

## Sources

- CVE List: [CVE-2026-42331](https://www.cve.org/CVERecord?id=CVE-2026-42331), CVE Terms of Use, modified 2026-07-07
- NVD: [CVE-2026-42331](https://nvd.nist.gov/vuln/detail/CVE-2026-42331), Public domain, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-42331 · Whole record: https://cve.day/CVE-2026-42331.json · Rebuilt by cve.day 2026-11-25T22:59:27.256Z
