CVE-2026-31827
Alienbin: TTL Index Race Condition allows unauthorized deletion of other users data
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
Alienbin is an anonymous code and text sharing web service. In 1.0.0 and earlier, the /save endpoint in server.js drops and recreates the MongoDB TTL index on the entire post collection for every new paste submission. When User B submits a paste with a short TTL (e.g., 30 seconds), the TTL index is recreated with expireAfterSeconds: 30 for all documents in the collection. This causes User A's paste (originally set to 7 days) to be deleted after 30 seconds. An attacker can intentionally delete all existing pastes by repeatedly submitting pastes with ttlOption=30s.
| CWE | CWE-362 |
| Vendor | blue-b |
| Product | alienbin |
| Published | Mar 10, 2026 |
| Last Updated | Mar 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for blue-b alienbin
Be the first to know when new unknown vulnerabilities affecting blue-b alienbin are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Blue-B / Alienbin
<= 1.0.0