{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"HaschekSolutions/pictshare","product":"pictshare","source":"CNA: VulnCheck","vendor":"HaschekSolutions","versions":[{"lessThan":"3.7.1","status":"affected","version":"2.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-104356","cwes":["CWE-338"],"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.","epss":{"date":"2026-11-08","percentile":0.32215,"score":0.0038},"exploits":[],"kev":null,"metrics":[{"score":8.2,"severity":"high","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":5.9,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}],"modifiedAt":1794146447293,"publishedAt":1790889705992,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking","release-notes","patch"],"url":"https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3"},{"source":"CNA: VulnCheck","tags":["patch","release-notes"],"url":"https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1"}],"revision":"724a7bf031bff6558ef53d7af2f433b5e8178439ddb844c22c7409dfdae6cb5f","sources":[{"modifiedAt":1794146447293,"name":"CNA: VulnCheck","retrievedAt":1794147011939,"url":"https://www.cve.org/CVERecord?id=CVE-2026-104356"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794150616955,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-104356"}],"ssvc":{"assessedAt":1790965432166,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"PictShare < 3.7.1 Predictable Delete Code via rand()","updatedAt":1794150616955}