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.
CVE-2026-104356
Score 5.9 from GitHub Security Advisory (severity: HIGH) published 2026-10-02. A secondary CVSS source baseline 5.9; sources differ by 0.0.
- Lower severity and no public exploit yet
An upstream fix is merged but not yet released — mitigate (WAF / firewall / segmentation) until the release ships, then apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9MEDIUMhigh confidence
- EG Risk
- 43EG Risk 43/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity59% × 45%Exploitation40% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines until it ships, then apply the release. - EPSS PROB
- 0.3%
- EPSS %ILE
- 21st
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines until it ships, then apply the release.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 1, 2026
Last Modified
October 2, 2026
Advisory Details (2)
Auto-updated Oct 1, 2026PictShare < 3.7.1 Predictable Delete Code via rand() | Advisories | VulnCheck
https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-randcommit ce5fc474e897 (HaschekSolutions/pictshare)
Fix landed in HaschekSolutions/pictshare commit ce5fc474e897 — awaiting tagged release
https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3Vendor Advisories for CVE-2026-104356(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-04 23:21 UTCEPSS rescore
- 2026-10-04 15:47 UTCGHSA enrichment
- 2026-10-03 17:34 UTCEG score recompute
- 2026-10-03 17:33 UTCGHSA enrichment
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-02 19:20 UTCGHSA enrichment
- 2026-10-02 18:51 UTCEG score recompute
- 2026-10-02 18:51 UTCGHSA enrichment
- 2026-10-02 18:37 UTCEG score recompute
- 2026-10-02 18:37 UTCGHSA enrichment
- 2026-10-01 22:18 UTCEG score recompute
- 2026-10-01 21:37 UTCEG score recompute
- 2026-10-01 21:35 UTCMITRE cvelistV5first tracked
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCwvllxe/CVE-2026-104356-pictshare-weak-delete-codeFirst seen Oct 2, 2026
Predictable delete_code via rand() in PictShare < 3.7.1 (CWE-338). PoC + advisory writeup.
Open source ↗
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-104356?
When was CVE-2026-104356 disclosed?
Is CVE-2026-104356 actively exploited?
What is the CVSS score of CVE-2026-104356?
How do I remediate CVE-2026-104356?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-104356
Is Your Infrastructure Affected by CVE-2026-104356?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.