KeygraphLabs · CVE MCP

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.

CVSS
5.5
medium, from NVD
EPSS
1.39%
percentile 73.2%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-06Published
2022-05-14Package advisory GHSA-jr83-vr4j-mp6p
2026-06-17Record last changed
2026-07-06Package advisory PYSEC-2026-1062
2026-11-30EPSS when our history starts: 1.40%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-jr83-vr4j-mp6pweb2py (PyPI)2.14.2
PYSEC-2026-1062web2py (PyPI)2.14.2

Also known as: GHSA-jr83-vr4j-mp6p, PYSEC-2026-1062

Related

CVEPublishedCVSSSummary
CVE-2026-251982026-02-055.1same package: web2py (PyPI)
CVE-2023-224322023-03-066.1same package: web2py (PyPI)
CVE-2022-331462022-06-276.1same package: web2py (PyPI)
CVE-2016-39532018-02-069.8same package: web2py (PyPI)
CVE-2016-103212017-04-109.8same package: web2py (PyPI)
CVE-2016-48082017-01-118.8same package: web2py (PyPI)
CVE-2016-48072017-01-114.8same package: web2py (PyPI)
CVE-2026-1287192026-11-189.8same 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.

NVD · CVE.org