# CVE-2022-46158: Potential Information exposure in the upload directory in PrestaShop

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2022-12-08T16:11:54.000Z
- Modified: 2026-06-17T05:11:19.667Z
- Also known as: GHSA-9qgp-9wwc-v29r
- Weaknesses: CWE-200, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

PrestaShop is an open-source e-commerce solution. Versions prior to 1.7.8.8 did not properly restrict host filesystem access for users. Users may have been able to view the contents of the upload directory without appropriate permissions. This issue has been addressed and users are advised to upgrade to version 1.7.8.8. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- PrestaShop PrestaShop: < 1.7.8.8; before 1.7.8.8
- prestashop/prestashop (Packagist): before 1.7.8.8

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-9qgp-9wwc-v29r> (third-party-advisory, web)
- <https://github.com/PrestaShop/PrestaShop/commit/8684d429fb7c3bb51efb098e8b92a1fd2958f8cf> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46158> (advisory)
- <https://github.com/PrestaShop/PrestaShop> (package)
- <https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.8> (web)

## Sources

- CVE List: [CVE-2022-46158](https://www.cve.org/CVERecord?id=CVE-2022-46158), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-9qgp-9wwc-v29r](https://github.com/advisories/GHSA-9qgp-9wwc-v29r), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-46158](https://nvd.nist.gov/vuln/detail/CVE-2022-46158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46158 · Whole record: https://cve.day/CVE-2022-46158.json · Rebuilt by cve.day 2026-11-25T22:58:17.329Z
