Skip to main content
← All vulnerabilities
CVE-2026-104356

PictShare < 3.7.1 Predictable Delete Code via rand()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • HaschekSolutions pictshare

    From 2.0.0 · fixed in 3.7.1

References 3

GitHub · HaschekSolutions/pictshare

vulncheck.com