{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42322 exists.","fix":"No fix has been published for CVE-2026-42322 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-42322 is a critical vulnerability in Piwigo, published on 25 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42322 and fix it if it is affected.\n\nWhat it is: CVE-2026-42322 is a critical vulnerability in Piwigo, published on 25 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42322 exists.\n\nAffected product: Piwigo. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42322/ (Markdown: https://insights.sbomify.com/CVE-2026-42322/index.md)","id":"CVE-2026-42322","markdown":"https://insights.sbomify.com/CVE-2026-42322/index.md","name":"CVE-2026-42322","record":{"aliases":["GHSA-7w97-5g4p-xqvv"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Piwigo photo gallery","requires_auth":"high_privilege","summary":"An authenticated administrator can upload malicious files with executable extensions to achieve remote code execution in Piwigo.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-02","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-02T20:36:29Z","kind":"github_poc","ref":"https://github.com/LipeOzyy/CVE-2026-42322","stars":0,"title":null}],"tier":"weaponised"},"has_fix":false,"headline":"Piwigo: Authenticated RCE via File Upload in Logo Upload Feature","id":"CVE-2026-42322","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Piwigo: SQL Injection in Batch Manager","id":"CVE-2026-42323"},"packages":[],"prev":{"headline":"GLPI has stored XSS in asset locks","id":"CVE-2026-42321"},"products":["Piwigo"],"published":"2026-09-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-28","vendors":["Piwigo"]},"summary":"An authenticated administrator can upload malicious files with executable extensions to achieve remote code execution in Piwigo.","url":"https://insights.sbomify.com/CVE-2026-42322/"}