Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42324— Piwigo: Second-Order SQL Injection

Quick assessment

Affected
Piwigo Piwigo
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Piwigo 是一款功能完整的开源 Web 相册应用程序。在 16.4.0 版本之前,admin/element_set_ranks.php 在未强制执行现有排序字段白名单的情况下,存储了由管理员控制的 image_order[] 值。随后,admin/batch_manager_global.php、admin/batch_manager_unit.php、include/section_init.inc.php 和 include/ws_functions/pwg.categories.php 等脚本会将存储的

CVSS 7.2 · High EPSS 0.92% · P59

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
Piwigo Piwigo < 16.4.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42324

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Piwigo: Second-Order SQL Injection
Source: CVE Program / CVE List V5
Vulnerability Description
Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/element_set_ranks.php stores administrator-controlled image_order[] values without enforcing the existing sort-field whitelist. The stored album image_order expression is later concatenated into ORDER BY clauses by admin/batch_manager_global.php, admin/batch_manager_unit.php, include/section_init.inc.php, and include/ws_functions/pwg.categories.php. When at least one album contains at least one photo, an authenticated administrator can store a crafted expression and trigger it in a later album or Batch Manager query to disclose, modify, or disrupt database data. This issue is fixed in version 16.4.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Piwigo Piwigo < 16.4.0 -

II. Public POCs for CVE-2026-42324

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42324

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-42324 (2)

Vendor Advisories for CVE-2026-42324 (1)

Other References for CVE-2026-42324 (1)

Same Patch Batch · Piwigo · 2026-09-25 · 6 CVEs total

CVE-2026-42322 9.1 CRITICAL Piwigo: Authenticated RCE via File Upload in Logo Upload Feature
CVE-2026-62262 9.1 CRITICAL Piwigo: Unauthenticated SQL injection in `pwg.images.filteredSearch.create`
CVE-2026-44642 8.1 HIGH Piwigo: SQL injection in upgrade authentication allows unauthenticated upgrade authorizati
CVE-2026-42323 7.2 HIGH Piwigo: SQL Injection in Batch Manager
CVE-2026-85750 7.2 HIGH Piwigo arbitrary file read and remote code execution via insecure image processing

IV. Related Vulnerabilities

V. Comments for CVE-2026-42324

No comments yet


Leave a comment