Servers and applications
GHSA-g3p9-f8wp-3wj4
YPTSocket: expired admin WebSocket tokens still accepted because the localhost exception in verifyTokenSocket() always matches under CLI
- Severity
- Low 2.7
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N- Sources
- Project advisories (GitHub)
Description
verifyTokenSocket() in plugin/YPTSocket/functions.php skipped the 12-hour token expiry check when getRealIpAddr() returned 127.0.0.1. This exception was meant for the CLI worker. But every caller of verifyTokenSocket() runs in a CLI process, and under CLI getRealIpAddr() always returns 127.0.0.1. So the expiry check added by the fix for GHSA-2mg4-pfgx-64cf (CVE-2026-34362) never ran, and expired socket tokens were still accepted.
This affects the opt-in PHP socket server and also the default Node socket server, which validates tokens through the PHP worker (worker.php).
- plugin/YPTSocket/functions.php — verifyTokenSocket() returned true for "localhost" before the timeout check could reject the token.
- objects/functions.php — getRealIpAddr() returns 127.0.0.1 first when isCommandLineInterface() is true.
- Callers: plugin/YPTSocket/Message.php, MessageSQLite.php, MessageSQLiteV2.php, server2.php (PHP socket server) and worker.php (token decryption for the Node socket server).
Workarounds
Disable the YPTSocket plugin until the update is applied.
Affected software
| Software | Affected versions |
|---|---|
AVideoServers and applications · github:wwbn/avideo |
|
About AVideo
Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
- GitHub stars
- 2,115GitHub, 29 Nov 2026
- Forks
- 1,013GitHub, 29 Nov 2026
- Latest release
- v29.9.0GitHub, 29 Nov 2026
- Released
- 23 Nov 2026GitHub
- First published on GitHub
- 2 Apr 2017GitHub
Vulnerabilities in AVideo
- In our list
- 273
- Published in the last 12 months
- 220
- Critical, last 12 months
- 23
- High, last 12 months
- 74
- Known exploited
- 0
- GHSA-fv8g-qf36-h66wMissing authorization: APIName=program&videos_id= discloses private playlist contentsMedium 5.3 1 Dec 2026
- CVE-2026-140349WWBN AVideo before 29.8.0 Information Disclosure via Video API Category ListingMedium 6.9 1 Dec 2026
- CVE-2026-140350AVideo before 29.8.0 Video Password Disclosure via video_from_program APIMedium 6.9 1 Dec 2026
- GHSA-52fg-vpch-j7fgAVideo CSRF on VideoLogoOverlay editorSave.php lets an attacker overwrite the site-wide logo overlay and store XSS on every video pageMedium 4.7 1 Dec 2026
- GHSA-5qvx-p4hr-jg4mMissing authorization in plugin/PlayLists/managerPlaylists.php: any logged-in user can list another user's private playlists via PlaylistOwnerUsersIdMedium 4.3 1 Dec 2026
- GHSA-pgj9-m954-xp7qUnauthenticated playback of password-protected videos via the public API program feed (APIName=video_from_program)Medium 5.3 30 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-g3p9-f8wp-3wj4
- github.com https://github.com/WWBN/AVideo/security/advisories/GHSA-g3p9-f8wp-3wj4