Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. paymenter/paymenter
  4. ›
  5. CVE-2026-55219

CVE-2026-55219: Paymenter has race condition in payWithCredit() that enables credit double-spend

June 30, 2026

The credit payment implementation in app/Livewire/Invoices/Show.php executes a pessimistic row lock (lockForUpdate()) outside of an active database transaction. Because MySQL/MariaDB requires an enclosing transaction to enforce row-level locks, the guard is ineffective. Concurrent payment requests can exploit this race condition to read the same credit balance simultaneously, allowing users to pay multiple invoices using the same credit balance.

References

  • github.com/Paymenter/Paymenter/security/advisories/GHSA-pgcq-8grm-5rx9
  • github.com/advisories/GHSA-pgcq-8grm-5rx9
  • nvd.nist.gov/vuln/detail/CVE-2026-55219

Code Behaviors & Features

Detect and mitigate CVE-2026-55219 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.5

Fixed versions

  • 1.5.5

Solution

Upgrade to version 1.5.5 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

packagist/paymenter/paymenter/CVE-2026-55219.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Jul 2026 00:23:17 +0000.