Vulnerabilities/

CVE-2026-62262

CVE

CVE-2026-62262

Piwigo: Unauthenticated SQL injection in `pwg.images.filteredSearch.create`

Severity

Critical

Base CVSS

9.1

Fixed in

aede490a0b3a6c246f1f4689ca86c8fee377a7ae

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/wsfunctions/pwg.images.php stores the unvalidated value in the search rules, and include/functionssearch.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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.1

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Endor Labs

Required action

Known ransomware campaign use

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62262.json, https://github.com/Piwigo/Piwigo/security/advisories/GHSA-hq29-8hhx-5jwc, https://nvd.nist.gov/vuln/detail/CVE-2026-62262, https://github.com/Piwigo/Piwigo/commit/9755d88edf38b94bafdedb0b3aba7304a94e2e5c, https://github.com/Piwigo/Piwigo/commit/aede490a0b3a6c246f1f4689ca86c8fee377a7ae

Basic information

Base CVSS

9.1

EPSS probability

0.0

EPSS percentile

0.5551

Introduced version

0

Fix available

aede490a0b3a6c246f1f4689ca86c8fee377a7ae

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.