Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated request to pwg.history.search API
-
ExploitAccess unprotected history endpoint
-
ExecutionRetrieve full browsing history of all gallery visitors
-
ImpactDisclose sensitive visitor activity data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 | Piwigo versions prior to 16.3.0 with the pwg.history.search API method enabled (default configuration). Remote unauthenticated attacker can directly call the API endpoint. No victim interaction required. |
| Impact | Real-world risk is HIGH despite no confirmed active exploitation. The CVSS 7.5 score reflects maximum confidentiality impact (C:H) with network-accessible attack vector (AV:N), low complexity (AC:L), and zero authentication requirements (PR:N, UI:N). This represents a trivial-to-exploit privacy breach affecting all Piwigo installations with visitor tracking enabled. No EPSS data provided limits probabilistic risk scoring, and absence from CISA KEV indicates no confirmed widespread exploitation campaigns as of analysis date. However, the authentication bypass tag and straightforward exploitation path (simple API call) make this highly automatable once discovered. SSVC framework assessment: exploitation status currently opportunistic rather than active, but technical impact is significant for privacy-focused gallery deployments. Risk is amplified for public-facing galleries tracking visitor behavior, where browsing patterns may reveal sensitive research, corporate intelligence, or personal interests. The commit-level patch reference suggests researcher disclosure preceded mass scanning, providing remediation window before widespread abuse. |
| Exploit ScenarioDerived | An external attacker discovers a Piwigo gallery through internet scanning and identifies the API endpoint at /ws.php. Without authentication, the attacker crafts HTTP POST requests to pwg.history.search with parameters querying all visitor records, retrieving timestamped browsing logs including IP addresses, viewed images, session identifiers, and navigation patterns. In corporate environments, this exposes which employees accessed sensitive photo collections; in personal galleries, attackers harvest behavioral intelligence for social engineering or competitive research. Given the low attack complexity (CVSS AC:L) and network accessibility (AV:N), exploitation requires only basic web client tools like curl or browser developer consoles, making it accessible to low-skill attackers once the API method name becomes known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
Unauthenticated information disclosure in Piwigo photo gallery software (versions prior to 16.3.0) allows remote attackers to retrieve complete browsing history of all gallery visitors through exposed pwg.history.search API endpoint. The API method lacks mandatory admin-only access controls (CWE-862), enabling trivial privacy violation with CVSS 7.5 severity. EPSS exploitation probability and KEV status not available; no public exploit identified at time of analysis, though exploitation requires only basic HTTP requests given the zero-authentication requirement (CVSS vector PR:N).
RemediationAI
Upgrade immediately to Piwigo version 16.3.0 or later, which includes the vendor-released patch addressing the privilege management flaw. The fix implemented in commit d05c16561ce3692ca922199f8c8d7b1a45893f1c enforces admin_only access control on the pwg.history.search API method, preventing unauthenticated access. Download patched release from piwigo.org/release-16.3.0 and follow standard upgrade procedures documented in vendor migration guides. No effective workarounds exist short of disabling visitor history tracking entirely or implementing reverse proxy authentication rules to block /ws.php API access from untrusted networks. For environments unable to upgrade immediately, restrict network access to administrative interfaces via firewall rules permitting only trusted IP ranges. Post-upgrade, review server logs for suspicious pwg.history.search queries from unauthenticated sources to identify potential prior exploitation. Vendor advisory reference: https://github.com/Piwigo/Piwigo/security/advisories/GHSA-397m-gfhm-pmg2
Affected VersionsENISA
Affected Packages
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
Piwigo implements a web-based API for administrative functions, including pwg.history.search which queries visitor browsing history stored by the gallery application. The vulnerability stems from improper privilege management (CWE-862): the API endpoint registration failed to enforce the admin_only flag, bypassing Piwigo's role-based access control mechanism. As a result, the endpoint responds to anonymous requests without session validation or authentication tokens. The affected component is the core API routing layer in Piwigo's PHP codebase, specifically the method registration system that should enforce administrative privilege requirements for sensitive operations. The CPE identifier cpe:2.3:a:piwigo:piwigo targets the application vendor and product namespace, with version-specific scope detailed in affected products analysis.
Know when Piwigo 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Piwigo is an open source photo gallery application for the web. Prior to version 16.3.0, the pwg.history.search API method in Piwigo is registered without the admin_only option, allowing unauthenticated users to access the full browsing history of all gallery visitors. This issue has been patched in version 16.3.0.
Executive ViewAI
Piwigo photo gallery versions prior to 16.3.0 contain an unauthenticated information disclosure vulnerability that exposes complete browsing history for all gallery visitors through an unprotected API endpoint. This directly compromises visitor privacy and could enable tracking or profiling attacks without requiring authentication, affecting any organization using Piwigo for internal or external photo management.
Apply vendor patch. If immediate patching is not feasible, restrict network access to the pwg.history.search API endpoint using firewall or web application firewall rules to block unauthenticated requests; however, patching is strongly preferred to eliminate the root cause.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Directory traversal vulnerability in install.php in Piwigo before 2.4.7 allows remote attackers to read and delete arbit
Cross-site request forgery (CSRF) vulnerability in the LocalFiles Editor plugin in Piwigo before 2.4.7 allows remote att
SQL injection vulnerability in the administrative backend in Piwigo through 2.9.1 allows remote users to execute arbitra
Piwigo 13.6.0 is vulnerable to SQL Injection via in the "profile" function. Rated critical severity (CVSS 9.8), this vul
Piwigo 13.6.0 is vulnerable to SQL Injection via /admin/permalinks.php. Rated critical severity (CVSS 9.8), this vulnera
Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection. Rated critical severity (CVSS 9.8), this v
admin.php?page=account_billing in Piwigo 2.9.5 has XSS via the vat_number, billing_name, company, or billing_
admin.php?page=notification_by_mail in Piwigo 2.9.5 has XSS via the nbm_send_html_mail, nbm_send_mai
Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica
Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica
Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica
admin/configuration.php in Piwigo 2.9.2 has CSRF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
EUVD-2026-18870
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB