# CVE-2023-45158: An OS command injection vulnerability exists in web2py 2.24.1 and earlier.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 4.41%, higher than 91% of CVEs (2026-12-01)
- Published: 2023-10-16T07:53:52.134Z
- Modified: 2026-06-17T06:28:19.900Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: jpcert

## Description

An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not the default configuration), a crafted web request may execute an arbitrary OS command on the web server using the product.

(As written by CVE List.)

## Affected

- web2py web2py: 2.24.1 and earlier; up to 2.24.1

## References

- <http://web2py.com/> (product)
- <http://web2py.com/init/default/download> (product)
- <https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3> (patch)
- <https://jvn.jp/en/jp/JVN80476432/> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-45158](https://www.cve.org/CVERecord?id=CVE-2023-45158), CVE Terms of Use, modified 2024-09-18
- NVD: [CVE-2023-45158](https://nvd.nist.gov/vuln/detail/CVE-2023-45158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45158 · Whole record: https://cve.day/CVE-2023-45158.json · Rebuilt by cve.day 2026-11-25T22:58:28.793Z
