Skip to content
Heist/ feed
High

PictShare < 3.7.1 Predictable Delete Code via rand()

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-104356

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-104356

pictshare

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/HaschekSolutions/pictshare",
    "vendor": "HaschekSolutions",
    "product": "pictshare",
    "versions": [
      {
        "status": "affected",
        "version": "2.0.0",
        "lessThan": "3.7.1",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/HaschekSolutions/pictshare",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-104356

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#8123 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement