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

High 8.2 Published Updated

Attackers can predict delete codes using weak randomness to unauthorizedly delete hosted files in PictShare.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-104356?

CVE-2026-104356 is a high-severity vulnerability in HaschekSolutions pictshare, published on 1 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-338

Which versions are affected by CVE-2026-104356?

How do I fix CVE-2026-104356?

No fix has been published for CVE-2026-104356 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-104356 being exploited?

There is no known exploitation of CVE-2026-104356 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-6654-r2c2-m62r.

Is CVE-2026-104356 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free