MEDIUM5.5
PYSEC-2026-1062
web2py exposure of sensitive information
Quick fix
PYSEC-2026-1062 — web2py: upgrade to the fixed version with the command below.
pip install --upgrade 'web2py>=2.14.2'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-3954[ADVISORY]
- https://github.com/web2py/web2py/commit/0820926b500a321060ef6a76ce89fd35a252f8b0[WEB]
- https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957[WEB]
- https://github.com/web2py/web2py[PACKAGE]
- https://usn.ubuntu.com/4030-1[WEB]
- https://pypi.org/project/web2py[PACKAGE]
- https://github.com/advisories/GHSA-jr83-vr4j-mp6p[ADVISORY]