PictShare < 3.7.1 Predictable Delete Code via rand()
- CVE-2026-104356
- GHSA-6654-r2c2-m62r
- EUVD-2026-91072
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.
Text from the CVE.org record.
Recommendation
HaschekSolutions pictshare
- If you run a version from 2.0.0 to before 3.7.1update to 3.7.1 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
HaschekSolutions pictshare
Affected versions Fixed in from 2.0.0 to before 3.7.1 3.7.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.