← Back to CVE Explorer

CVE-2026-119038

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-10-30 13:18:32.783000
Last modified
2026-10-30 13:18:32.783000
View original CVE JSON
{
  "id": "CVE-2026-119038",
  "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
  "published": "2026-10-30T13:18:32.783",
  "lastModified": "2026-10-30T13:18:32.783",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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.\n\nconfirm_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.\n\nA remote attacker who obtains another customer's redirect flow ID can create payments or subscriptions against that customer's mandate."
    }
  ],
  "affected": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "collectionURL": "https://cpan.org/modules",
          "packageName": "Business-GoCardless",
          "modules": [
            "Business::GoCardless"
          ],
          "programFiles": [
            "lib/Business/GoCardless/Pro.pm",
            "lib/Business/GoCardless/Client.pm"
          ],
          "programRoutines": [
            {
              "name": "Business::GoCardless::Pro::confirm_resource"
            },
            {
              "name": "Business::GoCardless::Client::_confirm_redirect_flow"
            }
          ],
          "repo": "https://github.com/payprop/business-gocardless",
          "packageURL": "pkg:cpan/Business-GoCardless",
          "versions": [
            {
              "version": "0",
              "lessThan": "1.01",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "weaknesses": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://metacpan.org/release/LEEJO/Business-GoCardless-1.01/changes",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
    }
  ]
}