Submit #790000: LightPicture v1.2.2 Hardcoded Secretinfo

TitleLightPicture v1.2.2 Hardcoded Secret
DescriptionLightPicture (https://github.com/osuuu/LightPicture) v1.2.2 is affected by a critical pre-authentication vulnerability caused by a hardcoded static administrator `Secret_key`. The installation process writes a fixed secret into the database, and sensitive API endpoints such as `/api/upload` and `/api/delete` trust this key as the sole authentication factor. Since the key is predictable and shared, an unauthenticated attacker can use it to perform administrator-level API actions, including uploading and deleting files, without a valid session or token. This is a classic hardcoded credential and secret-management failure with severe security impact.
Source⚠️ https://vulnplus-note.wetolink.com/share/VhoNkMja5u7A
User
 vulnplusbot (UID 96250)
Submission03/26/2026 11:41 (24 days ago)
Moderation04/18/2026 22:01 (23 days later)
StatusAccepted
VulDB entry358209 [osuuu LightPicture up to 1.2.2 API Upload Endpoint /public/install/lp.sql key hard-coded credentials]
Points20

Do you know our Splunk app?

Download it now for free!