{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-3953","id":"CVE-2016-3953","title":"web2py remote code execution via hardcoded encryption key in session.connect function","description":"The sample web application in web2py before 2.14.2 might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded encryption key when calling the session.connect function.","descriptionLong":"The sample web application in web2py before 2.14.2 might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded encryption key when calling the session.connect function.","published":"2018-02-06T18:00:00.000Z","updated":"2026-10-20T10:47:36.568953645Z","reserved":"2016-04-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"web2py","purl":"pkg:pypi/web2py","ranges":["<2.14.2"],"fixed":["2.14.2"],"advisory":"GHSA-q2rq-qgcf-m22w"}],"cwes":["CWE-798"],"aliases":["GHSA-q2rq-qgcf-m22w","PYSEC-2026-570"],"references":[{"url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/","tags":["x_refsource_MISC","x_transferred","Exploit","Technical Description","Third Party Advisory","evidence"]},{"url":"https://github.com/web2py/web2py/blob/R-2.14.1/applications/examples/models/session.py","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://usn.ubuntu.com/4030-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3953","tags":["advisory"]},{"url":"https://github.com/web2py/web2py/issues/1205","tags":["web"]},{"url":"https://github.com/web2py/web2py/commit/9706d125b42481178d2b423de245f5d2faadbf40","tags":["web"]},{"url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957","tags":["web"]},{"url":"https://github.com/web2py/web2py","tags":["package"]},{"url":"https://usn.ubuntu.com/4030-1","tags":["web"]},{"url":"https://pypi.org/project/web2py","tags":["package"]},{"url":"https://github.com/advisories/GHSA-q2rq-qgcf-m22w","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0334,"epssPercentile":0.88899,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-3953","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3953","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-3953","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q2rq-qgcf-m22w","ok":true,"note":"GHSA-q2rq-qgcf-m22w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-3953","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}