{"id":"CVE-2026-104356","aliases":["CVE-2026-104356"],"related":[],"kind":"vulnerability","state":"published","title":"PictShare < 3.7.1 Predictable Delete Code via rand()","summary":"PictShare before version 3.7.1 contains a weak randomness vulnerability where the getRandomString() function uses the non-cryptographic rand() PRNG to generate the delete_code authorization token in src/inc/core.php. Attackers can predict or infer the PRNG state to guess valid delete_code values and perform unauthorized deletion of hosted files without needing to read the code from the info endpoint.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PictShare before version 3.7.1 contains a weak randomness vulnerability where the getRandomString() function uses the non-cryptographic rand() PRNG to generate the delete_code authorization token in src/inc/core.php. Attackers can predict or infer the PRNG state to guess valid delete_code values and perform unauthorized deletion of hosted files without needing to read the code from the info endpoint.","source":"cvelist"}],"published":"2026-10-01T21:21:45.992Z","modified":"2026-11-08T14:00:47.293Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-338"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","fixed":"3.7.1","status":"affected"}],"vendor":"HaschekSolutions","product":"pictshare","repo":"https://github.com/HaschekSolutions/pictshare","source":"cvelist"}],"references":[{"url":"https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3","tags":["issue-tracking","patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Alisher Qarshibayev","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-02T18:23:52.166Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-104356","url":"https://www.cve.org/CVERecord?id=CVE-2026-104356","licence":"CVE Terms of Use","modified":"2026-11-08T14:00:47.293Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-104356","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104356","licence":"Public domain","modified":"2026-10-02T19:16:40.900Z"}],"updatedAt":"2026-11-25T22:59:41.884Z","epss":{"score":0.0047,"percentile":0.42327,"date":"2026-12-01T12:00:22.000Z"}}