CVE-2026-119038: Business::GoCardless versions before 1.01 for Perl complete redirect flows without checking the session token, letting a leaked redirect flow ID create payments against another customer's mandate Robert Rothenberg 30 Oct 2026 12:57 UTC

========================================================================
CVE-2026-119038                                      CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-119038

   Distribution:  Business-GoCardless
       Versions:  before 1.01
       MetaCPAN:  https://metacpan.org/dist/Business-GoCardless
       VCS Repo:  https://github.com/payprop/business-gocardless

Business::GoCardless versions before 1.01 for Perl complete redirect
flows without checking the session token, letting a leaked redirect
flow ID create payments against another customer's mandate

Description
-----------
Business::GoCardless versions before 1.01 for Perl complete redirect
flows without checking the session token, letting a leaked redirect
flow ID create payments against another customer's mandate.

confirm_resource takes no session token from the caller. It reads the
redirect flow back from the GoCardless API and completes it with the
token from that response, so the check that the flow is completed by
the session that started it always passes. It then creates the
requested payment or subscription against the flow's mandate. Since
version 1.00, a flow that already has a mandate is returned as
confirmed without being completed again, so the same ID creates a new
payment on every call.

A remote attacker who obtains another customer's redirect flow ID can
create payments or subscriptions against that customer's mandate.

Problem types
-------------
- CWE-639 Authorization Bypass Through User-Controlled Key

Solutions
---------
Upgrade to Business-GoCardless 1.01 or later.

References
----------
https://metacpan.org/release/LEEJO/Business-GoCardless-1.01/changes