CVE-2026-104356
published high CVSS 4.0 · 8.2PictShare < 3.7.1 Predictable Delete Code via rand()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HaschekSolutions | — | pictshare2.0.0 to < 3.7.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HaschekSolutions | pictshare | 2.0.0 to < 3.7.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
3- Patch Commit https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3
- pictshare 3.7.1 Release Notes https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1
- VulnCheck Advisory https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand
Provider assertions
2VulnCheck · cna
PictShare < 3.7.1 Predictable Delete Code via rand()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1b5e4d3f9befd64ca93210c70c38bbf9730609c1e0c74fa782c5cc06e6fc229f
- Ingested
- 08 Nov 2026, 14:03:33 UTC
- Source record
- Official CVE record