CVE-2026-119037: Business::GoCardless versions before 1.01 for Perl accept forged webhooks when a configured webhook secret is undef or empty Robert Rothenberg 30 Oct 2026 12:58 UTC

========================================================================
CVE-2026-119037                                      CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-119037

   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 accept forged
webhooks when a configured webhook secret is undef or empty

Description
-----------
Business::GoCardless versions before 1.01 for Perl accept forged
webhooks when a configured webhook secret is undef or empty.

signature_valid uses each configured secret as the HMAC key, and
nothing rejects undef or an empty string, both of which Digest::SHA
treats as an empty key. A secret read from an unset environment
variable, or an empty entry in a list of rotated secrets, is used as
is.

A remote attacker can sign a forged webhook with an empty key and have
it accepted as sent by GoCardless.

Problem types
-------------
- CWE-347 Improper Verification of Cryptographic Signature

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

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