CVE-2016-3954 · mitre
CVE-2016-3954
web2py before 2.14.2 allows remote attackers to obtain the session_cookie_key value via a direct request to examples/simple_examples/status. NOTE: this issue can be leveraged by remote attackers to execute arbitrary code using CVE-2016-3957.
Published 2018-02-06, last changed 2026-06-17. Weakness: CWE-200.
How to fix
Upgrade to a fixed version: web2py 2.14.2 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in web2py/web2py by 0820926b50, 32650f0cbf. Functions changed by the fix: pad, secure_dumps, secure_loads. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-02-06 | Published |
| 2022-05-14 | Package advisory GHSA-jr83-vr4j-mp6p |
| 2026-06-17 | Record last changed |
| 2026-07-06 | Package advisory PYSEC-2026-1062 |
| 2026-11-30 | EPSS when our history starts: 1.40% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-jr83-vr4j-mp6p | web2py (PyPI) | 2.14.2 |
| PYSEC-2026-1062 | web2py (PyPI) | 2.14.2 |
Also known as: GHSA-jr83-vr4j-mp6p, PYSEC-2026-1062
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-25198 | 2026-02-05 | 5.1 | same package: web2py (PyPI) |
| CVE-2023-22432 | 2023-03-06 | 6.1 | same package: web2py (PyPI) |
| CVE-2022-33146 | 2022-06-27 | 6.1 | same package: web2py (PyPI) |
| CVE-2016-3953 | 2018-02-06 | 9.8 | same package: web2py (PyPI) |
| CVE-2016-10321 | 2017-04-10 | 9.8 | same package: web2py (PyPI) |
| CVE-2016-4808 | 2017-01-11 | 8.8 | same package: web2py (PyPI) |
| CVE-2016-4807 | 2017-01-11 | 4.8 | same package: web2py (PyPI) |
| CVE-2026-128719 | 2026-11-18 | 9.8 | same weakness (CWE-200) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-3954, or call /api/v1/vulnerabilities/CVE-2016-3954. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.