PT-2026-24481 · Alienbin · Alienbin
Blue-B
·
Published
2026-03-10
·
Updated
2026-03-10
·
CVE-2026-31827
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
Alienbin versions 1.0.0 and earlier
Description
Alienbin is an anonymous code and text sharing web service. The
/save API endpoint in the server.js file recreates the MongoDB TTL index on the entire post collection with each new paste submission. Submitting a paste with a short TTL value, such as 30 seconds, causes all pastes, including those with longer TTLs (e.g., 7 days), to be deleted after 30 seconds. An attacker can intentionally delete all existing pastes by repeatedly submitting pastes with ttlOption=30s.Recommendations
Update to a newer version that contains a fix for this vulnerability. As a temporary workaround, consider restricting access to the
/save endpoint until a patch is available.Fix
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alienbin