Skip to main content

PictShare CVE-2026-116263

| EUVDEUVD-2026-109784 LOW
Race Condition (CWE-362)
2026-10-26 cna@vuldb.com GHSA-jwmr-fj5j-6pj8
1.2
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send concurrent uploads with colliding temp-file names
  2. Exploit
    Win TOCTOU race in architect()/upload()
  3. Execution
    Swap file after mime/sha1 checks pass
  4. Impact
    Store unvalidated file bypassing naughty-list

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to drive the file-upload path in src/inc/core.php architect() / api.class.php upload() (URL-pull or base64 upload) and to issue concurrent requests whose temp-file names collide - in the vulnerable code the name is derived from user-controlled input such as the basename of the upload URL, producing a predictable ROOT/tmp path. The attacker must then win the TOCTOU race window between the mime/sha1/naughty-list validation and storeFile() so a file is swapped in after it was validated. Limiting factors: the race window is narrow and timing-dependent (AC:H, vendor calls exploitability 'difficult'), the attacker needs upload capability against the instance (vendor rates PR:L; note PictShare may allow anonymous uploads by default, which would lower this), and the practical impact is limited to bypassing upload content checks rather than gaining code execution. Fixed in 3.7.2, which replaces user-derived temp names with getTempFilePath() using random_bytes(16).

Impact

This is a low-priority issue despite being remotely reachable. The input CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:L/UI:P) yields a base score of only 1.2, and every impact metric is Low (VC:L/VI:L/VA:L) with no scope change - signals that align with the vuln.today 'monitor' decision label rather than any act_now/emergency urgency. The 'E:P' metric and the description ('The exploit has been published') indicate proof-of-concept maturity, not active exploitation: there is no CISA KEV listing and no EPSS score in the supplied data, so widespread or automated exploitation is not indicated. The key limiting factor is the high attack complexity: the GitHub commit evidence confirms the mechanism is a TOCTOU race where two concurrent requests share a temp-file name derived from user input (the basename of an upload URL) and can swap each other's file between validation and storeFile(). Winning that narrow race window is difficult (AC:H, 'exploitability regarded as difficult'), and the payoff is only bypassing mime/sha1/naughty-list checks on a self-hosted image host, not code execution. Note one tension to verify: the vendor assigns PR:L, but PictShare commonly permits anonymous uploads in default deployments, in which case PR:N would be more accurate - this does not change the low overall severity.

Exploit ScenarioDerived

An attacker issues two near-simultaneous upload requests (URL-pull or base64) to a PictShare instance, crafted so both resolve to the same predictable temp-file path in ROOT/tmp. By winning the race between the validation step and storeFile(), the attacker swaps in a file that was never checked, causing an unsupported or naughty-listed file to be stored. A published proof-of-concept and a write-up (xmit.xyz) exist, but the high-complexity timing requirement makes reliable exploitation difficult.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 26, 2026

A race condition in HaschekSolutions PictShare through 3.7.1 allows an attacker who can drive the upload endpoints to swap a file between validation and storage, bypassing the mime-type, SHA-1 and naughty-list checks enforced in architect() and API::upload(). The flaw is reachable over the network but requires winning a narrow, timing-dependent TOCTOU window (AC:H, PR:L per the CVSS vector; vendor rates exploitability as difficult), and its practical impact is limited to integrity of stored uploads rather than code execution. A public write-up and PoC reference exist (xmit.xyz); it is not verified as working exploit code, there is no KEV listing, and the priority decision is monitor. Fixed in release 3.7.2 (commit 6306e33).

RemediationAI

Upgrade PictShare to version 3.7.2, which is the vendor-released fix and is explicitly stated to be sufficient to resolve this issue; the same change is contained in commit 6306e33da630c04ddff60703922c2ec7b7539452. Release artifact: https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.2; advisory: https://vuldb.com/vuln/426302. If upgrading cannot be done immediately, the exposure comes entirely from the two upload paths that build temp names from user input, so disabling or blocking the URL-pull (remote URL fetch) and base64 upload endpoints at the web server or reverse proxy removes the attack surface at the cost of losing those upload modes. Restricting the instance so that only trusted accounts can upload - and, where the deployment permits anonymous uploads by default, disabling anonymous uploads - raises the PR:L prerequisite without touching the code, though it does not remove the underlying race. None of these workarounds is a complete substitute for the 3.7.2 upgrade.

Affected VersionsENISA

pictshare 3.7.1
pictshare 3.7.0

Affected Packages

euvd pictshare no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PictShare is a PHP image/file hosting application. In the vulnerable code, the upload pipeline in src/inc/api.class.php (upload()) and src/inc/core.php (architect()) writes incoming content to a temporary file under ROOT/tmp whose name is derived from user-controlled input - the basename of a supplied remote URL for URL-pull uploads, or an md5(rand(0,10000) . time()) . time() value for base64 uploads - instead of from a cryptographically random source. Because those names are predictable and can be shared across two concurrent requests, an attacker can arrange for two requests to land on the same temporary path and swap the file content in the window between the mime-type / SHA-1 / naughty-list validation and the storeFile() call, so that content which never passed validation is persisted. That is a classic time-of-check-to-time-of-use race (CWE-362). The upstream fix replaces the user-derived names with getTempFilePath(), which builds the path from bin2hex(random_bytes(16)) with a fixed prefix inside ROOT/tmp, and adds handleOwnTempFile() so temp files created by PictShare itself are unlinked when handleFile() rejects them (duplicate, naughty list, unsupported type); unit tests assert the new path helper is unpredictable across seeded mt_srand() states and the integration tests assert no stray temp files remain after rejected base64 uploads. No CPE strings were supplied with the available data, so exact product identification rests on the vendor repository and release tags.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 1.2 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 3.1 LOW

Network-reachable upload race needs precise timing (AC:H) and upload access (PR:L); impact is limited to bypassing file-validation checks, so I:L only with C:N/A:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A flaw has been found in HaschekSolutions PictShare up to 3.7.1. The impacted element is the function architect of the file src/inc/core.php of the component File Upload. This manipulation causes race condition. The attack can be initiated remotely. The attack's complexity is rated as high. The exploitability is regarded as difficult. The exploit has been published and may be used. Upgrading to version 3.7.2 is sufficient to resolve this issue. Patch name: 6306e33da630c04ddff60703922c2ec7b7539452. It is advisable to upgrade the affected component. The vendor was contacted early about this disclosure.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche self-hosted open-source image host, small deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

6
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy