Description
Piwigo is a full featured open source photo gallery application for the web. In 17.0.0beta1 and earlier, when rating is enabled, an unauthenticated guest can call pwg.images.filteredSearch.create with a crafted ratings[] value and then open the returned search URL. include/ws_functions/pwg.images.php stores the unvalidated value in the search rules, and include/functions_search.inc.php integer-casts only the lower rating bound while concatenating the raw value as the SQL upper bound. This allows error-based or blind extraction of database information and database-dependent time delays through the public search flow. No fixed version is available as of this review.
Published: 2026-09-25
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Unauthenticated SQL injection that allows attackers to extract database information via the public search flow
Action: Apply Workaround
AI Analysis

Impact

An unauthenticated guest can invoke the pwg.images.filteredSearch.create endpoint with a crafted ratings[] value. The application stores the raw value in the search rules and later concatenates it as the SQL upper bound after only casting the lower bound to an integer. This flaw permits error‑based or blind SQL injection, enabling attackers to exfiltrate database data or create database‑dependent time delays. The weakness is a failure to properly validate and sanitize user input, identified as CWE‑89.

Affected Systems

Piwigo’s Piwigo photo‑gallery application, versions 17.0.0beta1 and all earlier releases. No fixed version has been published yet.

Risk and Exploitability

The CVSS score of 9.1 indicates high severity with full attacker impact. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, the attack vector is unauthenticated access to the public search feature; an attacker can trigger the flaw by crafting a request to filteredSearch.create and then visiting the resulting search URL to extract data. Without a vendor patch, exploitation is possible on any publicly reachable instance.

Generated by OpenCVE AI on September 25, 2026 at 18:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict or disable the rating feature if not required, thereby removing the vulnerable endpoint from public use.
  • Apply the official code changes from the referenced commits (9755d88e and aede490a) to add proper input validation for the ratings[] parameter or replace the vulnerable code with a secure alternative.
  • If a patch is unavailable, block access to the pwg.images.filteredSearch.create endpoint for unauthenticated users or enforce authentication before allowing access to the search functionality.

Generated by OpenCVE AI on September 25, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Piwigo
Piwigo piwigo
Vendors & Products Piwigo
Piwigo piwigo

Fri, 25 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description Piwigo is a full featured open source photo gallery application for the web. In 17.0.0beta1 and earlier, when rating is enabled, an unauthenticated guest can call pwg.images.filteredSearch.create with a crafted ratings[] value and then open the returned search URL. include/ws_functions/pwg.images.php stores the unvalidated value in the search rules, and include/functions_search.inc.php integer-casts only the lower rating bound while concatenating the raw value as the SQL upper bound. This allows error-based or blind extraction of database information and database-dependent time delays through the public search flow. No fixed version is available as of this review.
Title Piwigo: Unauthenticated SQL injection in `pwg.images.filteredSearch.create`
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-29T19:19:31.528Z

Reserved: 2026-07-13T17:09:57.574Z

Link: CVE-2026-62262

cve-icon Vulnrichment

Updated: 2026-09-29T19:19:25.899Z

cve-icon NVD

Status : Deferred

Published: 2026-09-25T16:17:26.750

Modified: 2026-09-29T20:17:21.483

Link: CVE-2026-62262

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T12:15:04Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')