CVE-2026-104356
8.2high
PictShare < 3.7.1 Predictable Delete Code via rand()
- Severity
- 8.2high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HaschekSolutions pictshare | from 2.0.0 before 3.7.1 | CVE List |
All scores
| VulnCheck | 8.2high CVSS:4.0 | 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 |
| VulnCheck | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3 | issue-tracking, patch, release-notes | |
| https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1 | patch, release-notes | |
| https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-104356 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-104356 changed 2026-10-02 | Public domain |