{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31827","published":"2026-03-10T22:16:20.633000Z","last_modified":"2026-06-17T10:34:31.953000Z","status":"Deferred","cvss":{"version":"4.0","score":7.1,"severity":"HIGH","vector":"CVSS:4.0/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-362"],"cpes":[],"cpes_truncated":false,"vendors":["blue-b"],"products":["blue-b/alienbin"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-31827/","html_en":"/en/cve/CVE-2026-31827/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31827","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31827"},"untrusted":{"vendor_name":"Blue-B","product_name":"Alienbin","desc_en":"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.","affected":[{"untrusted_vendor":"Blue-B","untrusted_product":"Alienbin","versions":[]}],"references":[{"url":"https://github.com/Blue-B/Alienbin/security/advisories/GHSA-hqvr-6v89-gwff","tags":[]}]}}