PyPA Advisory Database
PYSEC-2026-1062
web2py exposure of sensitive information
Details
web2py before 2.14.2 allows remote attackers to obtain the session_cookie_key value via a direct request to examples/simple_examples/status. NOTE: this issue can be leveraged by remote attackers to execute arbitrary code using CVE-2016-3957.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | web2py | All versions before 2.14.2 (fixed in 2.14.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-3954
- https://github.com/web2py/web2py/commit/0820926b500a321060ef6a76ce89fd35a252f8b0
- https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957
- https://github.com/web2py/web2py
- https://usn.ubuntu.com/4030-1
- https://pypi.org/project/web2py
- https://github.com/advisories/GHSA-jr83-vr4j-mp6p