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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42322— Piwigo: Authenticated RCE via File Upload in Logo Upload Feature

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 之前,文件 在验证上传的 Logo 内容时仅检查 MIME 类型,但在构造存储文件名时却重复使用了攻击者可控制的扩展名(来自 )。已认证的管理员可以上传最终扩展名为服务器可执行格式的图像内容,导致该文件被放置在 Web 可访问的 Logo 目录中。如果 Web 服务器对该扩展名进行处理,则在请求该文件时将执行其内容。此漏洞可能导致任意命令执行、数据泄露、数据篡改、持久化驻留以及服务中断。该漏洞已在版本 16.4.0 中修复。

CVSS 9.1 · Critical EPSS 0.53% · P42

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-42322

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: Authenticated RCE via File Upload in Logo Upload Feature
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/themes_standard_pages.php validates uploaded logo content by MIME type but reuses the attacker-controlled extension from std_pgs_logo when constructing the stored filename. An authenticated administrator can upload image content with a server-executable final extension, causing the file to be placed in the web-accessible logo directory and executed when requested if the web server handles that extension. This can permit arbitrary command execution, data disclosure, modification, persistence, and service disruption. This vulnerability is fixed in 16.4.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
危险类型文件的不加限制上传
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-42322

# 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-42322

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

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

Vendor Advisories for CVE-2026-42322 (1)

Other References for CVE-2026-42322 (1)

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

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-42324 7.2 HIGH Piwigo: Second-Order SQL Injection
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-42322

No comments yet


Leave a comment