CVE-2026-34368
published 2026-03-27CVE-2026-34368: WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `transferBalance()` method in `plugin/YPTWallet/YPTWallet.php` contains…
PriorityP432medium5.3CVSS 3.1
AVNACHPRLUINSUCNIHAN
EPSS
0.23%
13.6th percentile
WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `transferBalance()` method in `plugin/YPTWallet/YPTWallet.php` contains a Time-of-Check-Time-of-Use (TOCTOU) race condition. The method reads the sender's wallet balance, checks sufficiency in PHP, then writes the new balance — all without database transactions or row-level locking. An attacker with multiple authenticated sessions can send concurrent transfer requests that all read the same stale balance, each passing the balance check independently, resulting in only one deduction being applied while the recipient is credited multiple times. Commit 34132ad5159784bfc7ba0d7634bb5c79b769202d contains a fix.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| wwbn | avideo | <= 26.0 | — |
| wwbn | avideo | 0 – 26.0 | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
ghsa·2026-03-30
CVE-2026-34368 [MEDIUM] CWE-362 AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
## Summary
The `transferBalance()` method in `plugin/YPTWallet/YPTWallet.php` contains a Time-of-Check-Time-of-Use (TOCTOU) race condition. The method reads the sender's wallet balance, checks sufficiency in PHP, then writes the new balance — all without database transactions or row-level locking. An attacker with multiple authenticated sessions can send concurrent transfer requests that all read the same stale balance, each passing the balance check independently, resulting in only one deduction being applied while the recipient is credited multiple times.
## Details
The vulnerable code path in `plugin/YPTWallet/YPTWallet.php:450-517`:
```php
// Line 473-474: READ - fetch current balance (pl
OSV
AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
osv·2026-03-30
CVE-2026-34368 [MEDIUM] AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
## Summary
The `transferBalance()` method in `plugin/YPTWallet/YPTWallet.php` contains a Time-of-Check-Time-of-Use (TOCTOU) race condition. The method reads the sender's wallet balance, checks sufficiency in PHP, then writes the new balance — all without database transactions or row-level locking. An attacker with multiple authenticated sessions can send concurrent transfer requests that all read the same stale balance, each passing the balance check independently, resulting in only one deduction being applied while the recipient is credited multiple times.
## Details
The vulnerable code path in `plugin/YPTWallet/YPTWallet.php:450-517`:
```php
// Line 473-474: READ - fetch current balance (pl
No detection rules found.
No public exploits indexed.
2026-03-27
Published