CVE-2023-45158
An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2023-45158- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2023-45158- Updated
- 2026-11-02
EUVDEUVD-2023-49465
0.0
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.
- Record
EUVD-2023-49465- CVSS
- 0.0 None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vx79-v9rq-vjp5
9.8
An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is...
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.
- Record
GHSA-vx79-v9rq-vjp5- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-45158
9.8
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.
- Record
UBUNTU-CVE-2023-45158- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2023-45158- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
web2pyUbuntu:16.04:LTS |
All versions, plus listed versions 1.99.7-12.12.3-12.12.3-1ubuntu0.1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | yifanzhg/CVE-2023-45158 | 2023-11-04 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-45158 is a critical vulnerability (CVSS 9.8) in Web2py, published October 16, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.41%, the 91st percentile. No source names a fixed version.
References
web2py.com
web2py.com/init/default/download
github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3
jvn.jp/en/jp/JVN80476432
nvd.nist.gov/vuln/detail/CVE-2023-45158
github.com/advisories/GHSA-vx79-v9rq-vjp5
github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45158.json
ubuntu.com/security/CVE-2023-45158
cve.org/CVERecord?id=CVE-2023-45158