PictShare < 3.7.1 Predictable Delete Code via rand()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HaschekSolutions | pictshare | 2.0.0 to before 3.7.1 | 3.7.1 | Patch available | CNA |
- pictshare VendorHaschekSolutions Affected 2.0.0 to before 3.7.1 Fixed in 3.7.1 Patch available CNA
Remediation
- Fix · CNA pictshare (HaschekSolutions) Fixed in 3.7.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
HaschekSolutions pictshare 3.7.1
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-65771 PictShare < 3.7.1 Sensitive Information Disclosure via info APIPriority MEDIUM 45
Timeline
- 2026-10-02 Threatist record created from CVE-2026-104356
- 2026-10-03 Alias added: GHSA-6654-r2c2-m62r
References
Patch 1
Other 1
More HaschekSolutions vulnerabilities
- TI-2026-65771 PictShare < 3.7.1 Sensitive Information Disclosure via info API CVSS 4.0HIGH 8.8
- TI-2026-80351 Race condition in HaschekSolutions PictShare file upload CVSS 4.0LOW 2.1
Sources
- CVE-2026-104356 · CVE Program
- CVE-2026-104356 · NVD
- FIRST EPSS
- GHSA-6654-r2c2-m62r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences