CVE-2024-48928 Piwigo's secret key can be brute forced

Low 2.7 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2024-48928?

CVE-2024-48928 is a low-severity vulnerability in Piwigo Piwigo, published on 24 Feb 2026.

Official description

Piwigo is an open source photo gallery application for the web. In versions on the 14.x branch, when installing, the secret_key configuration parameter is set to MD5(RAND()) in MySQL. However, RAND() only has 30 bits of randomness, making it feasible to brute-force the secret key. The CSRF token is constructed partially from the secret key, and this can be used to check if the brute force succeeded. Trying all possible values takes approximately one hour. The impact of this is limited. The auto login key uses the user's password on top of the secret key. The pwg token uses the user's session identifier on top of the secret key. It seems that values for get_ephemeral_key can be generated when one knows the secret key. Version 15.0.0 contains a fix for the issue.

Weakness: CWE-330

Which versions are affected by CVE-2024-48928?

It affects 1 product.

Products include Piwigo Piwigo.

How do I fix CVE-2024-48928?

No fix has been published for CVE-2024-48928 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-48928 being exploited?

There is no known exploitation of CVE-2024-48928 in the wild and no public exploit code.

All Piwigo Piwigo vulnerabilities

Sources

Also known as GHSA-hghg-37rg-7r42.

Is CVE-2024-48928 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free