CVE-2023-26876

HIGH LAB

Piwigo CVE-2023-26876 Gather Credentials via SQL Injection

Title source: metasploit
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2023-26876. PoCs published by incogbyte, rodnt, Rodolfo Tavares, Tempest Security, Henrique Arcoverde, including Metasploit module auxiliary/gather/piwigo_cve_2023_26876.

AI-analyzed exploit summary The repository contains functional exploit code for CVE-2023-26876, which targets Piwigo via SQL injection. The exploit is written in Ruby and appears to be a Metasploit module designed to gather credentials.

Description

SQL injection vulnerability found in Piwigo v.13.5.0 and before allows a remote attacker to execute arbitrary code via the filter_user_id parameter to the admin.php?page=history&filter_image_id=&filter_user_id endpoint.

Exploits (2)

github WORKING POC 4 stars
by incogbyte · pythonpoc
https://github.com/incogbyte/cves_exploits/tree/main/CVE-2023-26876

The repository contains functional exploit code for CVE-2023-26876, which targets Piwigo via SQL injection. The exploit is written in Ruby and appears to be a Metasploit module designed to gather credentials.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: Piwigo
No auth needed
Prerequisites: Metasploit framework
devstral-2 · analyzed Feb 27, 2026 Full analysis →
metasploit WORKING POC
by rodnt, Rodolfo Tavares, Tempest Security, Henrique Arcoverde · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/piwigo_cve_2023_26876.rb

This Metasploit module exploits an authenticated SQL injection vulnerability in Piwigo via the `filter_user_id` parameter to dump usernames and password hashes from the database.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: Piwigo 13.5.0
Auth required
Prerequisites: Valid Piwigo credentials · Access to the admin interface
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5

Scores

CVSS v3 8.8
EPSS 0.0973
EPSS Percentile 94.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull mysql:8.0.18

Details

CWE
CWE-89
Status published
Products (1)
piwigo/piwigo < 13.5.0
Published Apr 21, 2023
Tracked Since Feb 18, 2026