CVE-2026-111050FOSSBilling >= 0.1.0, Authorization Bypass Through User-Controlled Key
NVD
Vulnerability Summary
Summary The PayPal (`PayPalEmail`) adapter decides which invoice a payment credits from the `invoice_id` query parameter inside `notify_url`, which is rendered into the buyer's payment form as an ordinary editable hidden field (`Payment_Adapter_PayPalEmail::getOneTimePaymentFields()` / `getSubscriptionFields()` into `_generateForm()`). Its authenticity check (`_isIpnValid()`) confirms PayPal really sent the notification and that it was paid to the configured merchant account, but it never checks which invoice the payment was for, and the invoice identity PayPal echoes back in the verified IPN body (`item_number`) is never read. Any client can therefore edit `notify_url` before paying and have their own genuine payment credited to a different client's invoice of the same total, marking it paid in `processTransaction()`. Impact A shopper can complete a genuine PayPal payment but have FOSSBilling record it against a different customer's invoice. That invoice then shows as paid and its order activates, even though its owner never paid anything, while the invoice the money was actually for stays unpaid. Anyone can register a client account, so the attacker needs no special access. The only real constraint is that the target invoice must have the same total as the payment, which is easy to arrange wherever prices are fixed, as with domains or hosting tiers. Subscription billing is affected too, so recurring charges can be diverted the same way, and nothing in the invoice list flags that the payment was credited to the wrong invoice. Affected Versions FOSSBilling version 0.1.0 through 0.8.7 (all releases to date). Patched Versions 0.8.8 Details PayPal notifications arrive at the public `/ipn.php` endpoint, which reads `gateway_id` and `invoice_id` from the query string and passes the request through `ServiceTransaction::createAndProcess()` into the adapter's `processTransaction()`. `ServicePayGateway::getCallbackUrl()` embeds the paying invoice's ID inside `notify_url` as part of this, and the PayPal adapter copies that URL verbatim into the form in both `getOneTimePaymentFields()` and `getSubscriptionFields()` (`src/library/Payment/Adapter/PayPalEmail.php`). `_generateForm()` then renders every field as a plain hidden input, so the buyer can rewrite `invoice_id` before the form ever reaches PayPal. PayPal processes a normal payment and delivers its genuine notification to the attacker's chosen invoice. On receipt, `processTransaction()` credits that value without further checks: ```php // Set the invoice ID if it's not set if (!$tx['invoice_id']) { $invoiceID = $data['get']['invoice_id'] ?? null; ... $api_admin->invoice_transaction_update(['id' => $id, 'invoice_id' => $invoiceID]); } ``` (`src/library/Payment/Adapter/PayPalEmail.php`). The checks that do run answer different questions. `_isIpnValid()` proves PayPal sent the message and that the merchant account was the payee. `validatePaymentAmount()` proves the amount covers the invoice total. Neither confirms which invoice the money was actually for, despite PayPal providing this information, since the verified notification body echoes `item_number` back, but `processTransaction()` never reads it. This counts as an attack because someone with no special access gets to decide whose invoice is marked paid and whose orders activate. That corrupts the ledger on its own, and it becomes direct theft once the funds are reversible or belong to someone else. The sibling Stripe adapter already closes this hole on both of its paths, by comparing the credited invoice against server-side metadata (`Stripe::validateRedirectPaymentIntent()`, `Stripe.php`, and `Stripe::setupIntentBelongsToInvoice()`, `Stripe.php`). The PayPal binding is older than FOSSBilling's own versioning, and every later change narrowed around it without touching the trust itself. Workarounds There is no complete workaround without patching. Until a fix ships, disable the PayPal gateway so no new `notify_url` values are issued, and review stored transaction IPN payloads for cases where the credited invoice does not match the `item_number` PayPal reported, reconciling any affected invoices. Acknowledgements Thanks to Carlos Alarcos Macías (@alarcos85) for responsibly reporting this vulnerability.
CVSS v4.0 Base Metrics — Score 7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- FOSSBilling >= 0.1.0, <= 0.8.7
- FOSSBilling 0.8.8
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run FOSSBilling >= 0.1.0, and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Oct 26, 2026Published
- Oct 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new FOSSBilling >= 0.1.0, CVEsYou are reading CVE-2026-111050. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 23, 2026 08:00 UTC