mediumCVSS 5.3Vulnerability

CVE-2026-55219

### Summary 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. ### Technical Details The issue occurs because the application attempts to lock the user's credit balance row in the database (`lockForUpdate()`) without opening a database transaction. In database systems like MySQL, a row lock only works inside a formal transaction; without one, the lock is completely ignored. Because there is no active lock, two payment requests sent at the exact same millisecond can look at the database at the same time. Both requests see the original credit balance, decide it is sufficient, and approve the payment. ### Impact This race condition allows any authenticated user with a valid credit balance to bypass balance restrictions and settle multiple pending invoices simultaneously for the cost of a single invoice. Because the payment processes successfully through ExtensionHelper::addPayment(), the application provisions the corresponding services or digital goods, resulting in direct financial or resource loss to the platform.

Properties

severity
medium
summary
Paymenter has race condition in payWithCredit() that enables credit double-spend
epss_score
0.00144
cvss_score
5.3
ghsa_published
2026-06-30T19:11:24Z
source_url
https://github.com/advisories/GHSA-pgcq-8grm-5rx9
ghsa_updated
2026-06-30T19:11:25Z
ghsa_id
GHSA-pgcq-8grm-5rx9
cve_id
CVE-2026-55219
cvss_vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
is_ghsa_only
false
epss_percentile
0.0421

Related Entities (5)

ENRICHED_BY (1)

[Source]FIRST EPSS

VULNERABLE_TO (1)

[Software]composer/paymenter/paymenter

AFFECTS (1)

[Software]composer/paymenter/paymenter

HAS_WEAKNESS (1)

[Weakness]Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-55219 (CVSS 5.3) — Ninja Signal Threat Intelligence | Ninja Signal