CVE-2026-62262
Deferred Deferred - Pending Action

SQL Error-Based Injection in Piwigo Photo Gallery

Vulnerability report for CVE-2026-62262, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-29

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-29
Generated
2026-10-16
AI Q&A
2026-09-25
EPSS Evaluated
2026-10-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
piwigo piwigo to 17.0.0beta1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Piwigo allows unauthenticated users to exploit a flaw in the image rating feature. By sending a specially crafted request, an attacker can manipulate search parameters to inject raw SQL code into the database query. The system fails to properly validate the rating value, leading to potential data extraction or delays through error-based or blind SQL injection techniques.

Detection Guidance

Detecting this vulnerability requires checking if Piwigo is running a vulnerable version (17.0.0beta1 or earlier) and if the rating feature is enabled. Inspect server logs for unusual search URLs or database queries. No specific commands are provided in the context.

Impact Analysis

If you use Piwigo with the rating feature enabled, an attacker could access sensitive data stored in your database without authentication. They might steal user information, modify or delete data, or cause system disruptions through database delays. The high CVSS score indicates a severe risk of confidentiality and integrity breaches.

Compliance Impact

This vulnerability could lead to unauthorized access to personal data, violating GDPR and HIPAA requirements for data protection. GDPR mandates strict controls over personal data access, while HIPAA requires safeguards for protected health information. A breach could result in legal penalties, fines, and reputational damage due to non-compliance.

Mitigation Strategies

Disable the rating feature in Piwigo if enabled. Restrict unauthenticated guest access to sensitive functions. Update to a patched version once available. Monitor for unusual database queries or search patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-62262. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart