CVE-2026-104356 Details
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.
A vulnerability exists in PictShare versions 2.0.0 prior to 3.7.1, where the randomness used to generate authorization tokens for file deletion is weak and predictable. The issue arises because the getRandomString() function relies on the non-cryptographic rand() pseudo-random number generator (PRNG). This flaw allows attackers to infer the PRNG state and guess valid delete_code values, enabling unauthorized deletion of files without needing to access information from the API's info endpoint.
Users can upgrade to PictShare version 3.7.1 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 1, 2026CISA-ADP
Assessed Oct 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PictShare | >= 2.0.0, < 3.7.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 2, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2026 | New CVE Received | [email protected] |
Volerion