{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5082","published":"2026-04-08T06:16:28.993000Z","last_modified":"2026-07-24T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-338","CWE-340"],"cpes":[{"criteria":"cpe:2.3:a:tokuhirom:amon2\\:\\:plugin\\:\\:web\\:\\:csrfdefender:*:*:*:*:*:perl:*:*","part":"a","vendor":"tokuhirom","product":"amon2::plugin::web::csrfdefender","version_start_including":"7.00","version_end_including":"7.03"}],"cpes_truncated":false,"vendors":["tokuhirom"],"products":["tokuhirom/amon2-plugin-web-csrfdefender"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-5082/","html_en":"/en/cve/CVE-2026-5082/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5082","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5082"},"untrusted":{"vendor_name":"Tokuhirom","product_name":"Amon2::plugin::web::csrfdefender","desc_en":"Amon2::Plugin::Web::CSRFDefender versions from 7.00 through 7.03 for Perl generate an insecure session id.\n\nThe generate_session_id function will attempt to read bytes from the /dev/urandom device, but if that is unavailable then it generates bytes using SHA-1 hash seeded with the built-in rand() function, the PID, and the high resolution epoch time.  The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.\n\nAmon2::Plugin::Web::CSRFDefender versions before 7.00 were part of Amon2, which was vulnerable to insecure session ids due to CVE-2025-15604.\n\nNote that the author has deprecated this module.","affected":[{"untrusted_vendor":"TOKUHIROM","untrusted_product":"Amon2::Plugin::Web::CSRFDefender","versions":[]}],"references":[{"url":"https://metacpan.org/release/TOKUHIROM/Amon2-Plugin-Web-CSRFDefender-7.03/source/lib/Amon2/Plugin/Web/CSRFDefender/Random.pm","tags":["Product"]},{"url":"https://metacpan.org/release/TOKUHIROM/Amon2-Plugin-Web-CSRFDefender-7.04/changes","tags":["Release Notes"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-15604","tags":["Third Party Advisory"]}]}}