{"id":"CVE-2026-104356","published":"2026-10-01T22:17:00.990","lastModified":"2026-10-02T19:16:40.900","description":"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.","cvssScore":5.9,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-338"],"vendors":[],"products":[],"references":[{"url":"https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3","tags":[]},{"url":"https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1","tags":[]},{"url":"https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand","tags":[]}],"exploitRefs":[{"url":"https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3","tags":[]},{"url":"https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1","tags":[]}],"hasPoc":true,"ai":null}