Skip to main content

Paymenter CVE-2026-55219

| EUVDEUVD-2026-46097 MEDIUM
Race Condition (CWE-362)
2026-06-30 https://github.com/Paymenter/Paymenter GHSA-pgcq-8grm-5rx9
5.3
CVSS 3.1 · Vendor: https://github.com/Paymenter/Paymenter
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with valid user account
  2. Delivery
    Accumulate credit balance via legitimate top-up
  3. Exploit
    Identify multiple open invoices each costing the full balance
  4. Install
    Script concurrent HTTP payment requests for all invoices
  5. C2
    lockForUpdate() fires outside transaction and is ignored
  6. Execute
    Both balance checks pass on stale read
  7. Impact
    Services provisioned for each request at single-invoice cost

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated session (CVSS PR:L confirms this - unauthenticated attackers cannot reach the vulnerable code path). The attacker must hold a non-zero credit balance sufficient to pass the unprotected balance check on at least one read. The credit payment method must be enabled on the Paymenter instance and selected as the payment method for the targeted invoices. The database backend must be MySQL or MariaDB; the lockForUpdate() no-op behavior is specific to these engines in autocommit mode. The race requires two or more payment requests to be in-flight concurrently - this is not achievable through normal sequential browser interaction but is straightforward with scripted parallel HTTP requests. Zero-balance accounts and instances where credit payments are disabled cannot be exploited.

Impact

The assigned CVSS 5.3 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N) is directionally appropriate. AC:H reflects the timing dependency of the race condition, which is a real constraint, though in practice race conditions of this type are reliably triggerable with simple scripted parallel HTTP requests rather than requiring precise millisecond-level coordination. PR:L correctly captures the authentication requirement, which is the most meaningful limiting factor - the attacker pool is bounded to users with valid accounts and an existing credit balance. No CISA KEV listing exists, no public exploit code has been identified, and EPSS data was not provided in the available intelligence. The financial impact is direct and monetizable: a motivated authenticated user can obtain services without paying for them, making this a practical fraud vector rather than a theoretical issue. Platforms with open user registration and active credit top-up workflows face materially higher exposure than those with tightly controlled onboarding.

Exploit ScenarioDerived

An authenticated Paymenter user with 100 credits and two open invoices each priced at 100 credits writes a short script that fires both payment POST requests simultaneously using concurrent threads or async HTTP calls. Both requests enter app/Livewire/Invoices/Show.php, read the balance as 100 without holding any effective lock, each conclude the balance is sufficient, and both call ExtensionHelper::addPayment() - provisioning two services while only one deduction (or none, depending on timing) ultimately reflects. No public exploit code exists at time of analysis, but the attack requires only standard HTTP concurrency tooling available in any scripting language.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Credit double-spend via race condition in Paymenter allows any authenticated user with a non-zero credit balance to settle multiple invoices for the cost of one. The root cause is that lockForUpdate() in app/Livewire/Invoices/Show.php is called outside a database transaction, rendering the pessimistic lock a no-op in MySQL/MariaDB and leaving the read-check-deduct sequence unprotected against concurrent execution. Successful exploitation results in direct financial or resource loss to the platform operator as ExtensionHelper::addPayment() provisions services or digital goods for each winning request. No public exploit has been identified at time of analysis.

RemediationAI

The correct fix is to wrap the entire credit balance check, lockForUpdate() call, deduction, and ExtensionHelper::addPayment() invocation inside an explicit Laravel database transaction using DB::transaction(), ensuring the pessimistic lock is held for the full duration of the atomic read-modify-write sequence. Operators should consult the GitHub Security Advisory GHSA-pgcq-8grm-5rx9 (https://github.com/Paymenter/Paymenter/security/advisories/GHSA-pgcq-8grm-5rx9) for the specific patched release version, as no exact fix version is confirmed in the currently available data. As a compensating control prior to patching, disabling credit-based payment processing entirely eliminates the attack surface but blocks legitimate credit use. Rate-limiting concurrent requests per authenticated user to the invoice payment endpoint (e.g., via middleware) narrows the race window and raises the bar for exploitation but does not eliminate it, and aggressive limits may throttle legitimate users. Adding a database-level CHECK constraint enforcing a non-negative credit balance provides a last-resort guard against the balance going negative but does not prevent double-provisioning if both transactions commit before either deduction is reflected.

Affected VersionsENISA

Paymenter < 1.5.5

Affected Packages

composer paymenter/paymenter fix: 1.5.5
euvd paymenter fix: 1.5.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Paymenter is an open-source PHP billing and service panel (Composer package paymenter/paymenter) built on Laravel. The vulnerable code in app/Livewire/Invoices/Show.php attempts to use Laravel's lockForUpdate() - which generates a SELECT ... FOR UPDATE SQL statement - to serialize access to the user's credit balance row. However, in MySQL and MariaDB's InnoDB storage engine, SELECT ... FOR UPDATE only acquires and holds a row-level lock within the scope of an active transaction. Without an enclosing DB::transaction() call, the lock is issued and immediately released before the balance check and deduction execute, making the guard completely ineffective. CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) is the precise root cause class: the credit balance is a shared resource subject to a read-modify-write operation that lacks a valid synchronization primitive, exposing a classic TOCTOU window. PostgreSQL's autocommit and locking semantics differ and may not exhibit the same behavior.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/Paymenter/Paymenter) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 5.3 MEDIUM

Authentication required (PR:L) and concurrent timing dependency (AC:H); only financial integrity is impacted with no confidentiality or availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/Paymenter/Paymenter).

CVSS VectorVendor: https://github.com/Paymenter/Paymenter

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche open-source PHP billing panel, limited enterprise footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy