← Vulnerability feed

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.

9.8 CVSS 3.0 Critical EPSS 4.9% · top 8.2% CWE-502 · Deserialization of untrusted data
9.8CVSS 3.0 base score, v2 7.5
4.9%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-45158Web2py os command injection vulnerabilityAn OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not t…EPSS 3.7%9.8CVE-2016-3953Web2py hard-coded credentials vulnerabilityThe sample web application in web2py before 2.14.2 might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded en…EPSS 3.3%9.8CVE-2016-10321Web2py vulnerabilityweb2py before 2.14.6 does not properly check if a host is denied before verifying passwords, allowing a remote attacker to perform brute-force attack…EPSS 2.6%8.8CVE-2016-4808Web2py cross-site request forgery vulnerabilityWeb2py versions 2.14.5 and below was affected by CSRF (Cross Site Request Forgery) vulnerability, which allows an attacker to trick a logged in user …EPSS 1.8%7.8CVE-2016-3952Web2py vulnerabilityweb2py before 2.14.1, when using the standalone version, allows remote attackers to obtain environment variable values via a direct request to exampl…EPSS 1.1%7.5CVE-2016-4806Web2py information exposure vulnerabilityWeb2py versions 2.14.5 and below was affected by Local File Inclusion vulnerability, which allows a malicious intended user to read/access web server…EPSS 10%6.1CVE-2023-22432Web2py open redirect vulnerabilityOpen redirect vulnerability exists in web2py versions prior to 2.23.1. When using the tool, a web2py user may be redirected to an arbitrary website b…EPSS 2.4%6.1CVE-2022-33146Web2py open redirect vulnerabilityOpen redirect vulnerability in web2py versions prior to 2.22.5 allows a remote attacker to redirect a user to an arbitrary web site and conduct a phi…EPSS 1.6%

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.