HaschekSolutions PictShare
PictShare < 3.7.1 Predictable Delete Code via rand()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 3.7.1
Fixed in 3.7.1
Mitigation
Upgrade pictshare to 3.7.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 12 h after publication; not in CISA KEV. First PoC: wvllxe/CVE-2026-104356-pictshare-weak-delete-code (created 2 Oct 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| wvllxe/CVE-2026-104356-pictshare-weak-delete-code | 2 Oct 2026 +12 h | 2 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.