CVE-2026-34368
MEDIUM 5.3CVSS 3.1AVideo Vulnerable to Wallet Balance Double-Spend via TOCTOU Race Condition in transferBalance
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
- 27 Mar 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-362
- Also known as
- GHSA-h54m-c522-h6qr
- Sources
- NVDJSONOSV GHSA-h54m-c522-h6qrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wwbn | avideocpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:* |
<= 26.0 | |
| OSV | Packagist | wwbn/avideo | <= 26.0 |
References
- https://github.com/WWBN/AVideo/commit/34132ad5159784bfc7ba0d7634bb5c79b769202d · Patch, WEB
- https://github.com/WWBN/AVideo/security/advisories/GHSA-h54m-c522-h6qr · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34368 · ADVISORY
- https://github.com/WWBN/AVideo · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 Mar 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Mar 2026)