# CVE-2026-104356: PictShare < 3.7.1 Predictable Delete Code via rand()

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-10-01T21:21:45.992Z
- Modified: 2026-11-08T14:00:47.293Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- HaschekSolutions pictshare: from 2.0.0 before 3.7.1

## Every score

- VulnCheck: CVSS:4.0 8.2 High `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3> (issue-tracking, patch, release-notes)
- <https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1> (patch, release-notes)
- <https://www.vulncheck.com/advisories/pictshare-predictable-delete-code-via-rand> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-104356](https://www.cve.org/CVERecord?id=CVE-2026-104356), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-104356](https://nvd.nist.gov/vuln/detail/CVE-2026-104356), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-104356 · Whole record: https://cve.day/CVE-2026-104356.json · Rebuilt by cve.day 2026-11-25T22:59:41.884Z
