Medium severity · published Oct 1, 2026
CVE-2026-104356
PictShare < 3.7.1 Predictable Delete Code via rand()
5.9
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 32% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PI
pictshare · HaschekSolutions
2.0.0 before 3.7.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-104356
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-104356
issue-tracking
https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3
patch
https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1
third-party-advisory
https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand
More from pictshare
8.2
CVE-2026-104051
PictShare < 3.7.1 Sensitive Information Disclosure via info API
4.6
CVE-2026-116263
HaschekSolutions PictShare File Upload core.php architect race condition
