{"id":"GHSA-q2rq-qgcf-m22w","summary":"web2py remote code execution via hardcoded encryption key in session.connect function","details":"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.","aliases":["CVE-2016-3953","PYSEC-2026-570"],"modified":"2026-06-29T12:27:01.657568910Z","published":"2022-05-14T00:57:47Z","database_specific":{"github_reviewed_at":"2023-08-03T22:44:35Z","nvd_published_at":"2018-02-06T18:29:00Z","cwe_ids":["CWE-798"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3953"},{"type":"WEB","url":"https://github.com/web2py/web2py/issues/1205"},{"type":"WEB","url":"https://github.com/web2py/web2py/commit/9706d125b42481178d2b423de245f5d2faadbf40"},{"type":"WEB","url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957"},{"type":"PACKAGE","url":"https://github.com/web2py/web2py"},{"type":"WEB","url":"https://github.com/web2py/web2py/blob/R-2.14.1/applications/examples/models/session.py"},{"type":"WEB","url":"https://usn.ubuntu.com/4030-1"}],"affected":[{"package":{"name":"web2py","ecosystem":"PyPI","purl":"pkg:pypi/web2py"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.2"}]}],"versions":["1.96.4","1.98.2","2.1.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q2rq-qgcf-m22w/GHSA-q2rq-qgcf-m22w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}