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

Published Oct 1, 2026
·
Updated

PictShare before version 3.7.1 contains a weak randomness vulnerability where the getRandomString() function uses the non-cryptographic rand() PRNG to generate the deletecode authorization token in src/inc/core.php. Attackers can predict or infer the PRNG state to guess valid deletecode values and perform unauthorized deletion of hosted files without needing to read the code from the info endpoint.

Affected Software

1 affected component
PictShare PictShare<3.7.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PictShare to a version that resolves this vulnerability.

    Fixed in 3.7.1

Event History

Oct 1, 2026
CVE Published
via MITRE·09:21 PM
Data Sourced
via MITRE·09:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

PictShare deployments running versions before 3.7.1 are affected. The issue concerns delete_code tokens generated for hosted files.

2

What does an attacker need to exploit this?

The attacker needs to predict or infer the state of the rand() pseudo-random number generator in order to guess a valid delete_code value. No privileges or user interaction are required according to the supplied vector.

3

What is the impact of a successful exploit?

An attacker who successfully guesses a valid delete_code can delete hosted files without authorization. The provided impact information indicates availability impact only, with no stated confidentiality or integrity impact.

4

How can this be remediated?

Upgrade PictShare to version 3.7.1 or later. Version 3.7.1 is identified as the release addressing the weak delete_code generation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203