{"id":"CVE-2026-104356","published":"2026-10-01T21:21:45Z","modified":"2026-11-08T14:00:47Z","title":"PictShare < 3.7.1 Predictable Delete Code via rand()","vendor":"HaschekSolutions","product":"pictshare","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.32817,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3","tags":["issue-tracking","release-notes","patch"]},{"url":"https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1","tags":["patch","release-notes"]},{"url":"https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand","tags":["third-party-advisory"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":6.56},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.13}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-02","earliestUrl":"https://github.com/wvllxe/CVE-2026-104356-pictshare-weak-delete-code","repos":[{"name":"wvllxe/CVE-2026-104356-pictshare-weak-delete-code","url":"https://github.com/wvllxe/CVE-2026-104356-pictshare-weak-delete-code","stars":2,"created":"2026-10-02"}]},"first":{"date":"2026-10-02","source":"PoC-in-GitHub","url":"https://github.com/wvllxe/CVE-2026-104356-pictshare-weak-delete-code"},"provenance":"source"},"vendorSlug":"hascheksolutions","affectedVersions":[{"vendor":"HaschekSolutions","product":"pictshare","versions":[">= 2.0.0, < 3.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-02T18:23:52.166713Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-91072","exploited":false,"provenance":"source"}}