What’s Vulnerable › Vulnerabilities
CVE-2026-104356: PictShare < 3.7.1 Predictable Delete Code via rand()
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-02
- Weakness: CWE-338
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
- HaschekSolutions pictshare: from 2.0.0 before 3.7.1 — fixed in 3.7.1
How to fix
Upgrade to a fixed version: HaschekSolutions pictshare 3.7.1. Check the vendor advisory for mitigations.
References
- https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3
- https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1
- https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand
Get alerted when CVE-2026-104356 or the next vulnerability affects your stack