Vulnerability record · CVE-2016-3957 · published 6 February 2018
CVE-2016-3957: Web2py deserialization of untrusted data vulnerability
WWeb2py · Web2py
The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key.
Description
The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ | ExploitTechnical DescriptionThird Party Advisory |
| https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200 | Third Party Advisory |
| https://usn.ubuntu.com/4030-1/ | |
| https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ | ExploitTechnical DescriptionThird Party Advisory |
| https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200 | Third Party Advisory |
| https://usn.ubuntu.com/4030-1/ |
Track CVE-2016-3957 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2016-3957), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.