PictShare < 3.7.1 Predictable Delete Code via rand()
Published Oct 1, 2026
8.2
HIGHCVSS 4.0
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 products
-
- Version 2.0.0StatusaffectedConstraints<3.7.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HaschekSolutions | Pictshare | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
No EPSS score for this CVE.
References (3)
- https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3 issue-trackingrelease-notes
- https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1 patch
- https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3 | issue-trackingrelease-notes | |
| https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1 | patch | |
| https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand | third-party-advisory |
Change history (0)
No recorded changes yet.