Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-62262 – Unauthenticated SQL Injection – Piwigo prior to 17.0.0beta1

Be the first to know when new zero-days emerge:

Summary

CVE-2026-62262 is an unauthenticated SQL injection vulnerability in Piwigo, the open-source web photo gallery application. The flaw resides in the public "filtered search" web service and allows an anonymous guest to extract database contents or induce time-based delays when the photo rating feature is enabled. The issue carries a CVSS v3.1 base score of 9.1 (Critical) because it requires no authentication or user interaction.

Technical details

  • Root cause: When building the SQL search rule for a rating filter, include/functions_search.inc.php applies intval() only to the lower bound of the rating range comparison; the upper bound is concatenated directly from the raw, attacker-supplied value, bypassing sanitization.
  • Trigger conditions: The Piwigo instance must have the rating feature enabled and allow guest access to web services (ACCESS_FREE permission on web service calls), which is a common/default configuration for public galleries.
  • Attack vector: An unauthenticated user sends a crafted ratings[] value to the pwg.images.filteredSearch.create web service method; the unvalidated value is stored in the search rule set (include/ws_functions/pwg.images.php) and later executed as part of a SQL query when the resulting search URL is opened.
  • Impact: Error-based and blind/time-based SQL injection enabling extraction of database contents (e.g., via EXTRACTVALUE-style payloads) and database-dependent delays. The vulnerability affects confidentiality and integrity; availability impact is not scored.

Affected software

  • Piwigo versions 17.0.0beta1 and earlier (all prior releases), when the rating feature is enabled and guest web service access is permitted.

Severity

  • CVSS v3.1 Base Score: 9.1 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Mitigation and recommended actions

  • Immediate: No fixed Piwigo release was publicly confirmed at the time of writing; monitor official Piwigo release channels and apply a patched version as soon as one is published.
  • Workarounds:
    • Disable the photo rating feature if it is not required, which removes the vulnerable code path.
    • Restrict or disable guest (unauthenticated) access to Piwigo’s web services (ACCESS_FREE) where public rating/search functionality is not needed.
    • Apply least-privilege database permissions to the account Piwigo uses, limiting the impact of any successful injection.
    • Deploy a web application firewall rule to inspect and block malicious ratings[] parameter values sent to the pwg.images.filteredSearch.create endpoint.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge