CVE-2026-104356
mediumPictShare before version 3.7.1 contains a weak randomness vulnerability where the getRandomString() function uses the non-cryptographic rand() PRNG to generate…
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce341... disclosure@vulncheck.com
- https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand disclosure@vulncheck.com
