Home

Description

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.

PUBLISHED Reserved 2026-03-27 | Published 2026-03-27 | Updated 2026-03-30 | Assigner GitHub_M




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

Problem types

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

Product status

<= 26.0
affected

References

github.com/...AVideo/security/advisories/GHSA-h54m-c522-h6qr exploit

github.com/...AVideo/security/advisories/GHSA-h54m-c522-h6qr

github.com/...ommit/34132ad5159784bfc7ba0d7634bb5c79b769202d

cve.org (CVE-2026-34368)

nvd.nist.gov (CVE-2026-34368)

Download JSON