### [CVE-2016-3957](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3957) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ #### Github - https://github.com/sj/web2py-e94946d-CVE-2016-3957