CVE Catalog

CVE-2026-104356

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

22th percentile - higher than 22% of all known CVEs

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.

Risk Assessment

The risk includes unauthorized deletion of hosted files, potentially leading to data loss, service integrity compromise, and harm to users.

Recommendation

It is recommended to update PictShare to version 3.7.1 or later and replace the token generator with a cryptographically secure one (e.g., random_bytes). Also consider additional authorization mechanisms for deletion operations.

Other vulnerabilities in PictShare

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS